[PW_SID:1127200] Add remaining IO expansions on Lichee Pi 4A#2279
[PW_SID:1127200] Add remaining IO expansions on Lichee Pi 4A#2279linux-riscv-bot wants to merge 6 commits into
Conversation
The I2C1 node added previously to the th1520.dtsi file has two clocks set -- one "ref" clock (CLK_I2C1) and one "pclk" (CLK_PERI_APB_PCLK). However, the CLK_I2C1 clock is just a clock gate with the CLK_PERI_APB_PCLK clock as its input. In addition, when it's gated, reading registers from the I2C controller returns fixed value (the last read value) for all registers. These facts indicate that the CLK_I2C1 clock is the true APB clock fed into the I2C controller instead of a dedicated reference clock. Leave only the CLK_I2C1 clock as the `clocks` property of the I2C1 device node and remove `clock-names` property, which represents the I2C controller only takes a single clock both as the APB clock and the reference clock. Fixes: 2f60e35 ("riscv: dts: thead: Add TH1520 I2C1 controller") Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add nodes for the remaining five I2C controllers on the T-Head TH1520 RISCV SoC. Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com> Reviewed-by: Drew Fustini <dfustini@tenstorrent.com> [Icenowy: rebase and reword commit message to exclude I2C1] Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Although "D", "H" and "I" are earlier in the alphabet than "P", the DPU, HDMI and I2C1 nodes were added after PADCTRL nodes in the Lichee Pi 4A device tree; in addition the PADCTRL1 node is placed before the PADCTRL0 one. Sort the nodes in this device tree. Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add labels for GPIOs on the IO expansion chip on the I2C1 bus. Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> [Icenowy: Splitted off the patch adding all 3 IO expansions] Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Lichee Pi 4A has 3 I2C IO expansion chips onboard, connected to the I2C0/1/3 busses. The I2C1 one is already added to the device tree, but the I2C0/3 ones are not yet added. Add device tree nodes for them. Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> [Icenowy: added commit description, enable SoC pull-up, remove I2C1 and aliases] Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v2,1/5] riscv: dts: thead: th1520: remove pclk for I2C1" |
|
Patch 1: "[v2,1/5] riscv: dts: thead: th1520: remove pclk for I2C1" |
|
Patch 1: "[v2,1/5] riscv: dts: thead: th1520: remove pclk for I2C1" |
|
Patch 1: "[v2,1/5] riscv: dts: thead: th1520: remove pclk for I2C1" |
|
Patch 1: "[v2,1/5] riscv: dts: thead: th1520: remove pclk for I2C1" |
|
Patch 1: "[v2,1/5] riscv: dts: thead: th1520: remove pclk for I2C1" |
|
Patch 1: "[v2,1/5] riscv: dts: thead: th1520: remove pclk for I2C1" |
|
Patch 1: "[v2,1/5] riscv: dts: thead: th1520: remove pclk for I2C1" |
|
Patch 1: "[v2,1/5] riscv: dts: thead: th1520: remove pclk for I2C1" |
|
Patch 1: "[v2,1/5] riscv: dts: thead: th1520: remove pclk for I2C1" |
|
Patch 1: "[v2,1/5] riscv: dts: thead: th1520: remove pclk for I2C1" |
|
Patch 1: "[v2,1/5] riscv: dts: thead: th1520: remove pclk for I2C1" |
|
Patch 2: "[v2,2/5] riscv: dts: thead: Add TH1520 I2C nodes" |
|
Patch 2: "[v2,2/5] riscv: dts: thead: Add TH1520 I2C nodes" |
|
Patch 2: "[v2,2/5] riscv: dts: thead: Add TH1520 I2C nodes" |
|
Patch 2: "[v2,2/5] riscv: dts: thead: Add TH1520 I2C nodes" |
|
Patch 2: "[v2,2/5] riscv: dts: thead: Add TH1520 I2C nodes" |
|
Patch 2: "[v2,2/5] riscv: dts: thead: Add TH1520 I2C nodes" |
|
Patch 2: "[v2,2/5] riscv: dts: thead: Add TH1520 I2C nodes" |
|
Patch 2: "[v2,2/5] riscv: dts: thead: Add TH1520 I2C nodes" |
|
Patch 2: "[v2,2/5] riscv: dts: thead: Add TH1520 I2C nodes" |
|
Patch 2: "[v2,2/5] riscv: dts: thead: Add TH1520 I2C nodes" |
|
Patch 2: "[v2,2/5] riscv: dts: thead: Add TH1520 I2C nodes" |
|
Patch 2: "[v2,2/5] riscv: dts: thead: Add TH1520 I2C nodes" |
|
Patch 3: "[v2,3/5] riscv: dts: thead: lpi4a: sort nodes" |
|
Patch 3: "[v2,3/5] riscv: dts: thead: lpi4a: sort nodes" |
|
Patch 3: "[v2,3/5] riscv: dts: thead: lpi4a: sort nodes" |
|
Patch 4: "[v2,4/5] riscv: dts: thead: Add IO labels for the IO expansion on I2C1" |
|
Patch 4: "[v2,4/5] riscv: dts: thead: Add IO labels for the IO expansion on I2C1" |
|
Patch 4: "[v2,4/5] riscv: dts: thead: Add IO labels for the IO expansion on I2C1" |
|
Patch 4: "[v2,4/5] riscv: dts: thead: Add IO labels for the IO expansion on I2C1" |
|
Patch 4: "[v2,4/5] riscv: dts: thead: Add IO labels for the IO expansion on I2C1" |
|
Patch 4: "[v2,4/5] riscv: dts: thead: Add IO labels for the IO expansion on I2C1" |
|
Patch 4: "[v2,4/5] riscv: dts: thead: Add IO labels for the IO expansion on I2C1" |
|
Patch 4: "[v2,4/5] riscv: dts: thead: Add IO labels for the IO expansion on I2C1" |
|
Patch 4: "[v2,4/5] riscv: dts: thead: Add IO labels for the IO expansion on I2C1" |
|
Patch 4: "[v2,4/5] riscv: dts: thead: Add IO labels for the IO expansion on I2C1" |
|
Patch 4: "[v2,4/5] riscv: dts: thead: Add IO labels for the IO expansion on I2C1" |
|
Patch 4: "[v2,4/5] riscv: dts: thead: Add IO labels for the IO expansion on I2C1" |
|
Patch 5: "[v2,5/5] riscv: dts: thead: Add remaining Lichee Pi 4A IO expansions" |
|
Patch 5: "[v2,5/5] riscv: dts: thead: Add remaining Lichee Pi 4A IO expansions" |
|
Patch 5: "[v2,5/5] riscv: dts: thead: Add remaining Lichee Pi 4A IO expansions" |
|
Patch 5: "[v2,5/5] riscv: dts: thead: Add remaining Lichee Pi 4A IO expansions" |
|
Patch 5: "[v2,5/5] riscv: dts: thead: Add remaining Lichee Pi 4A IO expansions" |
|
Patch 5: "[v2,5/5] riscv: dts: thead: Add remaining Lichee Pi 4A IO expansions" |
|
Patch 5: "[v2,5/5] riscv: dts: thead: Add remaining Lichee Pi 4A IO expansions" |
|
Patch 5: "[v2,5/5] riscv: dts: thead: Add remaining Lichee Pi 4A IO expansions" |
|
Patch 5: "[v2,5/5] riscv: dts: thead: Add remaining Lichee Pi 4A IO expansions" |
|
Patch 5: "[v2,5/5] riscv: dts: thead: Add remaining Lichee Pi 4A IO expansions" |
|
Patch 5: "[v2,5/5] riscv: dts: thead: Add remaining Lichee Pi 4A IO expansions" |
|
Patch 5: "[v2,5/5] riscv: dts: thead: Add remaining Lichee Pi 4A IO expansions" |
f54dc6c to
f61148d
Compare
PR for series 1127200 applied to workflow__riscv__fixes
Name: Add remaining IO expansions on Lichee Pi 4A
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1127200
Version: 2