Skip to content

Commit dc74a00

Browse files
committed
regulator: pca9450: add input supply links
Merge series from Oleksij Rempel <o.rempel@pengutronix.de>: This series adds input supply definitions for the NXP PCA9450 PMIC. Some systems detect power events such as undervoltage before the PMIC. To allow correct propagation of such events, each regulator must define its upstream input supply. The first patch updates the devicetree binding to document new *-supply properties, and the second patch adds matching .supply_name entries in the driver. Changes in this series: - Document INL1, INB13, INB26 and INB45 supply properties - Link all LDO and BUCK regulators to their corresponding input groups
2 parents 0131366 + 4c33cef commit dc74a00

692 files changed

Lines changed: 6387 additions & 3743 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.mailmap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Alan Cox <alan@lxorguk.ukuu.org.uk>
2727
Alan Cox <root@hraefn.swansea.linux.org.uk>
2828
Aleksandar Markovic <aleksandar.markovic@mips.com> <aleksandar.markovic@imgtec.com>
2929
Aleksey Gorelov <aleksey_gorelov@phoenix.com>
30+
Alex Williamson <alex@shazbot.org> <alex.williamson@redhat.com>
3031
Alexander Lobakin <alobakin@pm.me> <alobakin@dlink.ru>
3132
Alexander Lobakin <alobakin@pm.me> <alobakin@marvell.com>
3233
Alexander Lobakin <alobakin@pm.me> <bloodyreaper@yandex.ru>
@@ -227,6 +228,7 @@ Dmitry Safonov <0x7f454c46@gmail.com> <dima@arista.com>
227228
Dmitry Safonov <0x7f454c46@gmail.com> <d.safonov@partner.samsung.com>
228229
Dmitry Safonov <0x7f454c46@gmail.com> <dsafonov@virtuozzo.com>
229230
Domen Puncer <domen@coderock.org>
231+
Dong Aisheng <aisheng.dong@nxp.com> <b29396@freescale.com>
230232
Douglas Gilbert <dougg@torque.net>
231233
Drew Fustini <fustini@kernel.org> <drew@pdp7.com>
232234
<duje@dujemihanovic.xyz> <duje.mihanovic@skole.hr>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/i2c/apm,xgene-slimpro-i2c.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: APM X-Gene SLIMpro Mailbox I2C
8+
9+
maintainers:
10+
- Khuong Dinh <khuong@os.amperecomputing.com>
11+
12+
description:
13+
An I2C controller accessed over the "SLIMpro" mailbox.
14+
15+
allOf:
16+
- $ref: /schemas/i2c/i2c-controller.yaml#
17+
18+
properties:
19+
compatible:
20+
const: apm,xgene-slimpro-i2c
21+
22+
mboxes:
23+
maxItems: 1
24+
25+
required:
26+
- compatible
27+
- mboxes
28+
29+
unevaluatedProperties: false
30+
31+
examples:
32+
- |
33+
i2c {
34+
compatible = "apm,xgene-slimpro-i2c";
35+
mboxes = <&mailbox 0>;
36+
};

Documentation/devicetree/bindings/i2c/i2c-xgene-slimpro.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ allOf:
142142
required:
143143
- orientation-switch
144144
then:
145-
$ref: /schemas/usb/usb-switch.yaml#
145+
allOf:
146+
- $ref: /schemas/usb/usb-switch.yaml#
147+
- $ref: /schemas/usb/usb-switch-ports.yaml#
146148

147149
unevaluatedProperties: false
148150

Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ properties:
2424
- enum:
2525
- qcom,qcs8300-qmp-ufs-phy
2626
- const: qcom,sa8775p-qmp-ufs-phy
27+
- items:
28+
- enum:
29+
- qcom,kaanapali-qmp-ufs-phy
30+
- const: qcom,sm8750-qmp-ufs-phy
2731
- enum:
2832
- qcom,msm8996-qmp-ufs-phy
2933
- qcom,msm8998-qmp-ufs-phy

Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ allOf:
125125
contains:
126126
const: google,gs101-usb31drd-phy
127127
then:
128-
$ref: /schemas/usb/usb-switch.yaml#
128+
allOf:
129+
- $ref: /schemas/usb/usb-switch.yaml#
130+
- $ref: /schemas/usb/usb-switch-ports.yaml#
129131

130132
properties:
131133
clocks:

Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,21 @@ properties:
4141
interrupts:
4242
maxItems: 1
4343

44+
inl1-supply:
45+
description: Regulator supply for the INL1 pin group, powering LDOx
46+
47+
inb13-supply:
48+
description:
49+
Regulator supply for the INB13 pin group, powering BUCK1 and BUCK3.
50+
51+
inb26-supply:
52+
description:
53+
Regulator supply for the INB26 pin group, powering BUCK2 and BUCK6.
54+
55+
inb45-supply:
56+
description:
57+
Regulator supply for the INB45 pin group, powering BUCK4 and BUCK5.
58+
4459
regulators:
4560
type: object
4661
description: |

Documentation/devicetree/bindings/serial/renesas,scif.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ allOf:
197197
- renesas,rcar-gen2-scif
198198
- renesas,rcar-gen3-scif
199199
- renesas,rcar-gen4-scif
200+
- renesas,rcar-gen5-scif
200201
then:
201202
properties:
202203
interrupts:

Documentation/devicetree/bindings/sound/fsl-asoc-card.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ properties:
7979
- fsl,imx-audio-nau8822
8080
- fsl,imx-audio-sgtl5000
8181
- fsl,imx-audio-si476x
82+
- fsl,imx-audio-tlv320
8283
- fsl,imx-audio-tlv320aic31xx
8384
- fsl,imx-audio-tlv320aic32x4
8485
- fsl,imx-audio-wm8524

Documentation/devicetree/bindings/sound/qcom,sm8250.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ properties:
3333
- qcom,apq8096-sndcard
3434
- qcom,glymur-sndcard
3535
- qcom,qcm6490-idp-sndcard
36+
- qcom,qcs615-sndcard
3637
- qcom,qcs6490-rb3gen2-sndcard
3738
- qcom,qcs8275-sndcard
3839
- qcom,qcs9075-sndcard

0 commit comments

Comments
 (0)