From patchwork Wed Aug 3 17:54:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 595128 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A438EC19F28 for ; Wed, 3 Aug 2022 17:56:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238115AbiHCR4W (ORCPT ); Wed, 3 Aug 2022 13:56:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237600AbiHCR4S (ORCPT ); Wed, 3 Aug 2022 13:56:18 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABF411117D for ; Wed, 3 Aug 2022 10:56:16 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id bf13so15767355pgb.11 for ; Wed, 03 Aug 2022 10:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc; bh=UsIPjUJ8W/xmCeprXMrO3r//L0Dn1ewlLLmmcB1AHB0=; b=Qahw0AvPq2oVPu6P234+jkIQIw/Cx7TQN1v97Q7eFeLWYP2YYUaVA75qSxfeBad1Ax 5bA/Q2y4u3lYJw2atNM7euBOOojk30RcUK0tSSl/LNkw+w5TbKCE0WdD8tslpfQHL6k3 hYuX5pGW8UiZtEyO/Bg3DPuDIttOr4HDYYiPk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=UsIPjUJ8W/xmCeprXMrO3r//L0Dn1ewlLLmmcB1AHB0=; b=gJn8bKzNyOFPaXylLkraiVHAkNA0raDpnmiF5DnZBhf9ZZm2NptHDElgb9QvBM8sMO 1wkDtrq53v0AaZDitjMmH4ftFOn4TIDcr1nMLAgoNZhO9ttO6UEd5ERqbBYwOUzuj6Z0 eC/QNF/rMxskPIDiKsFMZWaVB2lkxFSjB9mTWJdWAmZueclcsoY06F8P0N4jIFkXQr8t 6tCbGpdWo2TPqMXIWSSd+mkHsqpVhGTyhZL7p3ICyGC2KBYBJ71v8SRPQiatLE2Ueui/ Yip2/7xvGimr2ej3alb+U7eCe/vghVV+EupyuSezSrt+7E67ZbfQY57QMrcRPIwKahNC evyQ== X-Gm-Message-State: AJIora+dQuvoS5K/szjXk8MfbFgdsxcfepzLY0Hf1SuGjWnfdh2PqFOp wKR4SEPfXHBv7NJAAUr1Ev4F8A== X-Google-Smtp-Source: AGRyM1vRlwaEEjulz5nWWF2i5gFsM8lha+z59kAnrMiwFYB6/4SYV/INp6JBsPg/SUzrzu68cmsX+g== X-Received: by 2002:a63:fc1c:0:b0:415:f5f1:f7a7 with SMTP id j28-20020a63fc1c000000b00415f5f1f7a7mr21944030pgi.332.1659549375531; Wed, 03 Aug 2022 10:56:15 -0700 (PDT) Received: from ubuntu-22.localdomain ([192.19.222.250]) by smtp.gmail.com with ESMTPSA id iw4-20020a170903044400b0016d150c6c6dsm2238639plb.45.2022.08.03.10.56.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Aug 2022 10:56:13 -0700 (PDT) From: William Zhang To: Linux ARM List Cc: Broadcom Kernel List , joel.peshkin@broadcom.com, dan.beygelman@broadcom.com, f.fainelli@gmail.com, krzysztof.kozlowski@linaro.org, rafal@milecki.pl, William Zhang , Rob Herring , Anand Gore , Krzysztof Kozlowski , Kursad Oney , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/9] dt-bindings: arm64: bcmbca: Update BCM4908 description Date: Wed, 3 Aug 2022 10:54:48 -0700 Message-Id: <20220803175455.47638-3-william.zhang@broadcom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220803175455.47638-1-william.zhang@broadcom.com> References: <20220803175455.47638-1-william.zhang@broadcom.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Append "brcm,bcmbca" to BCM4908 chip family compatible strings to follow the convention of BCMBCA chip and help identifying chip family. Also add a bare bone generic 4908 board compatbile string to support any 4908 based board. This is useful for board bring-up test and kernel test with CPU and memory related change. Signed-off-by: William Zhang Acked-by: Rafał Miłecki Acked-by: Rob Herring --- Changes in v3: - Add Acked-by tag Changes in v2: - Add Acked-by tag - Insert the 4908 generic compatible string in alphabetical order - Update commit message with more details of 4908 generic board dts Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml index 6a64afa95918..84866e29cab0 100644 --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml @@ -36,18 +36,22 @@ properties: - tplink,archer-c2300-v1 - const: brcm,bcm4906 - const: brcm,bcm4908 + - const: brcm,bcmbca - description: BCM4908 based boards items: - enum: - asus,gt-ac5300 + - brcm,bcm94908 - netgear,raxe500 - const: brcm,bcm4908 + - const: brcm,bcmbca - description: BCM49408 based boards items: - const: brcm,bcm49408 - const: brcm,bcm4908 + - const: brcm,bcmbca - description: BCM4912 based boards items: From patchwork Wed Aug 3 17:54:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 595127 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86E33C19F28 for ; Wed, 3 Aug 2022 17:56:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237814AbiHCR4t (ORCPT ); Wed, 3 Aug 2022 13:56:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237799AbiHCR4n (ORCPT ); Wed, 3 Aug 2022 13:56:43 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 710DD5A15E for ; Wed, 3 Aug 2022 10:56:42 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id o5-20020a17090a3d4500b001ef76490983so2911931pjf.2 for ; Wed, 03 Aug 2022 10:56:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc; bh=Txd4T8PVOK4aDgpxBDy7LyzZ0Gjw0iMOtdkyxYqvcr4=; b=IoM1YScc6r181WINYLtVLGTLvb7hGP/h7RHk3wDyi0r4tTrEPr6Hn/UAg57G02hoWp e/7a9g3WTNMquDYI8otmY+X/+yaI4p/vfbLhCoWP/E5vLPj9TWUSk3RFty/BXdMclPAH RBLbaWOoPTL0eTvbe7OqNxCx3GuASGcWBB4bA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=Txd4T8PVOK4aDgpxBDy7LyzZ0Gjw0iMOtdkyxYqvcr4=; b=cr8CLnUrtCc0eSMz2uBMTrNKXFaOUmscl9J2/QSzDCu+BaVjoFMJw23RrWGlvrZiHu 6Wt4FxPPCbay4A3BJABvrC+F7T17OeEkjYFLG2wzIvU/5Dk14XJ0Ms8It7/0Lt6qmQ2N WZJEI3bSxWX77x3RP2vQiWbSWw5LnxkuNhQ5CKgNV/X7Hm5Wp9pbLUa5MmcWA+V8Y0SG Q/sndKbnHulLMwIC3azo1Q3QtpN1qosDPid/BeGminQ3vntuxqs3X8N8aOpFmR0ifGD9 Sh4FmRVksfUjHoCK65v56YK0TgVTIoK8J7SpyqWXQQ2cfk5ZI0ErqJPLNRnz6m5GNMDu iDKA== X-Gm-Message-State: ACgBeo3U8GJcZm/3iC9NYsxGZjv75ACHhrfdwySYws5N/yXJPN9+4j3a ScX45mTz5Jt+cSi8aGnX8vhvuA== X-Google-Smtp-Source: AA6agR7tL8u2UCuuUUN1grDUOuDR5fUKUE3JGofHB+dbaqrFr/jWWlYbqzeLGQMDC8z1W0gRJpvsVw== X-Received: by 2002:a17:902:d4d1:b0:16e:ec0b:75d0 with SMTP id o17-20020a170902d4d100b0016eec0b75d0mr15411247plg.123.1659549401837; Wed, 03 Aug 2022 10:56:41 -0700 (PDT) Received: from ubuntu-22.localdomain ([192.19.222.250]) by smtp.gmail.com with ESMTPSA id iw4-20020a170903044400b0016d150c6c6dsm2238639plb.45.2022.08.03.10.56.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Aug 2022 10:56:36 -0700 (PDT) From: William Zhang To: Linux ARM List Cc: Broadcom Kernel List , joel.peshkin@broadcom.com, dan.beygelman@broadcom.com, f.fainelli@gmail.com, krzysztof.kozlowski@linaro.org, rafal@milecki.pl, William Zhang , Anand Gore , Krzysztof Kozlowski , Kursad Oney , Nicolas Saenz Julienne , Rob Herring , Stefan Wahren , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 4/9] arm64: dts: Move BCM4908 dts to bcmbca folder Date: Wed, 3 Aug 2022 10:54:50 -0700 Message-Id: <20220803175455.47638-5-william.zhang@broadcom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220803175455.47638-1-william.zhang@broadcom.com> References: <20220803175455.47638-1-william.zhang@broadcom.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org As part of ARCH_BCM4908 to ARCH_BCMBCA migration, move the BCM4908 dts files to bcmbca folder and use CONFIG_ARCH_BCMBCA to build all the BCM4908 board dts. Delete bcm4908 folder and its makefile as well. Signed-off-by: William Zhang --- (no changes since v1) arch/arm64/boot/dts/broadcom/Makefile | 1 - arch/arm64/boot/dts/broadcom/bcm4908/Makefile | 5 ----- arch/arm64/boot/dts/broadcom/bcmbca/Makefile | 4 ++++ .../broadcom/{bcm4908 => bcmbca}/bcm4906-netgear-r8000p.dts | 0 .../{bcm4908 => bcmbca}/bcm4906-tplink-archer-c2300-v1.dts | 0 .../arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906.dtsi | 0 .../broadcom/{bcm4908 => bcmbca}/bcm4908-asus-gt-ac5300.dts | 0 .../broadcom/{bcm4908 => bcmbca}/bcm4908-netgear-raxe500.dts | 0 .../arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908.dtsi | 0 9 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 arch/arm64/boot/dts/broadcom/bcm4908/Makefile rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906-netgear-r8000p.dts (100%) rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906-tplink-archer-c2300-v1.dts (100%) rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906.dtsi (100%) rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908-asus-gt-ac5300.dts (100%) rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908-netgear-raxe500.dts (100%) rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908.dtsi (100%) diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile index e8584d3b698f..05d8c5ecf3b0 100644 --- a/arch/arm64/boot/dts/broadcom/Makefile +++ b/arch/arm64/boot/dts/broadcom/Makefile @@ -8,7 +8,6 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb \ bcm2837-rpi-cm3-io3.dtb \ bcm2837-rpi-zero-2-w.dtb -subdir-y += bcm4908 subdir-y += bcmbca subdir-y += northstar2 subdir-y += stingray diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/Makefile b/arch/arm64/boot/dts/broadcom/bcm4908/Makefile deleted file mode 100644 index 6e364e304d4f..000000000000 --- a/arch/arm64/boot/dts/broadcom/bcm4908/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_BCM4908) += bcm4906-netgear-r8000p.dtb -dtb-$(CONFIG_ARCH_BCM4908) += bcm4906-tplink-archer-c2300-v1.dtb -dtb-$(CONFIG_ARCH_BCM4908) += bcm4908-asus-gt-ac5300.dtb -dtb-$(CONFIG_ARCH_BCM4908) += bcm4908-netgear-raxe500.dtb diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile index 38f14307184b..d30fa75f0611 100644 --- a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile +++ b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile @@ -1,5 +1,9 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_BCMBCA) += \ + bcm4906-netgear-r8000p.dtb \ + bcm4906-tplink-archer-c2300-v1.dtb \ + bcm4908-asus-gt-ac5300.dtb \ + bcm4908-netgear-raxe500.dtb \ bcm4912-asus-gt-ax6000.dtb \ bcm94912.dtb \ bcm963158.dtb \ diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts similarity index 100% rename from arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts rename to arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-tplink-archer-c2300-v1.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts similarity index 100% rename from arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-tplink-archer-c2300-v1.dts rename to arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906.dtsi b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906.dtsi similarity index 100% rename from arch/arm64/boot/dts/broadcom/bcm4908/bcm4906.dtsi rename to arch/arm64/boot/dts/broadcom/bcmbca/bcm4906.dtsi diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts similarity index 100% rename from arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts rename to arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-netgear-raxe500.dts similarity index 100% rename from arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts rename to arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-netgear-raxe500.dts diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi similarity index 100% rename from arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi rename to arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi