linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: mfd: google,cros-ec: Add missing properties
@ 2020-09-03 19:14 Krzysztof Kozlowski
  2020-09-14 20:49 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2020-09-03 19:14 UTC (permalink / raw)
  To: Lee Jones, Rob Herring, Benson Leung, Enric Balletbo i Serra,
	Guenter Roeck, devicetree, linux-kernel
  Cc: 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]+'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

---

Changes since v1:
1. Add properties instead of using unevaluated
---
 Documentation/devicetree/bindings/mfd/google,cros-ec.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
index 6a7279a85ec1..f49c0d5d31ad 100644
--- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
+++ b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
@@ -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
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] dt-bindings: mfd: google,cros-ec: Add missing properties
  2020-09-03 19:14 [PATCH v2] dt-bindings: mfd: google,cros-ec: Add missing properties Krzysztof Kozlowski
@ 2020-09-14 20:49 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2020-09-14 20:49 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Rob Herring, Guenter Roeck, devicetree, Benson Leung,
	linux-kernel, Enric Balletbo i Serra, Lee Jones

On Thu, 03 Sep 2020 21:14:07 +0200, Krzysztof Kozlowski wrote:
> 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]+'
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> 
> ---
> 
> 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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-14 20:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03 19:14 [PATCH v2] dt-bindings: mfd: google,cros-ec: Add missing properties Krzysztof Kozlowski
2020-09-14 20:49 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).