From patchwork Mon Mar 6 08:31:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13160686 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 12BAAC61DA4 for ; Mon, 6 Mar 2023 08:32:51 +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=5sMbMCll4SXFReY3+YdVNgs1pojCCA6O3mKTQk5P3V4=; b=X8n83ZnE93E9RK ZC3R8HO6mPep6xt0uF4/E3htUEYwfS18FUPJ+9jt8yvK0QCfCLqv4s7WxXO4QP0gMxLe7Tz+Zn8zK ITIeoC6vNrfWmC0wZK1zzOM8WakpXDB2OYDmuxlSfurtUg6w2QvyXkABQz/O4MPaai3yu5Js0mv0e ztmQzgWpqgoxq4QLi18jJEmFwWlLyGU37aQ5/zaFKRmx4myKNvS02huT7Bmwdk4lgGGzawZja2aiZ +CkR61ebPbjB29LAstm5se0fqpjzI2ooiwp9MBHwshKXzGe4lvO9DSG0m29vSX7M9A/5ccBnchGkk N5vDxScznggw5iaMFpLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZ6G3-00Bt7d-CQ; Mon, 06 Mar 2023 08:31:47 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZ6Fx-00Bt4r-BQ for linux-arm-kernel@lists.infradead.org; Mon, 06 Mar 2023 08:31:45 +0000 Received: by mail-wm1-x32e.google.com with SMTP id o11-20020a05600c4fcb00b003eb33ea29a8so4668011wmq.1 for ; Mon, 06 Mar 2023 00:31:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678091499; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=sZ9dX1yqOkVplS53pDQk6TsdKFFTae1EpPWYpLAyuC0=; b=xP1KgTFueGNTV5O5U+ke5w6mZZsav01et//f23TjsbOHjALthUinL2P0srbq5n28eh JE1r6R8PeQYpWA28KwdSPtgdPp2804A3WPXFPMy/hleMlaUyhIn1S/Y3l98smI9hqdsq ri6fxLbx/HALxCr6tAVLqAsaDR9zJo48z0+Ur4tSudnTLEuRne9RDNMb+6EQYR4oeYGy z9o/n6vdzjxOwRli6PmOzNhSboEMod1mvvRctxwT9OYEiZ4yg4wlaAms/ByXGXu9nq9r JG/q213yZ/JHpdkczBMF1IHVxg57iGKgOBw/DIGSpO8biVuaPymdXefpqYnFVo6rM6dh G0rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678091499; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sZ9dX1yqOkVplS53pDQk6TsdKFFTae1EpPWYpLAyuC0=; b=jWN2XmavaWr0aLSB5DsmuDnaNbxqwNBFRLV+agy+uB0+8NPR2kyl79aKF0BNkiF3e8 vyLdO3sE8Ox1IyXGiosD3vXVPLWxR7653ggWpjevd2jZzV3ZCzek5v+whVXtH4fkqkf3 xSaiiuoX9MKfgAOEo8wlO15goSFmjORX8HxMPGXyGSr42+a9id+GXq9M73PyEbffQOEP QfS+8x7GxyM2uC4CfzPa9fxOuP3hKLXJScXjBa+jqxs3nJ5qNH7uRaZMiYz7btMKJTT2 vrM8z1AgUPT8Me4+pz1YKD3HcnSW7Pk+yL+ao8+zxO/sUZk7SaS3d12zopwT3J/zWHqG Brvg== X-Gm-Message-State: AO0yUKXLk2NG7zeJbvurrYCw0Suo6X7yLH77i2FdozTBqlY2LWSeJKL4 j4tu7/P11RXBJ2b4aCNyqR55rg== X-Google-Smtp-Source: AK7set8qd06ahF3AiQWFs3rx1lzdgIlBEjQNS4dmqXxiohg8IZu2OWkrAET24Ivd8FaKR/G6PTb2OA== X-Received: by 2002:a05:600c:3505:b0:3ea:f883:53ea with SMTP id h5-20020a05600c350500b003eaf88353eamr7840614wmq.7.1678091499543; Mon, 06 Mar 2023 00:31:39 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id he11-20020a05600c540b00b003daf7721bb3sm13529724wmb.12.2023.03.06.00.31.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 00:31:39 -0800 (PST) From: Neil Armstrong Subject: [PATCH v2 0/2] arm64: amlogic: Add initial support for BPI-CM4 module with BPI-CM4IO baseboard Date: Mon, 06 Mar 2023 09:31:37 +0100 Message-Id: <20230303-topic-amlogic-upstream-bpi-cm4-v2-0-2ecfde76fc4d@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAOmkBWQC/42OQQqDMBREryJZ95cYq9Sueo/i4id+9UNMQqLSI t69qScosxjeLGZmF4kiUxKPYheRNk7sXQZ1KYSZ0I0E3GcWSqpKZsHiAxvA2fox+xrSEgln0IH BzDdoFcm6UcO9raXIJRoTgY7ozJRr3GptDkOkgd/n6qvLPHFafPycJ7byl/69t5UgoUZVYYk9N bp/WnYY/dXHUXTHcXwBuVN0feIAAAA= To: Rob Herring , Krzysztof Kozlowski , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, Neil Armstrong , Krzysztof Kozlowski , Christian Hewitt X-Mailer: b4 0.12.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230306_003142_129716_9AB1995A X-CRM114-Status: GOOD ( 11.86 ) 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 Add support for both the BananaPi BPI-CM4 module and the BananaPi baseboard which is comnpatible with the RaspberryPi CM4IO baseboard. The BananaPi BPI-CM4 module follows the CM4 specifications at [1], but with a single HDMI port and a since DSI output. The current CM4IO baseboard DT should work fine on the Raspberry CM4 baseboard and other derivatives baseboards, but proper DT should be written for other baseboards. The split is done so it's easy to describe a new CM4 baseboard, enabling only the necessary HW used on the baseboard. [1] https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf Signed-off-by: Neil Armstrong --- Changes in v2: - rebased on v6.3-rc1 - Added Tested-by, Acked-by tags - Fixed audio routing - Fixed position in makefile - Fixed emmc 1v8 regulator node name - Link to v1: https://lore.kernel.org/r/20230303-topic-amlogic-upstream-bpi-cm4-v1-0-5a23a1ade6bd@linaro.org --- Neil Armstrong (2): dt-bindings: arm: amlogic: Document the boards with the BPI-CM4 connected arm64: dts: amlogic: Add initial support for BPI-CM4 module with BPI-CM4IO baseboard Documentation/devicetree/bindings/arm/amlogic.yaml | 8 + arch/arm64/boot/dts/amlogic/Makefile | 1 + .../dts/amlogic/meson-g12b-bananapi-cm4-cm4io.dts | 165 +++++++++ .../boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi | 388 +++++++++++++++++++++ 4 files changed, 562 insertions(+) --- base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6 change-id: 20230303-topic-amlogic-upstream-bpi-cm4-92e0562f8950 Best regards,