Johan Hovold
1aa77a7ed0
dt-bindings: mfd: hisilicon,hi6421-spmi-pmic: Clean up example
...
The SPMI PMIC sits on an SPMI bus which and has two address cells with
no size.
Clean up the example by adding a parent SPMI bus node with proper
'#address-cells' and '#size-cells' properties, using a define for the
second register value, dropping the unnecessary label and increasing the
indentation to four spaces.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20231206111754.7410-4-johan+linaro@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org >
2023-12-07 17:01:49 +00:00
Johan Hovold
d5c005ff9f
dt-bindings: mfd: hisilicon,hi6421-spmi-pmic: Fix regulator binding
...
The regulator child nodes do not have unit addresses so drop the
incorrect '#address-cells' and '#size-cells' properties from the parent
'regulators' node.
Fixes: 352335a6ac ("staging: hikey9xx: hisilicon, hi6421-spmi-pmic.yaml: simplify props")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20231206111754.7410-3-johan+linaro@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org >
2023-12-07 17:01:38 +00:00
Johan Hovold
e23f1530ea
dt-bindings: mfd: hisilicon,hi6421-spmi-pmic: Fix up binding reference
...
Fix up the SPMI PMIC binding document free text reference which
erroneously referred to itself rather than the parent SPMI controller
binding as intended.
Fixes: 9e59172885 ("dt: document HiSilicon SPMI controller and mfd/regulator properties")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20231206111754.7410-2-johan+linaro@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org >
2023-12-07 17:01:22 +00:00
Rob Herring
9896a19caf
dt-bindings: mfd: Drop unneeded quotes in 'ref', 'id' and 'schema' entries
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Signed-off-by: Rob Herring <robh@kernel.org >
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20230322173519.3971434-1-robh@kernel.org
2023-04-26 11:40:33 +01:00
Mauro Carvalho Chehab
5c872e1d25
dt-bindings: hisilicon,hi6421-spmi-pmic.yaml: make some rules stricter
...
Define maxItems for interrupts and accept only "ldo" in lower case.
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
Link: https://lore.kernel.org/r/b7a775808d9c3a87fbe1c5a6dd71f8f18be7e649.1627116034.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2021-07-27 16:33:14 +02:00
Mauro Carvalho Chehab
9bd9e0de1c
mfd: hi6421-spmi-pmic: move driver from staging
...
This driver is ready for mainstream. So, move it out of staging.
Acked-by: Lee Jones <lee.jones@linaro.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
Link: https://lore.kernel.org/r/dd150f3ffa19c2dda0171f7dbe1dd63cce2a7af5.1627025657.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2021-07-23 10:13:27 +02:00