dt-bindings: pwm: Fix cros-ec-pwm example dtc 'reg' warning
authorRob Herring <robh@kernel.org>
Wed, 15 Apr 2020 17:57:04 +0000 (12:57 -0500)
committerRob Herring <robh@kernel.org>
Wed, 15 Apr 2020 21:24:17 +0000 (16:24 -0500)
commitc3a2079828fae3ecc9c81e0751d19cbc678471f7
tree2e70f263c683972f4e3546c8d63b78e6d146f4f0
parent5fd274ed3c8551ebe38c3e9d2ded853a5c289499
dt-bindings: pwm: Fix cros-ec-pwm example dtc 'reg' warning

The example for the CrOS EC PWM is incomplete and now generates a dtc
warning:

Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.example.dts:17.11-23.11:
Warning (unit_address_vs_reg): /example-0/cros-ec@0: node has a unit name, but no reg or ranges property

Fixing this results in more warnings as a parent spi node is needed as
well.

Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Benson Leung <bleung@chromium.org>
Cc: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Cc: Guenter Roeck <groeck@chromium.org>
Cc: linux-pwm@vger.kernel.org
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml