Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1300584ybt; Thu, 25 Jun 2020 02:45:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgUlgFnAe6Y835g+1pjEmCS2T+gPoM3FEKwcC9HZWI4x/KrHiNtsS4MLsGiTd0sqK/mUZu X-Received: by 2002:a05:6402:c83:: with SMTP id cm3mr11820318edb.307.1593078343665; Thu, 25 Jun 2020 02:45:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593078343; cv=none; d=google.com; s=arc-20160816; b=pt1aDHE+xBeArXb5qRPTjLKlSMlAvDF6GEUK/qSigG3XLp0qBZqiRo7UKo3s/hb7XA R81jbLmZLl/7RMTNYrrQj1u3+aIu11PUzMutKXB7ddtSQ9pTypMNV9J0nSRKBdc9JBdh VU/dFuExpFqab9NMHKmAyBQNAHzPmvoqg/LNg2/enNBExeSVa7onH/5rP+75a3ua7iDL VmQ9G6iCIdFD0t0/svV1ynHgAKCU2tbwZroeyJTYKE61abIAfDC8CcpPw0NPe6DgtsZi Txm4c0EhAhweJtmqxKPbctfcQ8OhIvkcbgXpoYIkZ6OYkO7JC8Ef/NFIjLHv1lQtUBV9 OCeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=POltqN5lkKJe3VXgWy8nQdESSAOKMpCcOzhyT3meLAc=; b=IlojwZBigqAJzHbhm+os3zYJDu0TGvHtYGlS06YQDIbhUOJ3S8MyaTYFUVDKoCVy7c 2ktxXBSNpiGN1LWOAf0RBYJzM9sFMGb3UmoJdKHhsjgU90cbQYg2Sy9BdIl/HnCBc0IM fQUKRneHx97GMGI+lrzCUenjaWWMideiLyvZ0+mam9W06FgWhXXhnAfZE87vJ6IweCP5 4cT1t72Z5seU3/AmzwXacwt/wRQJhRYuRFi9Y1f5ui21T9fl3nhWXF/3K/hS1rrquzK6 xDW09p+ybtLndiDhv5jfhgtuV+ko+uaKSBEbUkEJNPEZjHCQx3BqntteaZlITDxddz6m kL5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l12si6745219edk.328.2020.06.25.02.45.20; Thu, 25 Jun 2020 02:45:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390712AbgFYIkp (ORCPT + 99 others); Thu, 25 Jun 2020 04:40:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728725AbgFYIkp (ORCPT ); Thu, 25 Jun 2020 04:40:45 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D44C2C061573; Thu, 25 Jun 2020 01:40:44 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id E8EE32A0267 Subject: Re: [PATCH 7/7] arm64: dts: mt8183: Add krane-sku176 board To: Matthias Brugger , linux-kernel@vger.kernel.org Cc: Collabora Kernel ML , erwanaliasr1@gmail.com, drinkcat@chromium.org, hsinyi@chromium.org, Ben Ho , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20200619102757.1358675-1-enric.balletbo@collabora.com> <20200619102757.1358675-8-enric.balletbo@collabora.com> From: Enric Balletbo i Serra Message-ID: <3700a9b7-195b-f8d6-de03-fc5a77beffee@collabora.com> Date: Thu, 25 Jun 2020 10:40:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Matthias, Thank you for your review. On 22/6/20 12:33, Matthias Brugger wrote: > > > On 19/06/2020 12:27, Enric Balletbo i Serra wrote: >> Also known as the Lenovo IdeaPad Duet Chromebook. >> >> There are different krane boards with shared resources, hence a >> mt8183-kukui-krane.dtsi was created for easily introduce future new >> boards. The same happens with the baseboard codenamed kukui where >> different variants, apart from kukui variant can take advantage of the >> shared resources. >> >> Signed-off-by: Ben Ho >> [originally created by Ben Ho but adapted and ported to mainline] >> Signed-off-by: Enric Balletbo i Serra >> --- >> >> arch/arm64/boot/dts/mediatek/Makefile | 1 + >> .../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 | 1 + >> 5 files changed, 1151 insertions(+) >> 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 >> > [...] >> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi >> new file mode 100644 >> index 0000000000000..f0a070535b340 >> --- /dev/null >> +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi > [...] >> + >> + max98357a: codec0 { >> + compatible = "maxim,max98357a"; >> + sdmode-gpios = <&pio 175 0>; >> + }; >> + >> + btsco: codec1 { > > bt_sco_codec: > is more clear, I think. > Ok. I'll change that in next version. >> + compatible = "linux,bt-sco"; >> + }; >> + >> + wifi_pwrseq: wifi-pwrseq { >> + compatible = "mmc-pwrseq-simple"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&wifi_pins_pwrseq>; >> + >> + /* Toggle WIFI_ENABLE to reset the chip. */ >> + reset-gpios = <&pio 119 1>; >> + }; >> + > [...]> diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi > b/arch/arm64/boot/dts/mediatek/mt8183.dtsi >> index a1576f1b5a447..689bce13e0165 100644 >> --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi >> +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi >> @@ -719,6 +719,7 @@ u3phy: usb-phy@11f40000 { >> compatible = "mediatek,mt8183-tphy", >> "mediatek,generic-tphy-v2"; >> #address-cells = <1>; >> + #phy-cells = <1>; > > Wrong patch? > Oh yes, this should go with the USB one. Thank you to catch this, I'll fix in next version. >> #size-cells = <1>; >> ranges = <0 0 0x11f40000 0x1000>; >> status = "okay"; >> > > Regards, > Matthias >