ARM: tegra: remove UART5/UARTE from tegra124.dtsi
PATCH 1/3 ARM: tegra: remove UART5/UARTE from tegra124.dtsi
From: Stephen Warren <[email protected]>
Tegra124 only has 4 UARTs. Parts of the documentation hint at a fifth UART, but this appears to be left-over from earlier SoC documentation. Remove the non-existent DT node for UART5.
--- arch/arm/boot/dts/tegra124.dtsi | 13 ------------- 1 file changed, 13 deletions(-)
arch/arm/boot/dts/tegra124.dtsi +0 -13
@@ -233,19 +233,6 @@ status = "disabled"; }; - serial at 0,70006400 { - compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; - reg = <0x0 0x70006400 0x0 0x40>; - reg-shift = <2>; - interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&tegra_car TEGRA124_CLK_UARTE>; - resets = <&tegra_car 66>; - reset-names = "serial"; - dmas = <&apbdma 20>, <&apbdma 20>; - dma-names = "rx", "tx"; - status = "disabled"; - }; - pwm at 0,7000a000 { compatible = "nvidia,tegra124-pwm", "nvidia,tegra20-pwm"; reg = <0x0 0x7000a000 0x0 0x100>;
Signature · 1 line
1.8.1.5
PATCH 1/3 ARM: tegra: remove UART5/UARTE from tegra124.dtsi
Quoted 5 lines · Stephen Warren
From: Stephen Warren <[email protected]>
Tegra124 only has 4 UARTs. Parts of the documentation hint at a fifth UART, but this appears to be left-over from earlier SoC documentation. Remove the non-existent DT node for UART5.
arm-soc maintainers, I'm hoping this will be applied as a fix for v3.15 through the arm-soc tree. Do you want me to send a pull request with the series? Patch 2/3 does touch files in drivers/clk; are you waiting for Mike's ack on it? It already has Peter's ack as Tegra clock driver maintainer.
Thanks.
PATCH 2/3 clk: tegra: remove non-existent clocks
In reply to Stephen WarrenFrom: Stephen Warren <[email protected]>
The Tegra124 clock driver currently provides 3 clocks that don't actually exist; 2 for NAND and one for UART5/UARTE. Delete these.
--- drivers/clk/tegra/clk-tegra124.c | 3 --- 1 file changed, 3 deletions(-)
drivers/clk/tegra/clk-tegra124.c +0 -3
@@ -764,7 +764,6 @@ static struct tegra_clk tegra124_clks[tegra_clk_max] __initdata = { [tegra_clk_sdmmc2_8] = { .dt_id = TEGRA124_CLK_SDMMC2, .present = true }, [tegra_clk_i2s1] = { .dt_id = TEGRA124_CLK_I2S1, .present = true }, [tegra_clk_i2c1] = { .dt_id = TEGRA124_CLK_I2C1, .present = true }, - [tegra_clk_ndflash] = { .dt_id = TEGRA124_CLK_NDFLASH, .present = true }, [tegra_clk_sdmmc1_8] = { .dt_id = TEGRA124_CLK_SDMMC1, .present = true }, [tegra_clk_sdmmc4_8] = { .dt_id = TEGRA124_CLK_SDMMC4, .present = true }, [tegra_clk_pwm] = { .dt_id = TEGRA124_CLK_PWM, .present = true },
@@ -809,7 +808,6 @@ static struct tegra_clk tegra124_clks[tegra_clk_max] __initdata = { [tegra_clk_trace] = { .dt_id = TEGRA124_CLK_TRACE, .present = true }, [tegra_clk_soc_therm] = { .dt_id = TEGRA124_CLK_SOC_THERM, .present = true }, [tegra_clk_dtv] = { .dt_id = TEGRA124_CLK_DTV, .present = true }, - [tegra_clk_ndspeed] = { .dt_id = TEGRA124_CLK_NDSPEED, .present = true }, [tegra_clk_i2cslow] = { .dt_id = TEGRA124_CLK_I2CSLOW, .present = true }, [tegra_clk_dsib] = { .dt_id = TEGRA124_CLK_DSIB, .present = true }, [tegra_clk_tsec] = { .dt_id = TEGRA124_CLK_TSEC, .present = true },
@@ -952,7 +950,6 @@ static struct tegra_clk tegra124_clks[tegra_clk_max] __initdata = { [tegra_clk_clk_out_3_mux] = { .dt_id = TEGRA124_CLK_CLK_OUT_3_MUX, .present = true }, [tegra_clk_dsia_mux] = { .dt_id = TEGRA124_CLK_DSIA_MUX, .present = true }, [tegra_clk_dsib_mux] = { .dt_id = TEGRA124_CLK_DSIB_MUX, .present = true }, - [tegra_clk_uarte] = { .dt_id = TEGRA124_CLK_UARTE, .present = true }, };static struct tegra_devclk devclks[]__initdata = {
Signature · 1 line
1.8.1.5
PATCH 2/3 clk: tegra: remove non-existent clocks
Quoted 7 lines · Stephen Warren
From: Stephen Warren <[email protected]>
The Tegra124 clock driver currently provides 3 clocks that don't actually exist; 2 for NAND and one for UART5/UARTE. Delete these.
Cc <[email protected]>Signed-off-by Stephen Warren <[email protected]>
Cheers,
Peter.
PATCH 2/3 clk: tegra: remove non-existent clocks
In reply to Stephen WarrenQuoted 4 lines · Stephen Warren
From: Stephen Warren <[email protected]>
The Tegra124 clock driver currently provides 3 clocks that don't actually exist; 2 for NAND and one for UART5/UARTE. Delete these.
Mike, are you OK with this patch? Can I get your ack so this patch can be taken into a branch with a couple other patches that it depends or or depend on it.
arm-soc, I was hoping this whole series would get applied for 3.15 through the arm-soc tree. Is there any issue with that?
PATCH 3/3 dt: tegra: remove non-existent clock IDs
In reply to Stephen WarrenFrom: Stephen Warren <[email protected]>
The Tegra124 clock DT binding currently provides 3 clocks that don't actually exist; 2 for NAND and one for UART5/UARTE. Delete these. While this is technically an incompatible DT ABI change, nothing could have used these clock IDs for anything practical, since the HW doesn't exist.
---
This depends on the previous 2 patches. Either all the patches can be taken through the same tree with acks, or we can hold of applying this patch until the other two make it into Linus' tree.
--- include/dt-bindings/clock/tegra124-car.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
include/dt-bindings/clock/tegra124-car.h +3 -3
@@ -29,7 +29,7 @@/* 10 (register bit affects spdif_in and spdif_out) */ #define TEGRA124_CLK_I2S1 11#define TEGRA124_CLK_I2C1 12 -#define TEGRA124_CLK_NDFLASH 13 +/* 13 */ #define TEGRA124_CLK_SDMMC1 14#define TEGRA124_CLK_SDMMC4 15/* 16 */
@@ -83,7 +83,7 @@/* 64 */ #define TEGRA124_CLK_UARTD 65 -#define TEGRA124_CLK_UARTE 66 +/* 66 */ #define TEGRA124_CLK_I2C3 67#define TEGRA124_CLK_SBC4 68#define TEGRA124_CLK_SDMMC3 69
@@ -97,7 +97,7 @@#define TEGRA124_CLK_TRACE 77#define TEGRA124_CLK_SOC_THERM 78#define TEGRA124_CLK_DTV 79 -#define TEGRA124_CLK_NDSPEED 80 +/* 80 */ #define TEGRA124_CLK_I2CSLOW 81#define TEGRA124_CLK_DSIB 82#define TEGRA124_CLK_TSEC 83
Signature · 1 line
1.8.1.5