From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8F93CC369D7 for ; Thu, 24 Apr 2025 10:52:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=S9HOt8K1x3ctE3BWSKA9qeH3oq86sKFq23Km/AG9m9c=; b=ABDYpFcjmwtMBAuHRi4p1V/Qop Ply/ZmcGUsmQnbbIc3luq35FPUA84fXisahlRqj0aAeGWF/qpyWORnH1yn2DpqQq2uPOryIn4RPlK 2YnSCYCJpPirbDDMg7xzeYxcHM1CvCj1rtWUE5G16Cudduo89F3rFjc4qCn+RQxV7zsIFnJ1S5/AU Ftb84K0oDY9FGkndK6tZKF3V76kvUaGSYeA436TIe+KX5wwkg9O1TLzdsJ+FZ/g6toMBI+djpRCQO zJofW0RehdX7k1F/9bYt+M0Cz41fyHgGpaZg3UVxTn/UnMQqT4SWk2HWvpQAAs6yMuqZyDloHGUoX p2UPmr2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1u7uBo-0000000Dl1t-1L7f; Thu, 24 Apr 2025 10:52:20 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1u7scD-0000000DShJ-38HS for linux-arm-kernel@lists.infradead.org; Thu, 24 Apr 2025 09:11:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1745485887; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=S9HOt8K1x3ctE3BWSKA9qeH3oq86sKFq23Km/AG9m9c=; b=TZdjTGGcGrUHiUkxUuhIunpVridkjD7XXrkiVfz4ivEQmnEP8DbVYCxT031DzigF5W8P0k Hmg1t7ngSt7Zh8/kCfit5DEvBhw6ovqHdOvT92WtA3yK8cIFwQu2iJ/9Gv6DaDkcaFjfDI TICTOlGceAsOPo9qBxKKhmdr7BxnD98= Received: from mail-ot1-f69.google.com (mail-ot1-f69.google.com [209.85.210.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-78-B5Ez2r2uMR-_ZDFBgYctVQ-1; Thu, 24 Apr 2025 05:11:26 -0400 X-MC-Unique: B5Ez2r2uMR-_ZDFBgYctVQ-1 X-Mimecast-MFC-AGG-ID: B5Ez2r2uMR-_ZDFBgYctVQ_1745485885 Received: by mail-ot1-f69.google.com with SMTP id 46e09a7af769-72b7c2161ceso196916a34.0 for ; Thu, 24 Apr 2025 02:11:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745485885; x=1746090685; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S9HOt8K1x3ctE3BWSKA9qeH3oq86sKFq23Km/AG9m9c=; b=MSOYCnulbB8exFNV6BWQDkSGYK7o92JY7hqnILqNavkE0cQ7kfc7f5dGpP7rzCMyxg 2aeUBvlOGAvMypxEzdwuoMq7IRhSP+9cvql2uy6lW4YFQqknUbnSdRuzbINIE+bYjdPE 3mJ7PpKzbBGz5IdXvqfhz6TNqlTuxa+/edeBbp+Bnmc9CqiAefz60sufcSjea1cA9cez EnBZ6I2cGLUn2sgvvGwrWMgHUh+NfVau4kTgFjPjJcyXrsQxggjq/paOp9ofP/kEzVc1 uw21hM6U3M9cRKJM8IpRTX3c+FedMW6EgzYKbu+ABv6KXZQGov+3TxsK6iZIa5CSqTTK 17NA== X-Forwarded-Encrypted: i=1; AJvYcCX+0ikMrLeNtQj0LH9lwVbobZSihxbR10WUpTLAWbm/6Z0r0D3or/sAliopW021g2/FmSa12pLnPjpUuCr2uk+A@lists.infradead.org X-Gm-Message-State: AOJu0YyiwcPQGu9aj1YIKMMUfVBrOOaDJrqeDO197GuB0hBYtiJ57rgu eJ66cx63S22d0m7gEvge3L6dX6v8mlzj+0RjE8viPbc8tCE/qePN1Rr6zC43a007vjnTJURopqN 0qNKfmrGeh6cpGnJWprlZrzP5HnMd7Orj/aG3MbtZPGsB9kuHiqktGWjeEI3JymVPa+YxfUd1Jk SRvmNBtlRPc6uuwLjqi3Q45iH1tMoV6XutSAui6nRww8FXR9A= X-Gm-Gg: ASbGncshIGS1Mfpx2TqS6Bwd6vpdrkCUq6k2DdnTe4i3cin4dQGUvHBZpQAGwVpQxbX +HcEaP8Boun/BFO1Fzx+AQ8ApJleL5A5uxlFF4qfT+zAFT5xmdFM5FqUQdBuH68jdQp0= X-Received: by 2002:a05:6871:7406:b0:2c8:234d:971b with SMTP id 586e51a60fabf-2d96e6aa4ebmr380765fac.9.1745485885543; Thu, 24 Apr 2025 02:11:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFK7qUeJJwQjklraK2nHiUwpH65h8T9xweuQl27N0LwRhvIakqeaQOVUhg1tEDsLwCPFdAeBvDc3b678FCalLc= X-Received: by 2002:a05:6871:7406:b0:2c8:234d:971b with SMTP id 586e51a60fabf-2d96e6aa4ebmr380751fac.9.1745485885149; Thu, 24 Apr 2025 02:11:25 -0700 (PDT) MIME-Version: 1.0 References: <20250415072724.3565533-1-peter.chen@cixtech.com> In-Reply-To: <20250415072724.3565533-1-peter.chen@cixtech.com> From: Enric Balletbo i Serra Date: Thu, 24 Apr 2025 11:11:00 +0200 X-Gm-Features: ATxdqUE5d3FPvXzpICK8B6GZkItGWuDz2HbxbB6ClXETUq4KFHFcvwKgyIo7a18 Message-ID: Subject: Re: [PATCH v6 00/10] arm64: Introduce CIX P1 (SKY1) SoC To: Peter Chen Cc: soc@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, jassisinghbrar@gmail.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, cix-kernel-upstream@cixtech.com, maz@kernel.org, kajetan.puchalski@arm.com X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: -pck7QSKujRjX-pshsDziWGoIuYYFWFgEdaHkp0XkuQ_1745485885 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250424_021129_867889_98C92464 X-CRM114-Status: GOOD ( 25.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Peter, On Tue, Apr 15, 2025 at 9:30=E2=80=AFAM Peter Chen = wrote: > > Cixtech P1 (internal name sky1) is high performance generic Armv9 SoC. > Orion O6 is the Arm V9 Motherboard built by Radxa. You could find brief > introduction for SoC and related boards at: > https://radxa.com/products/orion/o6#overview > > In this series, we add initial SoC and board support for Kernel building. > Patch 1-2: add dt-binding doc for CIX and its sky1 SoC > Patch 3-4: add Arm64 build support > Patch 5-7: add CIX mailbox driver which needs to support SCMI clock proto= col. > Patch 8-9: add initial dts support for SoC and Orion O6 board Many thanks for these patches, with these I was able to run the latest mainline kernel on boot to the console on my Orion O6 board. I think others already tested just wanted to point out if you can keep me in the loop, thanks. If you feel is useful you can add: Tested-by: Enric Balletbo i Serra Thanks, Enric > Patch 10: add MAINTAINERS entry > > Currently, to run upstream kernel at Orion O6 board, you need to > use BIOS released by Radxa, and add "clk_ignore_unused=3D1" at bootargs. > https://docs.radxa.com/en/orion/o6/bios/install-bios > > Changes for v6: > - Rebase to v6.15-rc2 > - Add mailbox driver > - Add device tree description for uart, mailbox and scmi firmware (for cl= ock). > > Changes for v5: > - Patch 5: Delete pmu-spe node which need to refine, and add it in future > - Patch 6: Refine MAINTAINERS for all CIX SoC and adding code tree locati= on > > Changes for v4: > - Move add MAINTAINERS entry patch to the last, and add two dts files ent= ry in it. > - Add three Krzysztof Kozlowski's Reviewed-by Tags > - For sky1.dtsi, makes below changes: > - Add ppi-partition entry for gic-v3 node, and let pmu-a520 and p= mu-a720's interrupt entry > get its handle > - Remove gic-v3's #redistributor-regions and redistributor-stride= properties > - Change gic-v3's #interrupt-cells as 4, and change all interrupt= specifiers accordingly > - Remove "arm,no-tick-in-suspend" for timer due to global counter= is at always-on power domain > - Remove timer's clock frequency due to firmware has already set = it > > Changes for v3: > - Patch 1: Add Krzysztof Kozlowski's Acked-by Tag > - Patch 2: Add Krzysztof Kozlowski's Reviewed-by Tag > - Patch 6: Fix two dts coding sytle issues > > Changes for v2: > - Pass dts build check with below commands: > make O=3D$OUTKNL dt_binding_check DT_SCHEMA_FILES=3Dvendor-prefixes.yaml > make O=3D$OUTKNL dt_binding_check DT_SCHEMA_FILES=3Darm/cix.yaml > make O=3D$OUTKNL CHECK_DTBS=3Dy W=3D1 cix/sky1-orion-o6.dtb > - Re-order the patch set, and move vendor-perfixes to the 1st patch. > - Patch 4: Ordered Kconfig config entry by alpha-numerically > - Patch 5: Corrects the Ack tag's name > - Patch 6: see below. > 1) Corrects the SoF tag's name > 2) Fix several coding sytle issues > 3) move linux,cma node to dts file > 4) delete memory node, memory size is passed by firmware > 5) delete uart2 node which will be added in future patches > 6) Improve for pmu and cpu node to stands for more specific cpu model > 7) Improve the timer node and add hypervisor virtual timer irq > > Fugang Duan (1): > arm64: Kconfig: add ARCH_CIX for cix silicons > > Gary Yang (1): > dt-bindings: clock: cix: Add CIX sky1 scmi clock id > > Guomin Chen (2): > dt-bindings: mailbox: add cix,sky1-mbox > mailbox: add CIX mailbox driver > > Peter Chen (6): > dt-bindings: vendor-prefixes: Add CIX Technology Group Co., Ltd. > dt-bindings: arm: add CIX P1 (SKY1) SoC > arm64: defconfig: Enable CIX SoC > arm64: defconfig: enable CIX mailbox > arm64: dts: cix: add initial CIX P1(SKY1) dts support > MAINTAINERS: Add CIX SoC maintainer entry > > .../devicetree/bindings/arm/cix.yaml | 26 + > .../bindings/mailbox/cix,sky1-mbox.yaml | 71 ++ > .../devicetree/bindings/vendor-prefixes.yaml | 2 + > MAINTAINERS | 11 + > arch/arm64/Kconfig.platforms | 6 + > arch/arm64/boot/dts/Makefile | 1 + > arch/arm64/boot/dts/cix/Makefile | 2 + > arch/arm64/boot/dts/cix/sky1-orion-o6.dts | 39 ++ > arch/arm64/boot/dts/cix/sky1.dtsi | 335 ++++++++++ > arch/arm64/configs/defconfig | 2 + > drivers/mailbox/Kconfig | 10 + > drivers/mailbox/Makefile | 2 + > drivers/mailbox/cix-mailbox.c | 632 ++++++++++++++++++ > include/dt-bindings/clock/sky1-clk.h | 279 ++++++++ > 14 files changed, 1418 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/cix.yaml > create mode 100644 Documentation/devicetree/bindings/mailbox/cix,sky1-mb= ox.yaml > create mode 100644 arch/arm64/boot/dts/cix/Makefile > create mode 100644 arch/arm64/boot/dts/cix/sky1-orion-o6.dts > create mode 100644 arch/arm64/boot/dts/cix/sky1.dtsi > create mode 100644 drivers/mailbox/cix-mailbox.c > create mode 100644 include/dt-bindings/clock/sky1-clk.h > > -- > 2.25.1 > >