[PATCH v5 05/12] arm64: dts: broadcom: bcmbca: Add NAND controller node
Rafał Miłecki
rafal at milecki.pl
Thu Feb 22 00:27:30 PST 2024
On 2024-02-07 21:22, William Zhang wrote:
> diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
> b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
> index 2f124b027bbf..336016e334d9 100644
> --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
> +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
> @@ -589,7 +589,7 @@ hsspi: spi at 1000 {
> status = "disabled";
> };
>
> - nand-controller at 1800 {
> + nand_controller: nand-controller at 1800 {
> #address-cells = <1>;
> #size-cells = <0>;
> compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1",
> "brcm,brcmnand";
> @@ -597,7 +597,7 @@ nand-controller at 1800 {
> reg-names = "nand", "nand-int-base";
> interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
> interrupt-names = "nand_ctlrdy";
> - status = "okay";
> + status = "disabled";
>
> nandcs: nand at 0 {
> compatible = "brcm,nandcs";
You disable NAND controller here breaking support for all dependant
devices.
I see you fix it afterwards in PATCH 06/12 but it's still a poor way of
handling such change and this issue can be hit e.g. during git bisect.
Also: given that 99% of BCM4908 devices use NAND controller can we just
save ourselves efforts and keep it enabled in .dtsi?
--
Rafał Miłecki
More information about the linux-mtd
mailing list