dt-bindings: rtc: isl12026: convert to YAML schema
Subsystems (2)
PATCH v3 1/1 dt-bindings: rtc: isl12026: convert to YAML schema
Convert the ISL12026 RTC binding from text format to YAML schema. Remove the legacy text binding.
The new schema enables dtbs_check validation.
---
Changes in v3:
- Removed unsupported select section
Changes in v2:
- Fixed dt_binding_check warnings
- Improved example formatting
--- .../devicetree/bindings/rtc/isil,isl12026.txt | 28 --------- .../bindings/rtc/isil,isl12026.yaml | 59 +++++++++++++++++++ 2 files changed, 59 insertions(+), 28 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/isil,isl12026.txt create mode 100644 Documentation/devicetree/bindings/rtc/isil,isl12026.yaml
Documentation/devicetree/bindings/rtc/isil,isl12026.txt deleted +0 -28
@@ -1,28 +0,0 @@ -ISL12026 I2C RTC/EEPROM - -ISL12026 is an I2C RTC/EEPROM combination device. The RTC and control -registers respond at bus address 0x6f, and the EEPROM array responds -at bus address 0x57. The canonical "reg" value will be for the RTC portion. - -Required properties supported by the device: - - - "compatible": must be "isil,isl12026" - - "reg": I2C bus address of the device (always 0x6f) - -Optional properties: - - - "isil,pwr-bsw": If present PWR.BSW bit must be set to the specified - value for proper operation. - - - "isil,pwr-sbib": If present PWR.SBIB bit must be set to the specified - value for proper operation. - - -Example: - - rtc@6f { - compatible = "isil,isl12026"; - reg = <0x6f>; - isil,pwr-bsw = <0>; - isil,pwr-sbib = <1>; - }
Documentation/devicetree/bindings/rtc/isil,isl12026.yaml new file +59 -0
59 lines not on this page · raw message
Signature · 1 line
2.34.1
Quoted 8 lines · Piyush Patle
Convert the ISL12026 RTC binding from text format to YAML schema. Remove the legacy text binding.
The new schema enables
dtbs_checkvalidation.Signed-off-by Piyush Patle <[email protected]>---
Quoted 8 lines
Changes in v3:
- Removed unsupported select sectionChanges in v2:
- Fixeddt_binding_checkwarnings
- Improved example formattingSigned-off-by Piyush Patle <[email protected]>
Duplicate signature. Please run scripts/checkpatch.pl on the patches and fix reported warnings. After that, run also 'scripts/checkpatch.pl --strict' on the patches and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear.
Rest is fine and duplicated SoB might be just ignored due to cut separator.
Best regards,
Krzysztof
Quoted 6 lines · Piyush Patle
Convert the ISL12026 RTC binding from text format to YAML schema. Remove the legacy text binding.
The new schema enables
dtbs_checkvalidation.
Applied, thanks!
[1/1] dt-bindings: rtc: isl12026: convert to YAML schema
https://git.kernel.org/abelloni/c/5ff89ef425d1
Best regards,
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com