Message ID | 20221127114142.156573-1-linux@fw-web.de |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5074315wrr; Sun, 27 Nov 2022 03:49:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf7zQ+ZK/rNP9yEDfIkBnrj85YveBt1InSqv2YzOxhl7NQbkugsyItSySVJ2BKffM2eYIyfC X-Received: by 2002:a17:903:264c:b0:17c:f013:8fae with SMTP id je12-20020a170903264c00b0017cf0138faemr40933926plb.138.1669549744132; Sun, 27 Nov 2022 03:49:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669549744; cv=none; d=google.com; s=arc-20160816; b=efMnMJrOgPgha0QhiGB0Gcuu329jsNed9jQvEpxOugEhv+r0PGR9Ic0C6/T9KzqBcx tUSxDxq4Zgsz+ukO1A7Ps+NpxiDDlIc9q319tVz0wOF+zUwmjbd3jO4VrF5tDQIa2zJW gyScm9MtMcaeJfJDaFsiUg7vXECdllHdPZ8VtZjSq5m/RRxRUtZnqc7soIQ88rY69oqK C54JmjQwm7TC7D4J+nnyaOTduslJoUyHDlSCto2feevoEps0PA9hFEKSNswD7m0ARh/P 3scQAV4wX2kBsTfqzmohLaN/dJozXYwwz3pvUOQ7AOfc/e/QLw4EBRx/1zAyz5WGgHgb 60lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=k349OVoE48gwODCSz008WxiHQQGH0IaZlGYvTDJxc5E=; b=LnVMXQxDMGhAz98yJCG1mC28O7T77VM04VFFuH8lzA2bVl7xqqP9dd8UmC7bfHBVoR Zr5AkPvNX9TEWt4KFZs+eTYT8MS3q4mpRvWWDDGlX+O6JsS6TJ7GR9wgaWd6TBDSaKDN ssrQjHnzYPw3lUNaGjrcJNniE0AjgUNr+UQOLr2tjxDRnoGO4VJVBNy+ULRELeytascE LnwZxk1n8L7okh2f2TryNkunDwFQllN5aVsb92ZJv+w3qenOq82HHjS1MkrcKqwxePQh 9uliIPnmaqMNLC7ZdEGD+vqL4hCqn0vZ45Z4rigDdWMcdZ4DeFj05gT8OOxcsT+c/rqU RMJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=RZy6qm4+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v12-20020a17090abb8c00b0021923557cb0si2933244pjr.62.2022.11.27.03.48.44; Sun, 27 Nov 2022 03:49:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=RZy6qm4+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229518AbiK0LmJ (ORCPT <rfc822;chrisjones.unixmen@gmail.com> + 99 others); Sun, 27 Nov 2022 06:42:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbiK0Ll6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 27 Nov 2022 06:41:58 -0500 Received: from mxout3.routing.net (mxout3.routing.net [IPv6:2a03:2900:1:a::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 924F8B85D; Sun, 27 Nov 2022 03:41:56 -0800 (PST) Received: from mxbulk.masterlogin.de (unknown [192.168.10.85]) by mxout3.routing.net (Postfix) with ESMTP id 5FD2C6049F; Sun, 27 Nov 2022 11:41:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1669549313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=k349OVoE48gwODCSz008WxiHQQGH0IaZlGYvTDJxc5E=; b=RZy6qm4+4DH3SDLcK8KXNxCGuU2HeGprztTqRY5gnNFCoC+NR1HiQB8e9mNFbfIKS+EKdl c2cihu7sJIYT1zEWLapvwtP9mLxHoovLiV2xdFoDVKyyGvLqQZpQu3mjg4UmgNsFvklL8k UjLeJA55dnqVlpUbBv4bK4Vo5wCoxTY= Received: from frank-G5.. (fttx-pool-217.61.157.144.bambit.de [217.61.157.144]) by mxbulk.masterlogin.de (Postfix) with ESMTPSA id 0DE951226D4; Sun, 27 Nov 2022 11:41:53 +0000 (UTC) From: Frank Wunderlich <linux@fw-web.de> To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich <frank-w@public-files.de>, Ryder Lee <ryder.lee@mediatek.com>, Jianjun Wang <jianjun.wang@mediatek.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, Rob Herring <robh@kernel.org>, =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= <kw@linux.com>, Bjorn Helgaas <bhelgaas@google.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Chunfeng Yun <chunfeng.yun@mediatek.com>, Vinod Koul <vkoul@kernel.org>, Kishon Vijay Abraham I <kishon@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Matthias Brugger <matthias.bgg@gmail.com>, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-usb@vger.kernel.org Subject: [next v7 0/8] Add BananaPi R3 Date: Sun, 27 Nov 2022 12:41:34 +0100 Message-Id: <20221127114142.156573-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750649792243944147?= X-GMAIL-MSGID: =?utf-8?q?1750649792243944147?= |
Series |
Add BananaPi R3
|
|
Message
Frank Wunderlich
Nov. 27, 2022, 11:41 a.m. UTC
From: Frank Wunderlich <frank-w@public-files.de>
This Series adds some Nodes to mt7986 devicetree and the BananaPi R3
This version is rebased on linux next from 2022/11/27.
i included sams series for mt7986 DTS with small changes
https://patchwork.kernel.org/project/linux-mediatek/cover/20220427124741.18245->
i had run full dtbs-check but i end up with some strange warnings in
ethernet-node that should not come up as phy-handle and sfp/managed
properties are already defined. These errors also came up for mt7986a-rfb.
phy-handle made optional
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/mediatek,net.yaml#n265
property sfp/managed (which is included for mac subnode in yaml above):
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/ethernet-controller.yaml#n137
changes:
v7:
- rebase on next so dropped already applied patches
- squashed overlay-patch into the bpi-r3 base support
- moved regulators from mmc-dts to common dtsi
- changed dtsi to dts (as board base dtb) and mmc-dts to overlays
- renamed overlays to dtso
- removed angelos RB because of changes in bpi-r3 patch
v6:
- dropped regulators from usb-patch as suggested by chunfeng yun
- moved 3v3 regulator to mmc-patch as it is needed for emmc to work
rfbs were tested by sam shih, r3 by me
- dropped RB from AngeloGioacchino from mmc-patch due to this change
- fixed links in coverletter which were broken in v5
- i hope this series is sent without errors now (my mailprovider limited
mails last 2 times while sending part 10)
v5:
- changed usb ranges/reg/unit-adress
- added reviewd-by's except usb-part due to changes
v4:
- dropped RFC prefix
- rebase on matthias' mtk dts-next (for 6.2) branch
- added author information to overlays
- fixed sfp binding error
- added fix for moving wed_pcie node
- readded missing compatible patches
v3:
- changed mmc pull-ups
- added patch for board binding (sent separately before)
- added pcie node in mt7986 (not yet again in r3)
- added dt overlays
Frank Wunderlich (5):
dt-bindings: phy: mediatek,tphy: add support for mt7986
dt-bindings: usb: mtk-xhci: add support for mt7986
dt-bindings: PCI: mediatek-gen3: add SoC based clock config
dt-bindings: PCI: mediatek-gen3: add support for mt7986
arm64: dts: mt7986: add Bananapi R3
Sam Shih (3):
arm64: dts: mt7986: add usb related device nodes
arm64: dts: mt7986: add mmc related device nodes
arm64: dts: mt7986: add pcie related device nodes
.../bindings/pci/mediatek-pcie-gen3.yaml | 64 ++-
.../bindings/phy/mediatek,tphy.yaml | 1 +
.../bindings/usb/mediatek,mtk-xhci.yaml | 1 +
arch/arm64/boot/dts/mediatek/Makefile | 5 +
.../mt7986a-bananapi-bpi-r3-emmc.dtso | 30 ++
.../mt7986a-bananapi-bpi-r3-nand.dtso | 55 +++
.../mediatek/mt7986a-bananapi-bpi-r3-nor.dtso | 68 +++
.../mediatek/mt7986a-bananapi-bpi-r3-sd.dtso | 24 +
.../dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 448 ++++++++++++++++++
arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 120 +++++
arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 122 +++++
arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts | 8 +
12 files changed, 934 insertions(+), 12 deletions(-)
create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-emmc.dtso
create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso
create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nor.dtso
create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-sd.dtso
create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
Comments
On Sun, Nov 27, 2022 at 12:41:34PM +0100, Frank Wunderlich wrote: > From: Frank Wunderlich <frank-w@public-files.de> > > This Series adds some Nodes to mt7986 devicetree and the BananaPi R3 > > This version is rebased on linux next from 2022/11/27. > > i included sams series for mt7986 DTS with small changes > https://patchwork.kernel.org/project/linux-mediatek/cover/20220427124741.18245-> > > i had run full dtbs-check but i end up with some strange warnings in > ethernet-node that should not come up as phy-handle and sfp/managed > properties are already defined. These errors also came up for mt7986a-rfb. > > phy-handle made optional > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/mediatek,net.yaml#n265 > > property sfp/managed (which is included for mac subnode in yaml above): > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/ethernet-controller.yaml#n137 > > changes: > v7: > - rebase on next so dropped already applied patches > - squashed overlay-patch into the bpi-r3 base support > - moved regulators from mmc-dts to common dtsi > - changed dtsi to dts (as board base dtb) and mmc-dts to overlays > - renamed overlays to dtso > - removed angelos RB because of changes in bpi-r3 patch > > v6: > - dropped regulators from usb-patch as suggested by chunfeng yun > - moved 3v3 regulator to mmc-patch as it is needed for emmc to work > rfbs were tested by sam shih, r3 by me > - dropped RB from AngeloGioacchino from mmc-patch due to this change > - fixed links in coverletter which were broken in v5 > - i hope this series is sent without errors now (my mailprovider limited > mails last 2 times while sending part 10) > > v5: > - changed usb ranges/reg/unit-adress > - added reviewd-by's except usb-part due to changes > > v4: > - dropped RFC prefix > - rebase on matthias' mtk dts-next (for 6.2) branch > - added author information to overlays > - fixed sfp binding error > - added fix for moving wed_pcie node > - readded missing compatible patches > > v3: > - changed mmc pull-ups > - added patch for board binding (sent separately before) > - added pcie node in mt7986 (not yet again in r3) > - added dt overlays > > Frank Wunderlich (5): > dt-bindings: phy: mediatek,tphy: add support for mt7986 > dt-bindings: usb: mtk-xhci: add support for mt7986 > dt-bindings: PCI: mediatek-gen3: add SoC based clock config > dt-bindings: PCI: mediatek-gen3: add support for mt7986 > arm64: dts: mt7986: add Bananapi R3 > > Sam Shih (3): > arm64: dts: mt7986: add usb related device nodes > arm64: dts: mt7986: add mmc related device nodes > arm64: dts: mt7986: add pcie related device nodes > > .../bindings/pci/mediatek-pcie-gen3.yaml | 64 ++- > .../bindings/phy/mediatek,tphy.yaml | 1 + > .../bindings/usb/mediatek,mtk-xhci.yaml | 1 + > arch/arm64/boot/dts/mediatek/Makefile | 5 + > .../mt7986a-bananapi-bpi-r3-emmc.dtso | 30 ++ > .../mt7986a-bananapi-bpi-r3-nand.dtso | 55 +++ > .../mediatek/mt7986a-bananapi-bpi-r3-nor.dtso | 68 +++ > .../mediatek/mt7986a-bananapi-bpi-r3-sd.dtso | 24 + > .../dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 448 ++++++++++++++++++ > arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 120 +++++ > arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 122 +++++ > arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts | 8 + > 12 files changed, 934 insertions(+), 12 deletions(-) > create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-emmc.dtso > create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso > create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nor.dtso > create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-sd.dtso > create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts Should I pick up patches [3,4] into the PCI tree ? Thanks, Lorenzo
On Sun, 27 Nov 2022 12:41:34 +0100, Frank Wunderlich wrote: > From: Frank Wunderlich <frank-w@public-files.de> > > This Series adds some Nodes to mt7986 devicetree and the BananaPi R3 > > This version is rebased on linux next from 2022/11/27. > > i included sams series for mt7986 DTS with small changes > https://patchwork.kernel.org/project/linux-mediatek/cover/20220427124741.18245-> > > [...] Applied to pci/dt, thanks! [3/8] dt-bindings: PCI: mediatek-gen3: add SoC based clock config https://git.kernel.org/lpieralisi/pci/c/ec9eaf68c1dc [4/8] dt-bindings: PCI: mediatek-gen3: add support for mt7986 https://git.kernel.org/lpieralisi/pci/c/d3fd0ee7a4a1 Thanks, Lorenzo