Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstreaming max597x #3

Draft
wants to merge 107 commits into
base: hwmon-next
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
67eda75
Merge tag 'aspeed-5.16-devicetree' into dev-5.15
shenki Nov 1, 2021
422a661
Merge tag 'aspeed-5.16-defconfig' into dev-5.15
shenki Nov 1, 2021
c8450b6
Merge tag 'fsi-for-v5.16' into dev-5.15
shenki Nov 1, 2021
d8ed311
Merge tag 'aspeed-5.16-devicetree-2' into 5-15-patches
shenki Nov 1, 2021
186baa0
usb: ehci: Handshake CMD_RUN instead of STS_HALT for Aspeed
Neal-liu Sep 10, 2021
cc54222
hwmon: (pmbus/ibm-cffps) Add mfg_id debugfs entry
bjwyman Oct 4, 2021
52a6bb9
hwmon: (pmbus/ibm-cffps) Use MFR_ID to choose version
bjwyman Oct 4, 2021
a7df739
dt-bindings: iio: adc: Add ast2600-adc bindings
billy-tsai Aug 31, 2021
e0965b6
iio: adc: aspeed: completes the bitfield declare.
billy-tsai Aug 31, 2021
deac1d3
iio: adc: aspeed: Keep model data to driver data.
billy-tsai Sep 22, 2021
9456652
iio: adc: aspeed: Restructure the model data
billy-tsai Sep 22, 2021
c6c3800
iio: adc: aspeed: Add vref config function
billy-tsai Sep 22, 2021
c399bcf
iio: adc: aspeed: Use model_data to set clk scaler.
billy-tsai Sep 22, 2021
1cc97cf
iio: adc: aspeed: Use devm_add_action_or_reset.
billy-tsai Sep 22, 2021
9d45acd
iio: adc: aspeed: Support ast2600 adc.
billy-tsai Sep 22, 2021
df09911
iio: adc: aspeed: Fix the calculate error of clock.
billy-tsai Sep 22, 2021
e3da596
iio: adc: aspeed: Add func to set sampling rate.
billy-tsai Sep 22, 2021
54614fa
iio: adc: aspeed: Add compensation phase.
billy-tsai Sep 22, 2021
b4c845e
iio: adc: aspeed: Support battery sensing.
billy-tsai Sep 22, 2021
fc643c9
iio: adc: aspeed: Get and set trimming data.
billy-tsai Sep 22, 2021
a39b4eb
iio: adc: aspeed: Fix spelling mistake "battey" -> "battery"
Oct 1, 2021
0e776b2
dt-bindings: soc: Add Aspeed XDMA Engine
May 5, 2020
9dea952
hwmon: (pmbus/lm25066) Add offset coefficients
zevweiss Sep 28, 2021
9013683
hwmon: (pmbus/lm25066) Adjust lm25066 PSC_CURRENT_IN_L mantissa
zevweiss Sep 28, 2021
ccc6476
hwmon: (pmbus/lm25066) Avoid forward declaration of lm25066_id
zevweiss Sep 28, 2021
5f79672
hwmon: (pmbus/lm25066) Let compiler determine outer dimension of lm25…
zevweiss Sep 28, 2021
11d6414
hwmon: (pmbus/lm25066) Mark lm25066_coeff array const
zevweiss Sep 28, 2021
a3749c6
hwmon: (pmbus/lm25066) Add OF device ID table
zevweiss Sep 28, 2021
b40e40b
hwmon: (pmbus/lm25066) Support configurable sense resistor values
zevweiss Sep 28, 2021
aaebf74
dt-bindings: hwmon/pmbus: Add ti,lm25066 power-management IC
zevweiss Sep 28, 2021
e4fc895
soc: aspeed: Add XDMA Engine Driver
May 5, 2020
e1e3478
soc: aspeed: xdma: Add user interface
May 5, 2020
0892202
soc: aspeed: xdma: Add reset ioctl
May 5, 2020
1a6c619
mtd: spi-nor: aspeed: use command mode for reads
legoater Oct 9, 2017
485d400
mtd: spi-nor: aspeed: add support for SPI dual IO read mode
legoater Oct 9, 2017
386270c
mtd: spi-nor: aspeed: link controller with the ahb clock
legoater Oct 9, 2017
5e70f66
mtd: spi-nor: aspeed: optimize read mode
legoater Oct 9, 2017
1c74dec
mtd: spi-nor: aspeed: limit the maximum SPI frequency
legoater Jun 22, 2018
176825e
mtd: spi-nor: aspeed: introduce a aspeed_smc_default_read() helper
legoater Apr 17, 2019
f3aff9a
mtd: spi-nor: aspeed: clarify 4BYTE address mode mask
legoater Apr 17, 2019
8519d93
mtd: spi-nor: aspeed: use memcpy_fromio() to capture the optimization…
legoater Apr 17, 2019
21f1c39
mtd: spi-nor: aspeed: add support for the 4B opcodes
legoater Apr 17, 2019
be9f73b
mtd: spi-nor: Add support for w25q512jv
legoater Sep 25, 2019
42366d5
mtd: spi-nor: aspeed: Introduce a field for the AHB physical address
legoater Sep 25, 2019
939ed61
mtd: spi-nor: aspeed: Introduce segment operations
legoater Sep 25, 2019
99d197c
mtd: spi-nor: aspeed: add initial support for ast2600
legoater Sep 25, 2019
c15b751
mtd: spi-nor: aspeed: Check for disabled segments on the AST2600
legoater Sep 25, 2019
59b049d
mtd: spi-nor: aspeed: Introduce training operations per platform
legoater Sep 25, 2019
87c5660
mtd: spi-nor: aspeed: Introduce a HCLK mask for training
legoater Sep 25, 2019
b643618
mtd: spi-nor: aspeed: check upper freq limit when doing training
legoater Sep 25, 2019
6445ad1
mtd: spi-nor: aspeed: add support for AST2600 training
legoater Sep 25, 2019
a7ff7bf
dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation
amboar Apr 3, 2018
b642c0d
pmbus (max31785): Add support for devicetree configuration
amboar Apr 3, 2018
e8ce604
pmbus (core): Use driver callbacks in pmbus_get_fan_rate()
amboar Apr 3, 2018
727f19e
pmbus (core): One-shot retries for failure to set page
amboar Apr 3, 2018
fc65026
pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers
amboar Apr 3, 2018
6c0e684
/dev/mem: add a devmem kernel parameter to activate the device
legoater Oct 12, 2018
74b3d2c
dt-binding: bmc: Add NPCM7xx LPC BPC documentation
tmaimon Jan 14, 2019
ad545b7
misc: npcm7xx-lpc-bpc: add NPCM7xx BIOS post code driver
tmaimon Jan 14, 2019
b61d98b
dt-binding: bmc: add npcm7xx pci mailbox document
tmaimon Jan 14, 2019
f068ffb
misc: mbox: add npcm7xx pci mailbox driver
tmaimon Jan 14, 2019
4e09a43
dt-binding: net: document NPCM7xx EMC DT bindings
tmaimon Jan 14, 2019
66747db
net: npcm: add NPCM7xx Ethernet MAC controller
tmaimon Jan 14, 2019
f1c0b6a
net: npcm: Support for fixed PHYs
wak-google Mar 27, 2021
098f156
ARM: dts: aspeed: witherspoon: Update max31785 node
amboar Jul 27, 2017
d62f2b8
ARM: dts: npcm7xx: Add out of tree nodes
tmaimon Dec 9, 2018
a608c96
ARM: dts: nuvoton: npcm730: Add UDC device
May 31, 2019
f9a7a36
ARM: dts: nuvoton: gsj: Add non-mainline nodes
May 31, 2019
8c25468
ARM: dts: olympus: Add non-mainline nodes
tmaimon Sep 25, 2019
310db6a
ARM: dts: npcm750: Add fuse regmap support node
tmaimon Jan 13, 2021
24e69e9
ARM: dts: npcm7xx: Link fuse syscon to adc and wdt
tmaimon Jan 19, 2021
c58e760
dt-binding: edac: add NPCM ECC documentation
georgehung1210 May 23, 2019
00d5d14
edac: npcm: Add Nuvoton NPCM7xx EDAC driver
georgehung1210 May 23, 2019
7550108
ipmi: aspeed-g6: Add compatible strings
bradbishop Sep 25, 2019
617dc20
reset: simple: Add AST2600 compatibility string
bradbishop Sep 25, 2019
26e2d99
clk: ast2600: enable BCLK for PCI/PCIe bus always
jaehyoo Nov 19, 2019
7eed5f0
eeprom: at25: Split reads into chunks and cap write size
bradbishop Aug 20, 2020
76e339d
dt-bindings: input: Add documentation for IBM Operation Panel
Sep 9, 2020
cdd83b8
input: misc: Add IBM Operation Panel driver
Sep 9, 2020
a35e7e3
net: ftgmac100: Ensure tx descriptor updates are visible
shenki Oct 20, 2020
ea925b1
clk: npcm7xx: add read only flag to divider clocks
tmaimon Jan 13, 2021
ea2549b
iio: adc: Add calibration support to npcm ADC
tmaimon Jan 13, 2021
0c5f1f8
watchdog: npcm: Add DT restart priority and reset type support
tmaimon Jan 13, 2021
9a54372
pinctrl: npcm7xx: Add HGPIO pin support to NPCM7xx pinctrl driver
tmaimon Jan 13, 2021
2c52c07
pinctrl: pinconf: add pin persist configuration
tmaimon Jan 13, 2021
bb065bb
pinctrl: npcm7xx: Add pin persist configuration support
tmaimon Jan 13, 2021
9209d22
spi: npcm-pspi: Add full duplex support
tmaimon Jan 13, 2021
f736bcb
dt-binding: bmc: add NPCM7XX JTAG master documentation
tmaimon Jan 13, 2021
9634fd2
misc: Add NPCM7xx JTAG master driver
tmaimon Jan 13, 2021
baf077c
watchdog: npcm: Modify get reset status function
tmaimon Jan 19, 2021
4e50e9a
ARM: configs: add defconfig for Nuvoton NPCM7xx BMC
tmaimon Jan 14, 2019
e73eb7f
ARM: dts: aspeed: tacoma: Remove CFAM reset GPIO
Mar 8, 2021
ef25ad5
ipmi: kcs_bmc: Add a "raw" character device interface
amboar Jun 23, 2021
728d545
ARM: dts: ast2600evb: Enable EHCI controller
shenki Jun 28, 2021
d2e56b8
ARM: dts: tacoma: Clean up KCS nodes
amboar Jul 9, 2021
4092d5a
ARM: configs: aspeed: Add openbmc kernel options
shenki Apr 6, 2021
5e89374
leds: pca955x: Make the gpiochip always expose all pins
amboar Sep 21, 2021
65271b0
leds: pca955x: Allow zero LEDs to be specified
amboar Sep 21, 2021
ed8bdda
ARM: dts: nuvoton: gbs: split SPI flash partition
Oct 8, 2021
f7058fa
ipmi: bt-bmc: Use registers directly
shenki Sep 3, 2021
2d12a2b
spi: fsi: Print status on error
Oct 21, 2021
90fde5c
ARM: dts: nuvoton: gbs: Change the name of the partitions
Oct 26, 2021
4c17788
spi: fsi: Fix contention in the FSI2SPI engine
Oct 26, 2021
a6f2ddf
soc: aspeed: Add UART routing support
Oct 22, 2021
d9d7dbe
dt-bindings: regulator: Add bindings for MAX5970 and MAX5978
sylv-io Jan 6, 2022
7d334c3
regulator: max597x: Add support for MAX5970 and MAX5978
PatrickRudolph Jan 6, 2022
eab8bac
regulator: max597x: Add IIO support
PatrickRudolph Apr 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ARM: dts: npcm7xx: Add out of tree nodes
FIU, ADC, RST, VCD and SPI, PECI, regulator and HGPIO pins nodes.

