From patchwork Fri Jun 19 10:27:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enric Balletbo i Serra X-Patchwork-Id: 11613699 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 09769138C for ; Fri, 19 Jun 2020 10:28:46 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id DC03E2080C for ; Fri, 19 Jun 2020 10:28:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aBN4Ha1C" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DC03E2080C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=collabora.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org 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=f8u0PR9YI2juSzPSe2znjCE6+RTCOFZo80fqTfSXZ6E=; b=aBN4Ha1C5PUShX o3SdqWXjppNRUm6zmZ5f41L2JNCNDr7GieUg431Fv1MR4HU3305mIEeby6mQnduGmmO/f0CKXOOml KyjeeYABcaRsLYAzq02/ZFf//upglbMyZq4BPBlp83dzhaYLbfvjYZ8dveQGxItqEWoQwpNdQUZMS lY9uSgKb/Sy+Ix5p7ob2S1vz9B4qsy3RMvFQoxGtPFBGoBYW03rvtSIyP0EQzvMTilkZYeqa5pq3+ kOWGHjgPmmqnF6chPd4HQJ9WmanKL/DFcWQaoW9ltGltjC74duL/6SLEeVSfU49QB1q9islk+uWE8 R7kzoLc2G5j95nWcuddA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jmEGK-0005d8-QE; Fri, 19 Jun 2020 10:28:44 +0000 Received: from bhuna.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e3e3]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jmEFi-00056Q-SP; Fri, 19 Jun 2020 10:28:08 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 23DE72A51F7 From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Subject: [PATCH 0/7] arm64: dts: mediatek: Add support for Lenovo IdeaPad Duet Chromebook Date: Fri, 19 Jun 2020 12:27:50 +0200 Message-Id: <20200619102757.1358675-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200619_032807_046195_4BB5551E X-CRM114-Status: GOOD ( 11.83 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: erwanaliasr1@gmail.com, drinkcat@chromium.org, devicetree@vger.kernel.org, Sean Wang , Rob Herring , Mars Cheng , hsinyi@chromium.org, matthias.bgg@gmail.com, linux-mediatek@lists.infradead.org, Collabora Kernel ML , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org These series adds basic support for the Lenovo IdeaPad Duet Chromebook, a 2-in-1 detachable devices using the MediaTek MT8183 SoC. The first patch only adds the new compatible names in the mediatek binding. The second patch, adds the missing compatible to instantiate the PMIC regulators. The next patch adds missing devices to support better the board and fixes some warnings found running dtbs_check. And finally, the latest introduces support for the board itself. All the patches has been tested on Lenovo IdeaPad Duet Chromebook with the patches applied on top of 5.8-rc1 and with serial console, booting without problems and being able to go to the login prompt. Best regards, Enric Enric Balletbo i Serra (7): dt-bindings: arm64: dts: mediatek: Add mt8183-kukui-krane-sku176 arm64: dts: mt6358: Add the compatible for the regulators arm64: dts: mt8183: Add MediaTek's peripheral configuration controller arm64: dts: mt8183: Fix unit name warnings arm64: dts: mt8183-evb: Fix unit name warnings arm64: dts: mt8183: Add USB3.0 support arm64: dts: mt8183: Add krane-sku176 board .../devicetree/bindings/arm/mediatek.yaml | 5 + arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt6358.dtsi | 2 + arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 4 +- .../mediatek/mt8183-kukui-krane-sku176.dts | 18 + .../boot/dts/mediatek/mt8183-kukui-krane.dtsi | 343 ++++++++ .../arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 788 ++++++++++++++++++ arch/arm64/boot/dts/mediatek/mt8183.dtsi | 68 +- 8 files changed, 1225 insertions(+), 4 deletions(-) create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku176.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi