linux_dsm_epyc7002/include/dt-bindings
Mark Brown 8cc31dc941
Merge series "regulator: mt6397: Implement of_map_mode regulator_desc function" from Anand K Mistry <amistry@google.com>:
This patchset adds support for being able to change regulator modes for
the mt6397 regulator. This is needed to allow the voltage scaling
support in the MT8173 SoC to be used on the elm (Acer Chromebook R13)
and hana (several Lenovo Chromebooks) devices.

Without a of_map_mode implementation, the regulator-allowed-modes
devicetree field is skipped, and attempting to change the regulator mode
results in an error:
[    1.439165] vpca15: mode operation not allowed

Changes in v2:
- Introduce constants in dt-bindings
- Improve conditional readability

Anand K Mistry (4):
  regulator: mt6397: Move buck modes into header file
  dt-bindings: regulator: mt6397: Document valid modes
  regulator: mt6397: Implement of_map_mode
  arm64: dts: mediatek: Update allowed mt6397 regulator modes for elm
    boards

 .../bindings/regulator/mt6397-regulator.txt     |  3 +++
 arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi    |  4 +++-
 drivers/regulator/mt6397-regulator.c            | 17 ++++++++++++++---
 .../regulator/mediatek,mt6397-regulator.h       | 15 +++++++++++++++
 4 files changed, 35 insertions(+), 4 deletions(-)
 create mode 100644 include/dt-bindings/regulator/mediatek,mt6397-regulator.h

--
2.27.0.212.ge8ba1cc988-goog

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
2020-07-02 16:45:49 +01:00
..
arm
bus
clk
clock This time around we have 4 lines of diff in the core framework, removing a 2020-06-10 11:42:19 -07:00
display
dma
firmware/imx dt-bindings: firmware: imx: Add more system controls and PM clock types 2020-05-13 16:19:39 +08:00
gce
gpio
i2c
iio
input
interconnect interconnect: imx: Add platform driver for imx8mn 2020-04-28 20:03:02 +03:00
interrupt-controller
leds leds: make functions easier to understand 2020-04-06 22:57:21 +02:00
mailbox dt-bindings: mailbox: Add devicetree binding for Qcom IPCC 2020-05-30 18:10:27 -05:00
media
memory
mfd
mips
mux
net
phy dt-bindings: phy: Add PHY_TYPE_XPCS definition 2020-05-19 20:26:06 +05:30
pinctrl This is the bulk of pin control changes for the v5.8 2020-06-07 16:13:43 -07:00
pmu
power This time around we have 4 lines of diff in the core framework, removing a 2020-06-10 11:42:19 -07:00
pwm
regulator Merge series "regulator: mt6397: Implement of_map_mode regulator_desc function" from Anand K Mistry <amistry@google.com>: 2020-07-02 16:45:49 +01:00
reset This time around we have 4 lines of diff in the core framework, removing a 2020-06-10 11:42:19 -07:00
reset-controller
soc
sound
spmi
thermal
usb