From patchwork Mon Aug 14 08:07:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 13352509 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 31C8BC001DB for ; Mon, 14 Aug 2023 08:07:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jDOSpB+vYG4U3JdA2+uUY0sPRhz5Nvl7SGDVG7tFRbU=; b=FPjyeyw7LLpLFY UKRr0oEpRHP1zu5Y87KWBltnrPrdR4Rod/wQUZI7Q9YnX/6eLampudFCVc7AJF+hoDXwCAVe9FKDf V63OLruv/fAaJKxi6csLwEO84FSyPE+ic47kz24CZ7AOT+Jo/jMpeiRNcLdIEW/xA4Y32NnL4917u vBlfiumS6pxCb4yDwEGr69OENmlnVqbZLHRIh7qsvm9PNkuyO59AR5lQokGezOtRTrM8Evy4oQn2o pWIq6K9bw3VSLtRxQKcGrwceJzKTbAHcRNaBnqEK2AoSz0orPapAdLJx0uJgGROPrl7nSa8zmnwOX 4dpa040sSBdSUdGp5k8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVSbi-00GRI3-2f; Mon, 14 Aug 2023 08:07:22 +0000 Received: from relay02.th.seeweb.it ([2001:4b7a:2000:18::163]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVSbY-00GRC4-15 for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2023 08:07:15 +0000 Received: from [192.168.2.137] (bband-dyn221.178-41-211.t-com.sk [178.41.211.221]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id 079CD1F4BE; Mon, 14 Aug 2023 10:07:07 +0200 (CEST) From: Martin Botka Subject: [PATCH v5 0/4] Add BigTreeTech CB1 SoM & Boards Date: Mon, 14 Aug 2023 10:07:02 +0200 Message-Id: <20230814-b4-cb1-v5-0-92135086dee4@somainline.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAKbg2WQC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyTHUUlJIzE vPSU3UzU4B8JSMDI2MDC0MT3SQT3eQkQ12TJEMLCwPD1OQ0s1QloOKCotS0zAqwQdGxtbUA//C wfVgAAAA= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Andre Przywara , Alan Ma , Marijn Suijten , AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Krzysztof Kozlowski , Martin Botka X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1692000426; l=2344; i=martin.botka@somainline.org; s=20230811; h=from:subject:message-id; bh=uEwP4jo6TH+QjVJWQT6L+L8biQbJRkXmuxPK/nnlFmg=; b=DYCatsWExNs5EGXFDh+qr9uVmxU1YRJVyvRDCFfCAyJsalTAmvU6g6vqSzUWwjR/HeUXjUfhh KwlCJ4Tt5jpDTXc+uSm06k2rZRbPL9N44PuadpaqZ3ZWAwRmw9+VK5h X-Developer-Key: i=martin.botka@somainline.org; a=ed25519; pk=aTCd3jmwU8GrJidWg3DSKLpdVMcpFzXzCSLXLR6NtWU= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230814_010712_570235_4E4E76AC X-CRM114-Status: GOOD ( 11.49 ) 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 Hello, This series adds a vendor prefix for BigTreeTech and adds BigTreeTech CB1, Manta board and BigTreeTech Pi. CB1 is just an SoM thats based on AllWinner H616. BigTreeTech Manta boards are expander boards for CB1 and BigTreeTech Pi is an CB1 in Rpi style with few additional things like IR receiver and fan port on GPIO. This work started before I was hired by BigTreeTech and thus majority of the patches are from SoMainline email and few are from my work email. This series depends on commit https://lkml.org/lkml/2023/8/2/801 "dt-bindings: mfd: x-powers,axp152: make interrupt optional for more chips". Due to the threading issues v5 is sent via my SoMainline email. Cheers, Martin Signed-off-by: Martin Botka --- Changes in v4: - Extend the range of vcc-dram to 1.5V (Max of 1.35V caused issues with booting up) Changes in v3: - Add missed semicolons - Move model string from dtsi to board dts - Add cb1 compatible to manta - Remove extra empty lines - Add pinctrl for SPI0 Changes in v2: - Fix alphabetical order in vendor prefixes - Remove CB1 SoM from bindings (Its not standalone) - Fixed whitespace errors - Move UART into carrier boards and BTT Pi - Remove usb1-vbus regulator - Fix ranges and naming of AXP313A rails - Add comment why broken-cb in mmc0 is needed - Rename sdio_wifi to wifi - Add model string to BTT Pi - Enable IR receiver for BTT Pi - Enable SPI0 --- Martin Botka (4): dt-bindings: vendor-prefixes: Add BigTreeTech dt-bindings: arm: sunxi: Add BigTreeTech boards arm64: dts: allwinner: h616: Add BigTreeTech CB1 SoM & boards support arm64: dts: allwinner: h616: Add BigTreeTech Pi support Documentation/devicetree/bindings/arm/sunxi.yaml | 11 ++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/allwinner/Makefile | 2 + .../sun50i-h616-bigtreetech-cb1-manta.dts | 35 ++++++ .../dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi | 138 +++++++++++++++++++++ .../dts/allwinner/sun50i-h616-bigtreetech-pi.dts | 70 +++++++++++ 6 files changed, 258 insertions(+) --- base-commit: 7935746bb793571417f832f0f1c8852cfdfccc06 change-id: 20230814-b4-cb1-4b18801ecf6e Best regards,