Message ID | 1483520271-3838-2-git-send-email-hongtao.jia@nxp.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Zhang Rui |
Headers | show |
On Wed, 2017-01-04 at 16:57 +0800, Jia Hongtao wrote: > For different types of SoC the sensor id and endianness may vary. > "#thermal-sensor-cells" is used to provide sensor id information. > "little-endian" property is to tell the endianness of TMU. > > Signed-off-by: Jia Hongtao <hongtao.jia@nxp.com> > Acked-by: Rob Herring <robh@kernel.org> > --- > Documentation/devicetree/bindings/thermal/qoriq-thermal.txt | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt > b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt > index 66223d5..20ca4ef 100644 > --- a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt > +++ b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt > @@ -17,6 +17,12 @@ Required properties: > calibration data, as specified by the SoC reference manual. > The first cell of each pair is the value to be written to TTCFGR, > and the second is the value to be written to TSCFGR. > +- #thermal-sensor-cells : Must be 1. The sensor specifier is the monitoring > + site ID, and represents the "n" in TRITSRn and TRATSRn. I assume the driver will continue to work with existing device trees where this information is absent? If so, ACK for the whole series. -Scott -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogU2NvdHQgV29vZCBbbWFp bHRvOm9zc0BidXNlcnJvci5uZXRdDQo+IFNlbnQ6IFdlZG5lc2RheSwgSmFudWFyeSAwNCwgMjAx NyA2OjM4IFBNDQo+IFRvOiBUcm95IEppYSA8aG9uZ3Rhby5qaWFAbnhwLmNvbT47IHJ1aS56aGFu Z0BpbnRlbC5jb207IGVkdWJlenZhbEBnbWFpbC5jb207DQo+IFkuVC4gVGFuZyA8eXVhbnRpYW4u dGFuZ0BueHAuY29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yaXZl ciB3b3JrcyBmb3IgYWxsIGV4aXN0aW5nIGRldmljZSB0cmVlcy4NCg0KVGhhbmtzIGZvciB0aGUg QUNLLg0KDQo+IA0KPiAtU2NvdHQNCg0K -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
U2VlbXMgbGlrZSBUcm95J3MgZW1haWwgY2xpZW50IGhhcyBpc3N1ZXMgd2hpY2ggY2F1c2VzIGhp cyByZXBseSBpcyB1bnJlYWRhYmxlIGluIHBhdGNod29yay4NClBsZWFzZSBpZ25vcmUgaXQgaW4g cGF0Y2h3b3JrLiANCg0KUmVnYXJkcywNCll1YW50aWFuDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNz YWdlLS0tLS0NCj4gRnJvbTogVHJveSBKaWENCj4gU2VudDogVGh1cnNkYXksIEphbnVhcnkgMDUs IDIwMTcgMTA6MjkgQU0NCj4gVG86IFNjb3R0IFdvb2QgPG9zc0BidXNlcnJvci5uZXQ+OyBydWku emhhbmdAaW50ZWwuY29tOw0KPiBlZHViZXp2YWxAZ21haWwuY29tOyBZLlQuIFRhbmcgPHl1YW50 aWFuLnRhbmdAbnhwLmNvbT47DQo+IHJvYmgrZHRAa2VybmVsLm9yZw0KPiBDYzogbGludXgtcG1A dmdlci5rZXJuZWwub3JnOyBkZXZpY2V0cmVlQHZnZXIua2VybmVsLm9yZzsgbGludXgtDQo+IGtl cm5lbEB2Z2VyLmtlcm5lbC5vcmcNCj4gU3ViamVjdDogUkU6IFtQQVRDSCAxLzNdIGR0LWJpbmRp bmdzOiBVcGRhdGUgUW9ySVEgVE1VIHRoZXJtYWwgYmluZGluZ3MNCj4gDQo+IA0KPiANCj4gPiAt LS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiA+IEZyb206IFNjb3R0IFdvb2QgW21haWx0bzpv c3NAYnVzZXJyb3IubmV0XQ0KPiA+IFNlbnQ6IFdlZG5lc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DQo+ID4gPiArCXNpdGUgSUQsIGFuZCByZXByZXNlbnRzIHRoZSAibiIgaW4gVFJJ VFNSbiBhbmQgVFJBVFNSbi4NCj4gPg0KPiA+IEkgYXNzdW1lIHRoZSBkcml2ZXIgd2lsbCBjb250 aW51ZSB0byB3b3JrIHdpdGggZXhpc3RpbmcgZGV2aWNlIHRyZWVzDQo+ID4gd2hlcmUgdGhpcyBp bmZvcm1hdGlvbiBpcyBhYnNlbnQ/IMKgSWYgc28sIEFDSyBmb3IgdGhlIHdob2xlIHNlcmllcy4N Cj4gDQo+IFllcy4gVGhlIGRyaXZlciB3b3JrcyBmb3IgYWxsIGV4aXN0aW5nIGRldmljZSB0cmVl cy4NCj4gDQo+IFRoYW5rcyBmb3IgdGhlIEFDSy4NCj4gDQo+ID4NCj4gPiAtU2NvdHQNCg0K -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt index 66223d5..20ca4ef 100644 --- a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt @@ -17,6 +17,12 @@ Required properties: calibration data, as specified by the SoC reference manual. The first cell of each pair is the value to be written to TTCFGR, and the second is the value to be written to TSCFGR. +- #thermal-sensor-cells : Must be 1. The sensor specifier is the monitoring + site ID, and represents the "n" in TRITSRn and TRATSRn. + +Optional property: +- little-endian : If present, the TMU registers are little endian. If absent, + the default is big endian. Example: @@ -60,4 +66,5 @@ tmu@f0000 { 0x00030000 0x00000012 0x00030001 0x0000001d>; + #thermal-sensor-cells = <1>; };