Skip to contentSkip to conversation

dt-bindings: mfd: google,cros-ec: Add missing properties

PATCH Applied Krzysztof Kozlowski 2 participants 2 messages Sep 3, 2020 – Sep 14, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: mfd: google,cros-ec: Add missing properties

Add common properties appearing in DTSes (controller-data, wakeup-source) to partially fix dtbs_check warnings like:

arch/arm/boot/dts/exynos5250-snow.dt.yaml: embedded-controller@1e:
'keyboard-controller', 'wakeup-source' do not match any of the regexes: 'pinctrl-[0-9]+'

arch/arm/boot/dts/exynos5800-peach-pi.dt.yaml: cros-ec@0:
'controller-data', 'i2c-tunnel', 'keyboard-controller' do not match any of the regexes: 'pinctrl-[0-9]+'

---

Changes since v1:
1. Add properties instead of using unevaluated

---
 Documentation/devicetree/bindings/mfd/google,cros-ec.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/mfd/google,cros-ec.yaml +8 -0
index 6a7279a85ec1..f49c0d5d31ad 100644
@@ -30,6 +30,11 @@ properties:
           For implementations of the EC is connected through RPMSG.
         const: google,cros-ec-rpmsg
 
+  controller-data:
+    description:
+      SPI controller data, see bindings/spi/spi-samsung.txt
+    type: object
+
   google,cros-ec-spi-pre-delay:
     description:
       This property specifies the delay in usecs between the
@@ -63,6 +68,9 @@ properties:
   interrupts:
     maxItems: 1
 
+  wakeup-source:
+    description: Button can wake-up the system.
+
 required:
   - compatible
 
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 11 lines · Krzysztof Kozlowski

Add common properties appearing in DTSes (controller-data, wakeup-source) to partially fix dtbs_check warnings like:

arch/arm/boot/dts/exynos5250-snow.dt.yaml: embedded-controller@1e:
'keyboard-controller', 'wakeup-source' do not match any of the regexes: 'pinctrl-[0-9]+'

arch/arm/boot/dts/exynos5800-peach-pi.dt.yaml: cros-ec@0:
'controller-data', 'i2c-tunnel', 'keyboard-controller' do not match any of the regexes: 'pinctrl-[0-9]+'

Quoted 8 lines

---

Changes since v1:
1. Add properties instead of using unevaluated

---
 Documentation/devicetree/bindings/mfd/google,cros-ec.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

Applied, thanks!