Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2250461ybl; Thu, 9 Jan 2020 09:22:28 -0800 (PST) X-Google-Smtp-Source: APXvYqytmq11nQ/oIefIN7XcclLEiA8Fj7wSuFeAD4w194ThRdlKqnaj+KSCZlPcK9PZyHfwutds X-Received: by 2002:a05:6830:160c:: with SMTP id g12mr9070143otr.82.1578590548016; Thu, 09 Jan 2020 09:22:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578590548; cv=none; d=google.com; s=arc-20160816; b=nm3AmxVPak0GY1YqtvL1hyZIZc+pQIBzz3G6jUXR/+/uVeeB/nXEXkb8YFtDP5zN9I whaigXe4qpy9n7hUQikaglUkRtv25N9E2gVMGtQ12Elxg47vbecvoWFsaKzFEXV9JV+1 W/A+lIt8EhyN8DOSRfneDa8rB2R5hTlOjb5NAWbkPPrnOlbFhRhp7OZiZCDyCQy3jAM8 IK9aCynHXswYYl6NyaMA6kIJLql541ubrU0eOL3xuGaQqcT8MUXXdar1fTB/m79wUWDq QHbJmPngBL1Trze0Nzu2k03JLwlYWmsbssusF6WV8wTwgj8JJoVicEUfFbbTj4jym9nR pn2w== 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=UBOxWWhMUj/mm8VW15uvqmudSHPbWQSf2FAmG4lJO84=; b=cfqatiUQ85iQWCSAu/XWZwQDXEGyaf+n5+BF57AtNs9cUWrZXm1gxD2I6ET+9sdpRK zgDGBuisa9vQDZmmhTtrsu3+JP23hPjrB3aRhv9SqEfpicw0+5WhJDPXqDWGIzLEiYKQ 6kTcl4+fc5QZVUtLR8fv/laB7sanSe9EAd0iWjdcrA284lIE3QFRuoTaOUAmd2QzxB1J h7ZkpYZf7OgS64R8Tq+ZH8k68jOH7shdiGt9+OD1kDVCCq7XXVWHUnSEkK6kMRgKxbtM KcMYw2h7WVIdU8wFeXeyqRA1n6lb5IBSk/TC5M1Jm7/BMlrDYX340U8asntBTiruH+nS RozQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id l8si3881089oii.249.2020.01.09.09.22.15; Thu, 09 Jan 2020 09:22:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1731656AbgAIO0Z (ORCPT + 99 others); Thu, 9 Jan 2020 09:26:25 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:41544 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727854AbgAIO0Z (ORCPT ); Thu, 9 Jan 2020 09:26:25 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 5E0F22934FF Subject: Re: [PATCH 1/2] dt-bindings: arm64: dts: mediatek: Add mt8173 elm and hana To: Hsin-Yi Wang , linux-arm-kernel@lists.infradead.org Cc: Rob Herring , Mark Rutland , Matthias Brugger , Mars Cheng , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Nicolas Boichat , Daniel Kurtz References: <20200109101042.201500-1-hsinyi@chromium.org> <20200109101042.201500-2-hsinyi@chromium.org> From: Enric Balletbo i Serra Message-ID: <46ccc713-5951-62ee-1909-f572772217c2@collabora.com> Date: Thu, 9 Jan 2020 15:26:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: <20200109101042.201500-2-hsinyi@chromium.org> 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 Hsin-Yi, Thanks for sending this patch upstream, one comment below ... On 9/1/20 11:10, Hsin-Yi Wang wrote: > Elm is Acer Chromebook R13. Hana is Lenovo Chromebook. Both uses mt8173 > SoC. > > Signed-off-by: Hsin-Yi Wang > --- > .../devicetree/bindings/arm/mediatek.yaml | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml > index 4043c5046441..a27b22f264a2 100644 > --- a/Documentation/devicetree/bindings/arm/mediatek.yaml > +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml > @@ -86,6 +86,24 @@ properties: > - const: mediatek,mt8135 > - items: > - enum: > + - google,elm > + - google,elm-rev1 > + - google,elm-rev2 > + - google,elm-rev3 > + - google,elm-rev4 > + - google,elm-rev5 > + - google,elm-rev6 > + - google,elm-rev7 > + - google,elm-rev8 Did you run dtbs_check [1] after having patch 2 applied? I think that will trigger some errors. I am not sure if this should be a const instead of an enum like we have in rockchip.yaml? [1] make ARCH=arm64 DT_SCHEMA_FILES=Documentation/devicetree/bindings/arm/mediatek.yaml dtbs_check Thanks, Enric > + - google,hana > + - google,hana-rev0 > + - google,hana-rev1 > + - google,hana-rev2 > + - google,hana-rev3 > + - google,hana-rev4 > + - google,hana-rev5 > + - google,hana-rev6 > + - google,hana-rev7 > - mediatek,mt8173-evb > - const: mediatek,mt8173 > - items: >