Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: input: sprd,sc27xx-vibrator: Drop incomplete example

The example for the Spreadtrum SC27xx PMIC vibrator is incomplete as the
binding is the full PMIC, not just the sub-functions. It is preferred
for MFD examples to be complete in the top-level MFD device binding
rather than piecemeal in each sub-function binding.

This also fixes an undocumented (by schema) compatible warning for
"sprd,sc2731".

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231128214809.3975719-1-robh@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Rob Herring and committed by
Dmitry Torokhov
11baacb2 fedfa36d

+1 -18
+1 -18
Documentation/devicetree/bindings/input/sprd,sc27xx-vibrator.yaml
··· 28 28 29 29 additionalProperties: false 30 30 31 - examples: 32 - - | 33 - #include <dt-bindings/interrupt-controller/arm-gic.h> 34 - sc2731_pmic: pmic@0 { 35 - compatible = "sprd,sc2731"; 36 - reg = <0 0>; 37 - spi-max-frequency = <26000000>; 38 - interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 39 - interrupt-controller; 40 - #interrupt-cells = <2>; 41 - #address-cells = <1>; 42 - #size-cells = <0>; 43 - 44 - vibrator@eb4 { 45 - compatible = "sprd,sc2731-vibrator"; 46 - reg = <0xeb4>; 47 - }; 48 - }; 31 + ...