Skip to content

Commit 92b9c2b

Browse files
committed
regulator: pf530x: NXP PF530x regulator driver
Merge series from Woodrow Douglass <wdouglass@carnegierobotics.com>: I wrote this driver to read settings and state from the nxp pf530x regulator. Please consider it for inclusion, any criticism is welcome.
2 parents 9d35d06 + b497e1a commit 92b9c2b

560 files changed

Lines changed: 6531 additions & 2933 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
@@ -226,6 +226,8 @@ Domen Puncer <domen@coderock.org>
226226
Douglas Gilbert <dougg@torque.net>
227227
Drew Fustini <fustini@kernel.org> <drew@pdp7.com>
228228
<duje@dujemihanovic.xyz> <duje.mihanovic@skole.hr>
229+
Easwar Hariharan <easwar.hariharan@linux.microsoft.com> <easwar.hariharan@intel.com>
230+
Easwar Hariharan <easwar.hariharan@linux.microsoft.com> <eahariha@linux.microsoft.com>
229231
Ed L. Cashin <ecashin@coraid.com>
230232
Elliot Berman <quic_eberman@quicinc.com> <eberman@codeaurora.org>
231233
Enric Balletbo i Serra <eballetbo@kernel.org> <enric.balletbo@collabora.com>

Documentation/ABI/stable/sysfs-block

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ Contact: linux-block@vger.kernel.org
731731
Description:
732732
[RW] If the device is registered for writeback throttling, then
733733
this file shows the target minimum read latency. If this latency
734-
is exceeded in a given window of time (see wb_window_usec), then
734+
is exceeded in a given window of time (see curr_win_nsec), then
735735
the writeback throttling will start scaling back writes. Writing
736736
a value of '0' to this file disables the feature. Writing a
737737
value of '-1' to this file resets the value to the default

Documentation/admin-guide/blockdev/zoned_loop.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ zone_capacity_mb Device zone capacity (must always be equal to or lower than
7979
the zone size. Default: zone size.
8080
conv_zones Total number of conventioanl zones starting from sector 0.
8181
Default: 8.
82-
base_dir Path to the base directoy where to create the directory
82+
base_dir Path to the base directory where to create the directory
8383
containing the zone files of the device.
8484
Default=/var/local/zloop.
8585
The device directory containing the zone files is always

Documentation/admin-guide/cgroup-v2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,8 @@ both cgroups.
435435
Controlling Controllers
436436
-----------------------
437437

438-
Availablity
439-
~~~~~~~~~~~
438+
Availability
439+
~~~~~~~~~~~~
440440

441441
A controller is available in a cgroup when it is supported by the kernel (i.e.,
442442
compiled in, not disabled and not attached to a v1 hierarchy) and listed in the

Documentation/admin-guide/hw-vuln/attack_vector_controls.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Spectre_v1 X
214214
Spectre_v2 X X
215215
Spectre_v2_user X X * (Note 1)
216216
SRBDS X X X X
217-
SRSO X X
217+
SRSO X X X X
218218
SSB (Note 4)
219219
TAA X X X X * (Note 2)
220220
TSA X X X X

Documentation/core-api/symbol-namespaces.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,21 @@ unit as preprocessor statement. The above example would then read::
7676
within the corresponding compilation unit before the #include for
7777
<linux/export.h>. Typically it's placed before the first #include statement.
7878

79-
Using the EXPORT_SYMBOL_GPL_FOR_MODULES() macro
80-
-----------------------------------------------
79+
Using the EXPORT_SYMBOL_FOR_MODULES() macro
80+
-------------------------------------------
8181

8282
Symbols exported using this macro are put into a module namespace. This
83-
namespace cannot be imported.
83+
namespace cannot be imported. These exports are GPL-only as they are only
84+
intended for in-tree modules.
8485

8586
The macro takes a comma separated list of module names, allowing only those
8687
modules to access this symbol. Simple tail-globs are supported.
8788

8889
For example::
8990

90-
EXPORT_SYMBOL_GPL_FOR_MODULES(preempt_notifier_inc, "kvm,kvm-*")
91+
EXPORT_SYMBOL_FOR_MODULES(preempt_notifier_inc, "kvm,kvm-*")
9192

92-
will limit usage of this symbol to modules whoes name matches the given
93+
will limit usage of this symbol to modules whose name matches the given
9394
patterns.
9495

9596
How to use Symbols exported in Namespaces

Documentation/devicetree/bindings/net/thead,th1520-gmac.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@ properties:
6262
items:
6363
- description: GMAC main clock
6464
- description: Peripheral registers interface clock
65+
- description: APB glue registers interface clock
6566

6667
clock-names:
6768
items:
6869
- const: stmmaceth
6970
- const: pclk
71+
- const: apb
7072

7173
interrupts:
7274
items:
@@ -88,8 +90,8 @@ examples:
8890
compatible = "thead,th1520-gmac", "snps,dwmac-3.70a";
8991
reg = <0xe7070000 0x2000>, <0xec003000 0x1000>;
9092
reg-names = "dwmac", "apb";
91-
clocks = <&clk 1>, <&clk 2>;
92-
clock-names = "stmmaceth", "pclk";
93+
clocks = <&clk 1>, <&clk 2>, <&clk 3>;
94+
clock-names = "stmmaceth", "pclk", "apb";
9395
interrupts = <66>;
9496
interrupt-names = "macirq";
9597
phy-mode = "rgmii-id";

Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Infineon Buck Regulators with PMBUS interfaces
88

99
maintainers:
10-
- Not Me.
10+
- Guenter Roeck <linux@roeck-us.net>
1111

1212
allOf:
1313
- $ref: regulator.yaml#
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/regulator/nxp,pf5300.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: NXP PF5300/PF5301/PF5302 PMIC regulators
8+
9+
maintainers:
10+
- Woodrow Douglass <wdouglass@carnegierobotics.com>
11+
12+
description: |
13+
The PF5300, PF5301, and PF5302 integrate high-performance buck converters,
14+
12 A, 8 A, and 15 A, respectively, to power high-end automotive and industrial
15+
processors. With adaptive voltage positioning and a high-bandwidth loop, they
16+
offer transient regulation to minimize capacitor requirements.
17+
18+
allOf:
19+
- $ref: regulator.yaml#
20+
21+
properties:
22+
compatible:
23+
oneOf:
24+
- const: nxp,pf5300
25+
- items:
26+
- enum:
27+
- nxp,pf5301
28+
- nxp,pf5302
29+
- const: nxp,pf5300
30+
reg:
31+
maxItems: 1
32+
33+
required:
34+
- compatible
35+
- reg
36+
37+
unevaluatedProperties: false
38+
39+
examples:
40+
- |
41+
i2c {
42+
#address-cells = <1>;
43+
#size-cells = <0>;
44+
45+
regulator@28 {
46+
compatible = "nxp,pf5302", "nxp,pf5300";
47+
reg = <0x28>;
48+
49+
regulator-always-on;
50+
regulator-boot-on;
51+
regulator-max-microvolt = <1200000>;
52+
regulator-min-microvolt = <500000>;
53+
};
54+
};

Documentation/networking/ip-sysctl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ udp_hash_entries - INTEGER
14201420
A negative value means the networking namespace does not own its
14211421
hash buckets and shares the initial networking namespace's one.
14221422

1423-
udp_child_ehash_entries - INTEGER
1423+
udp_child_hash_entries - INTEGER
14241424
Control the number of hash buckets for UDP sockets in the child
14251425
networking namespace, which must be set before clone() or unshare().
14261426

0 commit comments

Comments
 (0)