OpenBMC-Staging-Count: 11
Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
  • Loading branch information
tmaimon authored and shenki committed Nov 1, 2021
commit d62f2b88d19715ba1fb8704bd35c7333ffd0bd97
181 changes: 175 additions & 6 deletions arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
Original file line number Diff line number Diff line change
@@ -5,53 +5,59 @@
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/nuvoton,npcm7xx-clock.h>
#include <dt-bindings/reset/nuvoton,npcm7xx-reset.h>
#include <dt-bindings/gpio/gpio.h>

/ {
#address-cells = <1>;
#size-cells = <1>;
interrupt-parent = <&gic>;

memory {
device_type = "memory";
reg = <0 0>;
};

/* external reference clock */
clk_refclk: clk_refclk {
clk_refclk: clk-refclk {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <25000000>;
clock-output-names = "refclk";
};

/* external reference clock for cpu. float in normal operation */
clk_sysbypck: clk_sysbypck {
clk_sysbypck: clk-sysbypck {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <800000000>;
clock-output-names = "sysbypck";
};

/* external reference clock for MC. float in normal operation */
clk_mcbypck: clk_mcbypck {
clk_mcbypck: clk-mcbypck {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <800000000>;
clock-output-names = "mcbypck";
};

/* external clock signal rg1refck, supplied by the phy */
clk_rg1refck: clk_rg1refck {
clk_rg1refck: clk-rg1refck {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <125000000>;
clock-output-names = "clk_rg1refck";
};

/* external clock signal rg2refck, supplied by the phy */
clk_rg2refck: clk_rg2refck {
clk_rg2refck: clk-rg2refck {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <125000000>;
clock-output-names = "clk_rg2refck";
};

clk_xin: clk_xin {
clk_xin: clk-xin {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <50000000>;
@@ -136,6 +142,29 @@
status = "disabled";
};

mc: memory-controller@f0824000 {
compatible = "nuvoton,npcm7xx-sdram-edac";
reg = <0xf0824000 0x1000>;
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

emc0: eth@f0825000 {
device_type = "network";
compatible = "nuvoton,npcm750-emc";
reg = <0xf0825000 0x1000>;
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM7XX_CLK_AHB>;
clock-names = "clk_emc";
resets = <&rstc NPCM7XX_RESET_IPSRST1 NPCM7XX_RESET_EMC1>;
pinctrl-names = "default";
pinctrl-0 = <&r1_pins
&r1err_pins
&r1md_pins>;
status = "disabled";
};

ehci1: usb@f0806000 {
compatible = "nuvoton,npcm750-ehci";
reg = <0xf0806000 0x1000>;
@@ -167,6 +196,66 @@
status = "disabled";
};

ohci1: ohci@f0807000 {
compatible = "nuvoton,npcm750-ohci";
reg = <0xf0807000 0x1000>;
interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

sdhci0: sdhci@f0842000 {
compatible = "nuvoton,npcm750-sdhci";
status = "disabled";
reg = <0xf0842000 0x200>;
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM7XX_CLK_AHB>; /*, <&clk_xin>;*/
clock-names = "clk_mmc"; /* ,"clk_xin"; */
pinctrl-names = "default";
pinctrl-0 = <&mmc8_pins
&mmc_pins>;
};

sdhci1: sdhci@f0840000 {
compatible = "nuvoton,npcm750-sdhci";
status = "disabled";
reg = <0xf0840000 0x200>;
interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM7XX_CLK_AHB>; /*, <&clk_xin>;*/
clock-names = "clk_sdhc"; /* ,"clk_xin"; */
pinctrl-names = "default";
pinctrl-0 = <&sd1_pins>;
};

aes:aes@f0858000 {
compatible = "nuvoton,npcm750-aes";
reg = <0xf0858000 0x1000>;
status = "disabled";
clocks = <&clk NPCM7XX_CLK_AHB>;
clock-names = "clk_ahb";
};

sha:sha@f085a000 {
compatible = "nuvoton,npcm750-sha";
reg = <0xf085a000 0x1000>;
status = "disabled";
clocks = <&clk NPCM7XX_CLK_AHB>;
clock-names = "clk_ahb";
};

copr: copr@0 {
compatible = "nuvoton,npcm750-copr";
interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM7XX_CLK_AHB>;
clock-names = "clk_ahb";
};

vdma: vdma@e0800000 {
compatible = "nuvoton,npcm750-vdm";
reg = <0xe0800000 0x1000
0xf0822000 0x1000>;
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
};

fiux: spi@fb001000 {
compatible = "nuvoton,npcm750-fiu";
#address-cells = <1>;
@@ -178,6 +267,38 @@
status = "disabled";
};

dvc: dvc@f0808000 {
compatible = "nuvoton,npcm750-dvc";
reg = <0xf0808000 0x1000>;
interrupts = <0 23 4>;
};

vcd: vcd@f0810000 {
compatible = "nuvoton,npcm750-vcd";
reg = <0xf0810000 0x10000>;
mem-addr = <0x3e200000>;
mem-size = <0x600000>;
interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

ece: ece@f0820000 {
compatible = "nuvoton,npcm750-ece";
reg = <0xf0820000 0x2000>;
mem-addr = <0x3e800000>;
mem-size = <0x600000>;
interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

pcimbox: pcimbox@f0848000 {
compatible = "nuvoton,npcm750-pci-mbox",
"simple-mfd", "syscon";
reg = <0xf084C000 0x8
0xf0848000 0x3F00>;
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
};

apb {
#address-cells = <1>;
#size-cells = <1>;
@@ -219,6 +340,40 @@
};
};

lpc_host: lpc_host@7000 {
compatible = "nuvoton,npcm750-lpc-host",
"simple-mfd", "syscon";
reg = <0x7000 0x60>;

#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x7000 0x60>;

lpc_bpc: lpc_bpc@40 {
compatible = "nuvoton,npcm750-lpc-bpc";
reg = <0x40 0x20>;
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};
};

peci: peci-bus@100000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x100000 0x200>;

peci0: peci-bus@0 {
compatible = "nuvoton,npcm750-peci";
reg = <0x0 0x200>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM7XX_CLK_APB3>;
status = "disabled";
};
};

spi0: spi@200000 {
compatible = "nuvoton,npcm750-pspi";
reg = <0x200000 0x1000>;
@@ -362,6 +517,15 @@
status = "disabled";
};

otp:otp@189000 {
compatible = "nuvoton,npcm750-otp";
reg = <0x189000 0x1000
0x18a000 0x1000>;
status = "disabled";
clocks = <&clk NPCM7XX_CLK_APB4>;
clock-names = "clk_apb4";
};

i2c0: i2c@80000 {
reg = <0x80000 0x1000>;
compatible = "nuvoton,npcm750-i2c";
@@ -553,6 +717,11 @@
pinctrl-0 = <&smb15_pins>;
status = "disabled";
};

gfxi: gfxi@f000e000 {
compatible = "nuvoton,npcm750-gfxi", "syscon", "simple-mfd";
reg = <0xf000e000 0x100>;
};
};
};

Loading