From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMxa2-0004UC-Vb for barebox@lists.infradead.org; Wed, 14 Nov 2018 15:59:52 +0000 Received: by mail-wr1-x442.google.com with SMTP id r10so335488wrs.10 for ; Wed, 14 Nov 2018 07:59:39 -0800 (PST) MIME-Version: 1.0 References: <20181114085233.5000-1-s.hauer@pengutronix.de> In-Reply-To: <20181114085233.5000-1-s.hauer@pengutronix.de> From: Andrey Smirnov Date: Wed, 14 Nov 2018 07:59:25 -0800 Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] of: Add .of suffix to device names from devicetree To: Sascha Hauer Cc: Barebox List T24gV2VkLCBOb3YgMTQsIDIwMTggYXQgMTI6NTIgQU0gU2FzY2hhIEhhdWVyIDxzLmhhdWVyQHBl bmd1dHJvbml4LmRlPiB3cm90ZToKPgo+IFByZXZpb3VzIGltcGxlbWVudGF0aW9uIHVzZWQgdG8g YWRkIGEgbnVtYmVyIHRvIHRoZSBkZXZpY2UgbmFtZXMKPiBmb3IgZGV2aWNlcyByZWdpc3RlcmVk IGZyb20gdGhlIGRldmljZSB0cmVlIHdoaWNoIGRpZCBub3QgaGF2ZSBhICdyZWcnCj4gcHJvcGVy dHksIHRodXMgYSBkZXZpY2Ugbm9kZSBuYW1lZCAic3RhdGUiIHJlc3VsdGVkIGluIGEgZGV2aWNl IG5hbWUKPiAic3RhdGUuPHg+Ii4gQ3VycmVudCBpbXBsZW1lbnRhdGlvbiBza2lwcyB0aGF0IG51 bWJlciBhbmQgd2UgZ2V0IGEKPiBkZXZpY2UgbmFtZWQgInN0YXRlIi4gVGhpcyBjb25mb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DA2NDQKPiAtLS0gYS9kcml2ZXJzL29mL3BsYXRmb3JtLmMKPiArKysg Yi9kcml2ZXJzL29mL3BsYXRmb3JtLmMKPiBAQCAtNjEsMTQgKzYxLDE0IEBAIHN0YXRpYyB2b2lk IG9mX2RldmljZV9tYWtlX2J1c19pZChzdHJ1Y3QgZGV2aWNlX2QgKmRldikKPiAgICAgICAgICAg ICAgICAgICovCj4gICAgICAgICAgICAgICAgIHJlZyA9IG9mX2dldF9wcm9wZXJ0eShub2RlLCAi cmVnIiwgTlVMTCk7Cj4gICAgICAgICAgICAgICAgIGlmIChyZWcgJiYgKGFkZHIgPSBvZl90cmFu c2xhdGVfYWRkcmVzcyhub2RlLCByZWcpKSAhPSBPRl9CQURfQUREUikgewo+IC0gICAgICAgICAg ICAgICAgICAgICAgIGRldl9zZXRfbmFtZShkZXYsIGRldi0+bmFtZSA/ICIlbGx4LiVzOiVzIiA6 ICIlbGx4LiVzIiwKPiArICAgICAgICAgICAgICAgICAgICAgICBkZXZfc2V0X25hbWUoZGV2LCBk ZXYtPm5hbWUgPyAiJWxseC4lczolcyIgOiAiJWxseC4lcy5vZiIsCj4gICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICh1bnNpZ25lZCBsb25nIGxvbmcpYWRkciwgbm9kZS0+bmFt ZSwKPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGV2LT5uYW1lKTsKPiAg ICAgICAgICAgICAgICAgICAgICAgICByZXR1cm47Cj4gICAgICAgICAgICAgICAgIH0KPgo+ICAg ICAgICAgICAgICAgICAvKiBmb3JtYXQgYXJndW1lbnRzIG9ubHkgdXNlZCBpZiBkZXZfbmFtZSgp IHJlc29sdmVzIHRvIE5VTEwgKi8KPiAtICAgICAgICAgICAgICAgZGV2X3NldF9uYW1lKGRldiwg ZGV2LT5uYW1lID8gIiVzOiVzIiA6ICIlcyIsCj4gKyAgICAgICAgICAgICAgIGRldl9zZXRfbmFt ZShkZXYsIGRldi0+bmFtZSA/ICIlczolcyIgOiAiJXMub2YiLAo+ICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAga2Jhc2VuYW1lKG5vZGUtPmZ1bGxfbmFtZSksIGRldi0+bmFtZSk7Cj4gICAg ICAgICAgICAgICAgIG5vZGUgPSBub2RlLT5wYXJlbnQ7Cj4gICAgICAgICB9Cj4gLS0KPiAyLjE5 LjEKPgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KYmFy ZWJveCBtYWlsaW5nIGxpc3QKYmFyZWJveEBsaXN0cy5pbmZyYWRlYWQub3JnCmh0dHA6Ly9saXN0 cy5pbmZyYWRlYWQub3JnL21haWxtYW4vbGlzdGluZm8vYmFyZWJveAo=