Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1223773pxb; Thu, 14 Apr 2022 00:50:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKGHfVTbF8SpUJT7s04WRyDCmIEQiDvh0LrmsyPSoJGDABmfFFprCKZRztVrUDQONQPLAC X-Received: by 2002:a17:907:d13:b0:6e0:b799:8fcc with SMTP id gn19-20020a1709070d1300b006e0b7998fccmr1303463ejc.11.1649922651582; Thu, 14 Apr 2022 00:50:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649922651; cv=none; d=google.com; s=arc-20160816; b=lYD1/sx6BkyYtuzOpnNuZXOvUCZAUv+iaaZzj3UAG4te2yky9/1mMP0yNs9DFPJte8 zE2B5kPWn94Gi9W2At3x4Rp+t802YeXQGd7ozves7YoIk7y/3Iz7zS8HP4w8inRdxGn2 Caqa9zVbC8XNrOnScgDx7zILyiTkAy/KFXkXZgN5ty9Et+gQK4Zyc/5A6y4zdcZVgYrT iFIEooI/w3vwpTVtyRP8RBTKlUtERSsFt0DLb96ALb8oB/tBw0FsPDSHikakPkKPBRcj D7DtQSQZPK4v19uWH7BCjqsbsgKAnu3QFG7G9LA+mkQdO8jPA/f5t0BtlqB1jfs8yC1H jNJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gMs2rmBWWmIoOW18P1m2w3YjRnMa95bN+gWj8N2yU/k=; b=s5P54TAIbAa2sdAwJL+5Qrh88soHZAFQ59U1DbToSk7Ml2YK5mCcwcT2wEn24TWYdK D0VaQWw+nQZzKxc9f5iKA3ZZEZlmI88avHQ/yQZmw3QmKYZ/yjV3L9PR+XibN9vOQBEO ARMA31vG3cREUM/46TW0FIJdjeXcsJEz2xdz4cW3L30UOB2kvZbN0HBU7aJVzzFVhcl0 FierCvEWC+LL3YOyoxjfxAoiK+wgWtz0x0TaVoDFY0LuOaOYEyDrfPK5XH+2VA3niPI9 swAIEIw2TpXFmmOBKaQOfn+dP2f85lUbTZb7m53UYCH9SA515sj9Xyz4JT2iKqt0LxQL eoJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lR2kiAbT; 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 l4-20020a170906414400b006df76385bbesi1286053ejk.94.2022.04.14.00.50.23; Thu, 14 Apr 2022 00:50:51 -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=lR2kiAbT; 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 S234179AbiDMVvh (ORCPT + 99 others); Wed, 13 Apr 2022 17:51:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234075AbiDMVvg (ORCPT ); Wed, 13 Apr 2022 17:51:36 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40EBF4705D for ; Wed, 13 Apr 2022 14:49:14 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id u18so4063516eda.3 for ; Wed, 13 Apr 2022 14:49:14 -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; bh=gMs2rmBWWmIoOW18P1m2w3YjRnMa95bN+gWj8N2yU/k=; b=lR2kiAbTOIdBj36E6Dy3mUbmR3oIHehaxz1cxShoZAzI4SPRU42Lbk1A2VS8PzepLj rHTlIFE9fqY5EXevEnSfLxM9WrqG6wbvR/j6kKHiQ8Nl2zxWPc+w1cTDj+eSK3O+9TbO Qo8+zpSh7Zt9GI07IFP4eK7xk+76Xmxnto0b8= 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; bh=gMs2rmBWWmIoOW18P1m2w3YjRnMa95bN+gWj8N2yU/k=; b=sDaSETwC/4tmiQI+AW+D4V549R5vgoj9Bo0DYX4wjguKxVrcfjTpfB4IUnrVhZljDd S1gd9ams/xI7hMJjHZquk7D2/U+DtvOJrYmep7J267fK2NCYkjx6jLMTX4IA+mrup4My Stijl7KA6aRE+L1lUe5CU2CGG8Fas39I5c/pEZ7wDbGcnfrvNlAR1+AzW+5mcXPmW1yz DIb/mo/BZyjykoW2KAMwr480xGELZ0bd1/ymshCxUMB2d55+T+//WhiWpJB4UpUkeYEJ u2HWLf8ih0xA5PFzISlLS3siovxb/nx/zhxzOwUdukFmKq23uv59r3DXqKzrpERaTMux WK+A== X-Gm-Message-State: AOAM530YxjyiH2AbdmSqriBmqO3pwD5elZKNoQOaqhnr0OllkZAiSqA1 8GhyoDqNIV5wldF8bNg6zSL9/kJ+ccRZFofW X-Received: by 2002:aa7:d292:0:b0:41d:7933:1f00 with SMTP id w18-20020aa7d292000000b0041d79331f00mr18815797edq.237.1649886552128; Wed, 13 Apr 2022 14:49:12 -0700 (PDT) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com. [209.85.128.54]) by smtp.gmail.com with ESMTPSA id e35-20020a056402332300b004209638cb94sm69459eda.6.2022.04.13.14.49.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Apr 2022 14:49:11 -0700 (PDT) Received: by mail-wm1-f54.google.com with SMTP id l62-20020a1c2541000000b0038e4570af2fso1989335wml.5 for ; Wed, 13 Apr 2022 14:49:11 -0700 (PDT) X-Received: by 2002:a05:600c:3ca4:b0:38e:54d0:406d with SMTP id bg36-20020a05600c3ca400b0038e54d0406dmr119391wmb.199.1649886550796; Wed, 13 Apr 2022 14:49:10 -0700 (PDT) MIME-Version: 1.0 References: <20220330090947.9100-1-chenxiangrui@huaqin.corp-partner.google.com> In-Reply-To: From: Doug Anderson Date: Wed, 13 Apr 2022 14:48:57 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] CHROMIUM: arm64: dts: qcom: Add sc7180-gelarshie To: Krzysztof Kozlowski Cc: Mars Chen , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 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 Hi, On Wed, Mar 30, 2022 at 10:25 AM Krzysztof Kozlowski wrote: > > On 30/03/2022 11:09, Mars Chen wrote: > > Initial attempt at Gelarshie device tree. > > > > BUG=b:225756600 > > TEST=emerge-strongbad chromeos-kernel-5_4 > > > > Signed-off-by: Mars Chen > > --- > > arch/arm64/boot/dts/qcom/Makefile | 1 + > > .../dts/qcom/sc7180-trogdor-gelarshie-r0.dts | 15 + > > .../dts/qcom/sc7180-trogdor-gelarshie.dtsi | 304 ++++++++++++++++++ > > 3 files changed, 320 insertions(+) > > create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-gelarshie-r0.dts > > create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-gelarshie.dtsi > > > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > > index f9e6343acd03..cf8f88b065c3 100644 > > --- a/arch/arm64/boot/dts/qcom/Makefile > > +++ b/arch/arm64/boot/dts/qcom/Makefile > > @@ -57,6 +57,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r1.dtb > > dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r1-lte.dtb > > dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r3.dtb > > dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r3-lte.dtb > > +dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-gelarshie-r0.dtb > > dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-homestar-r2.dtb > > dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-homestar-r3.dtb > > dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-homestar-r4.dtb > > diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-gelarshie-r0.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-gelarshie-r0.dts > > new file mode 100644 > > index 000000000000..027d6d563a5f > > --- /dev/null > > +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-gelarshie-r0.dts > > @@ -0,0 +1,15 @@ > > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > > +/* > > + * Google Gelarshie board device tree source > > + * > > + * Copyright 2022 Google LLC. > > + */ > > + > > +/dts-v1/; > > + > > +#include "sc7180-trogdor-gelarshie.dtsi" > > + > > +/ { > > + model = "Google Gelarshie (rev0+)"; > > + compatible = "google,gelarshie", "qcom,sc7180"; > > Missing bindings. Please document the compatible. I'm actually kinda curious: is there really a good reason for this? I know I haven't been adding things to `Documentation/devicetree/bindings/arm/qcom.yaml` for Qualcomm Chromebooks. Ironically, it turns out that the script I typically use to invoke checkpatch happens to have "--no-tree" as an argument and that seems to disable this check. Doh! That being said, though, I do wonder a little bit about the value of enumerating the top-level compatible like this in a yaml file. Certainly the yaml schema validation in general can be quite useful, but this top-level listing seems pure overhead. I guess it makes some tools happy, but other than that it seems to provide very little value... -Doug