Message ID | 20190409002452.14551-1-megous@megous.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8B3DB1390 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 9 Apr 2019 00:27:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D9FB286B1 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 9 Apr 2019 00:27:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5FDE6287CB; Tue, 9 Apr 2019 00:27:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=2.0 tests=BAYES_00,DKIM_ADSP_DISCARD, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D8582286B1 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 9 Apr 2019 00:27:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :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=V4wQWb2Z2HQYoGGR48ry1w6Shgnmul5jISfJrdHu3ZQ=; b=tNyv3U0DSElzZU FWxRhV5p0LolV24tP2d/KDOuS/yC/WyuJiny16e6iDVL2xRbCUaB2ZZL0wi0+Hlpu5Ed1D7/FKkbJ y2t7Zh84edKbY4VB4y8WRZLGy+mYxoWiyd3+822UeWDwy1Zbi0/FHyHn68MMyUtRvolxHhsj6o3mU 3Hmh5aNjEn03MgHF9hTc1CgGbd+dIKJDmkfqtZEM06ww8Wpe10L2e/QXZEUO4/b+YkRqq0vDNDMBn nOLVOq7DBvTDZNd0m10KDO+L8AWDv0UBRJMpnDMSPB2AG2q6Btuxj9C9ADC4cdQSMaceSrBLowr1f fFuWWPCrYFazcL6XF3aw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDebV-0004UT-2C; Tue, 09 Apr 2019 00:27:09 +0000 Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDeZS-0000zp-Mc for linux-arm-kernel@lists.infradead.org; Tue, 09 Apr 2019 00:25:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1554769497; bh=kTkUEE4b8KfN2+bg+NMY2jHHocg8Jgi0MH//+uZ9Pms=; h=From:To:Cc:Subject:Date:From; b=QMEK3GyT2a9UbuSHWmgQPnm3SRje+CVi5a11ZIqfocCP0AxDLCr5ilQSg+/cd5jKP s9JpuxALHqYyUpCF+Z8+sndfXkm3ZZE92cRv34K7vD3Mwl24gihECNaN+5I3D28o2d syLQAiRXlc9bVqyLxtlk5YGoOK6z9Akt+k+o3jJU= From: megous@megous.com To: linux-sunxi@googlegroups.com, Maxime Ripard <maxime.ripard@bootlin.com>, Chen-Yu Tsai <wens@csie.org>, Rob Herring <robh+dt@kernel.org>, Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH v2 00/13] Add support for Orange Pi 3 Date: Tue, 9 Apr 2019 02:24:39 +0200 Message-Id: <20190409002452.14551-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190408_172503_113158_1E38EF6C X-CRM114-Status: GOOD ( 15.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Ondrej Jirman <megous@megous.com>, Mark Rutland <mark.rutland@arm.com>, David Airlie <airlied@linux.ie>, Chi-Hsien Lin <chi-hsien.lin@cypress.com>, dri-devel@lists.freedesktop.org, linux-stm32@st-md-mailman.stormreply.com, brcm80211-dev-list@cypress.com, Jose Abreu <joabreu@synopsys.com>, Naveen Gupta <naveen.gupta@cypress.com>, devicetree@vger.kernel.org, Arend van Spriel <arend.vanspriel@broadcom.com>, Alexandre Torgue <alexandre.torgue@st.com>, Hante Meuleman <hante.meuleman@broadcom.com>, linux-gpio@vger.kernel.org, Wright Feng <wright.feng@cypress.com>, Giuseppe Cavallaro <peppe.cavallaro@st.com>, linux-arm-kernel@lists.infradead.org, Franky Lin <franky.lin@broadcom.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, brcm80211-dev-list.pdl@broadcom.com, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Kalle Valo <kvalo@codeaurora.org>, Daniel Vetter <daniel@ffwll.ch>, "David S. Miller" <davem@davemloft.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Add support for Orange Pi 3
|
expand
|
From: Ondrej Jirman <megous@megous.com> This series implements support for Xunlong Orange Pi 3 board. Unfortunately, this board needs some small driver patches, so I have split the boards DT patch into chunks that require patches for drivers in various subsystems. In v2 of this series I've reordered the patches and I've put less controversial patches first. Suggested merging plan/dependencies: - Basic board dts can work alone. (patches 1-2) - Pinctrl and stmmac patches are needed for ethernet support. (patches 3-7) - HDMI depends on sorting out how to model DDC voltage shifter in DT, which is not clear yet. (patches 8-10) - WiFi stuff will have to wait for H6 RTC patches, which in turn depend on ChenYu's RTC series, to be merged. That will take a while yet. I'm just keeping them in the series for completness. (patches 11-13) This patch is also needed to not get segfault on boot (it was already merged a day ago or so): https://lkml.org/lkml/2019/4/5/856 Changes in v2: - added dt-bindings documentation for the board's compatible string (suggested by Clement) - addressed checkpatch warnings and code formatting issues (on Maxime's suggestions) - stmmac: dropped useless parenthesis, reworded description of the patch (suggested by Sergei) - drop useles dev_info() about the selected io bias voltage - docummented io voltage bias selection variant macros - wifi: marked WiFi DTS patch and realted mmc1_pins as "DO NOT MERGE", because wifi depends on H6 RTC support that's not merged yet (suggested by Clement) - added missing signed-of-bys - changed &usb2otg dr_mode to otg, and added a note about VBUS - improved wording of HDMI driver's DDC power supply patch Open questions ATM: - should mmc1_pins be default pinconf for mmc1? - how to model DDC IO voltage shifter enable signal for HDMI? (it's not really a power supply, but it's modelled as one in the patches for now) Please take a look. thank you and regards, Ondrej Jirman Icenowy Zheng (2): net: stmmac: sun8i: add support for Allwinner H6 EMAC net: stmmac: sun8i: force select external PHY when no internal one Ondrej Jirman (11): dt-bindings: sunxi: Add compatible for OrangePi 3 board arm64: dts: allwinner: h6: Add Orange Pi 3 DTS pinctrl: sunxi: Prepare for alternative bias voltage setting methods pinctrl: sunxi: Support I/O bias voltage setting on H6 arm64: dts: allwinner: orange-pi-3: Enable ethernet drm: sun4i: Add support for enabling DDC I2C bus to dw_hdmi glue dt-bindings: display: sun4i-drm: Add DDC power supply arm64: dts: allwinner: orange-pi-3: Enable HDMI output brcmfmac: Loading the correct firmware for brcm43456 [DO NOT MERGE] arm64: dts: allwinner: h6: Add MMC1 pins [DO NOT MERGE] arm64: dts: allwinner: orange-pi-3: Enable WiFi .../devicetree/bindings/arm/sunxi.yaml | 5 + .../bindings/display/sunxi/sun4i-drm.txt | 1 + arch/arm64/boot/dts/allwinner/Makefile | 1 + .../dts/allwinner/sun50i-h6-orangepi-3.dts | 343 ++++++++++++++++++ arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 8 + drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 17 +- drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h | 1 + .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 21 ++ .../broadcom/brcm80211/brcmfmac/sdio.c | 4 +- drivers/pinctrl/sunxi/pinctrl-sun50i-h6.c | 1 + drivers/pinctrl/sunxi/pinctrl-sun9i-a80.c | 2 +- drivers/pinctrl/sunxi/pinctrl-sunxi.c | 49 ++- drivers/pinctrl/sunxi/pinctrl-sunxi.h | 9 +- 13 files changed, 441 insertions(+), 21 deletions(-) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts