Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp806761imw; Mon, 4 Jul 2022 21:07:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tysyRMAM/qryGdUp6P/P1j1kJSwRlH5RWFfyk8c7iIWB0RvBz+AWVsg5F7PdDMxc5NmgH8 X-Received: by 2002:a05:6402:528f:b0:42a:c778:469e with SMTP id en15-20020a056402528f00b0042ac778469emr42998721edb.404.1656994057615; Mon, 04 Jul 2022 21:07:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656994057; cv=none; d=google.com; s=arc-20160816; b=ijGNWHthFdNqS0xU1hpvSlhO6lZe92ZSJuOVifBj3WkBl3EvkylcT65lmhDTKRUjnQ 7uQ/BcD+BJ4fpjLMWfldsG1aJC7ROnEDZl34SAIsCO1XqsROcK0sfwVbUW8Z2lcE8gM0 TwS9xTez5Y3uLPiOwkxX9EgBDniI87y/qLW5MhYwa0Hq62T5Lg/1PsJ5OBslfouuy7vr NmvAl6rhJZpP/8EepxbU6Gg4tY50EQ8GaLfhaQnYmL0LML/lR9HAXNbPJpRFv08n2ZjU dHR1xaJOXjo3nK4k+imB3+nM0ELGgSpxRpTAQph2udeKC4sVS/CmFkIsOYoif1kHli/a 4kDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ZIG+5IDOwQA7F6MJezLrBTW+kOijOwQpQ8mK+sp/cww=; b=qsU3bYCeMffWy/BDl97/Q0a9SJOxtq9k7HTfa87C+3uXR8tqdP43BIR5+g1s5tzAAI s12JpeXpFJ6OxEUTonLP8QCb1DTZj6U6dJwj7zZQrnjoNXu8fF4e/4RZtWQUZDWYQVE5 GJI+x5XEDFUej1sMDsigzqAu2BLg2ilgaNtFakoU7pQbGBly3ZiESF8sUiVRqxVhqfGj /D32jpiMgxMteKDBqxNA6Al0LJl5MokxQRMeA+mEnjOfLetG++q4WuaWxSUCznuna/Au RyAatDDz3nh6IQVsOvG8i8E4FIDBEdo6g/2TmyEbTPAG1AUKxPJEdY61IAn1qQ4P5ZPX fPlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=SiqMzBFK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h20-20020a05640250d400b0043777cec0d2si15009643edb.631.2022.07.04.21.07.03; Mon, 04 Jul 2022 21:07:37 -0700 (PDT) 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=@chromium.org header.s=google header.b=SiqMzBFK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233178AbiGEEDX (ORCPT + 99 others); Tue, 5 Jul 2022 00:03:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230004AbiGEEDV (ORCPT ); Tue, 5 Jul 2022 00:03:21 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B5C01C8 for ; Mon, 4 Jul 2022 21:03:20 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id c143so11202635ybf.3 for ; Mon, 04 Jul 2022 21:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ZIG+5IDOwQA7F6MJezLrBTW+kOijOwQpQ8mK+sp/cww=; b=SiqMzBFKpQ15lSMMZ+ieDlDHxl6ynGs457Jzqwd7ECBfx/FcQEsWWxLJ+HspHMIvdj 87R8nG6AsAxKMonlKHYkeT4VNDtJk+29uj8uqFXSRTbuN+d5Xa6ViDpLuOn9ZzjwfrJG dE1o5C5hq6jfEFgLYl5SO13WOFvkcxnA5Ehf4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ZIG+5IDOwQA7F6MJezLrBTW+kOijOwQpQ8mK+sp/cww=; b=Ll40kXXPTaSa8fVaqkKhAlaUeRBmgJogFdx/y8auHjqFx8MnrqhkNRqJ4itELIvDTr KAf2Jr2BoJss4/0LarXRzODSxd5c/13ZjPV4jkgXu6+vlaf8Xl6a754HWO9sPOjVy2DS 0Liw6hzYmYDg9o3PhTvC4U4v9sj64FHzcuBrgxF0mX4bPomQSX9M4YbtIL+ajxhICo3s 7gFjSLfAmlH1iYzboqF7jRQxZtEDDPNvOcI+E4A9gqY/EiEyWl36XEnGXw/OleySDu7g czLE62lJnIwmGdXembzbayUWHVrRgJusWGuOb6XJGW1LI4zk+n18LAi1g8USoFV6BMEk Gc6A== X-Gm-Message-State: AJIora+AGFuRHBnJDJKKTrqffAsUmOjDVLhd2HWOvXkafm2vZ7IoIYEi /oyH/flxdLywTg+QKt8WZicBBVQ7Zkx9ARzUt7cFdw== X-Received: by 2002:a25:81c5:0:b0:66d:55b5:d250 with SMTP id n5-20020a2581c5000000b0066d55b5d250mr34484387ybm.501.1656993799717; Mon, 04 Jul 2022 21:03:19 -0700 (PDT) MIME-Version: 1.0 References: <20220629155956.1138955-1-nfraprado@collabora.com> <20220701150145.2myyk2o3vxydyhql@notapiano> In-Reply-To: <20220701150145.2myyk2o3vxydyhql@notapiano> From: Chen-Yu Tsai Date: Tue, 5 Jul 2022 12:03:08 +0800 Message-ID: Subject: Re: [PATCH v4 00/19] Introduce support for MediaTek MT8192 Google Chromebooks To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: Matthias Brugger , AngeloGioacchino Del Regno , kernel@collabora.com, Allen-KH Cheng , Fabien Parent , Hsin-Yi Wang , Krzysztof Kozlowski , Luca Weiss , Maxim Kutnij , Rob Herring , Sam Shih , Sean Wang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 1, 2022 at 11:01 PM N=C3=ADcolas F. R. A. Prado wrote: > > On Fri, Jul 01, 2022 at 08:44:53PM +0800, Chen-Yu Tsai wrote: > > On Thu, Jun 30, 2022 at 12:00 AM N=C3=ADcolas F. R. A. Prado > > wrote: > > > > > > > > > This series introduces Devicetrees for the MT8192-based Asurada platf= orm > > > as well as Asurada Spherion and Asurada Hayato boards. > > > > > > Support for the boards is added to the extent that is currently enabl= ed > > > in the mt8192.dtsi, and using only properties already merged in the > > > dt-bindings, as to not add any dependencies to this series. > > > > > > This series was peer-reviewed internally before submission. > > > > > > Series tested on next-20220629. > > > > Just FYI I also got the internal display to work after some fixes to > > the dtsi [1] and copying the stuff over from the ChromeOS kernel tree. > > > > It might be harder to enable the external display, given that we don't > > have a good way of describing the weird design of using the DP bridge > > also as a mux. See [2] for ongoing discussion. > > Hi ChenYu, > > I actually have both the internal and external display working on my loca= l > branch [1], but the commits there aren't final, and I'm also following th= e > Type-C switch discussion to update my commits whenever the binding is set= tled > on. I see. I think the internal display part is more or less final. It should be worth including it, as it is a fairly visible indication that things are working. ChenYu > I noticed the lack of the mandatory display aliases in the mt8192 series = but > somehow missed mentioning that in the review, so thanks for adding that. > > Thanks, > N=C3=ADcolas > > [1] https://gitlab.collabora.com/nfraprado/linux/-/commits/mt8192-asurada > > > > > ChenYu > > > > [1] https://lore.kernel.org/linux-mediatek/CAGXv+5F_Gi_=3DvV1NSk0AGRVYC= a3Q8+gBaE+nv3OJ1AKe2voOwg@mail.gmail.com/ > > [2] https://lore.kernel.org/dri-devel/20220622173605.1168416-1-pmalani@= chromium.org/ > > > > > v3: https://lore.kernel.org/all/20220512205602.158273-1-nfraprado@col= labora.com/ > > > v2: https://lore.kernel.org/all/20220505194550.3094656-1-nfraprado@co= llabora.com/ > > > v1: https://lore.kernel.org/all/20220316151327.564214-1-nfraprado@col= labora.com/ > > > > > > Changes in v4: > > > - Added patches 17-19 enabling MMC, SCP and SPI NOR flash > > > - Switched mediatek,drive-strength-adv for drive-strength-microamp > > > - Switched mediatek,pull-up-adv for bias-pull-up > > > - Updated Vgpu minimum voltage to appropriate value > > > > > > Changes in v3: > > > - Renamed regulator nodes to be generic > > > - Fixed keyboard layout for Hayato > > > > > > Changes in v2: > > > - Added patches 1-2 for Mediatek board dt-bindings > > > - Added patches 13-16 enabling hardware for Asurada that has since be= en > > > enabled on mt8192.dtsi > > > > > > N=C3=ADcolas F. R. A. Prado (19): > > > dt-bindings: arm64: dts: mediatek: Add mt8192-asurada-spherion > > > dt-bindings: arm64: dts: mediatek: Add mt8192-asurada-hayato > > > arm64: dts: mediatek: Introduce MT8192-based Asurada board family > > > arm64: dts: mediatek: asurada: Document GPIO names > > > arm64: dts: mediatek: asurada: Add system-wide power supplies > > > arm64: dts: mediatek: asurada: Enable and configure I2C and SPI bus= ses > > > arm64: dts: mediatek: asurada: Add ChromeOS EC > > > arm64: dts: mediatek: asurada: Add keyboard mapping for the top row > > > arm64: dts: mediatek: asurada: Add Cr50 TPM > > > arm64: dts: mediatek: asurada: Add Elan eKTH3000 I2C trackpad > > > arm64: dts: mediatek: asurada: Add I2C touchscreen > > > arm64: dts: mediatek: spherion: Add keyboard backlight > > > arm64: dts: mediatek: asurada: Enable XHCI > > > arm64: dts: mediatek: asurada: Enable PCIe and add WiFi > > > arm64: dts: mediatek: asurada: Add MT6359 PMIC > > > arm64: dts: mediatek: asurada: Add SPMI regulators > > > arm64: dts: mediatek: asurada: Enable MMC > > > arm64: dts: mediatek: asurada: Enable SCP > > > arm64: dts: mediatek: asurada: Add SPI NOR flash memory > > > > > > .../devicetree/bindings/arm/mediatek.yaml | 13 + > > > arch/arm64/boot/dts/mediatek/Makefile | 2 + > > > .../dts/mediatek/mt8192-asurada-hayato-r1.dts | 47 + > > > .../mediatek/mt8192-asurada-spherion-r0.dts | 62 ++ > > > .../boot/dts/mediatek/mt8192-asurada.dtsi | 959 ++++++++++++++++= ++ > > > 5 files changed, 1083 insertions(+) > > > create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-hayat= o-r1.dts > > > create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-spher= ion-r0.dts > > > create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi > > > > > > -- > > > 2.36.1 > > >