Received: by 2002:ac0:f2c4:0:0:0:0:0 with SMTP id f4csp8445imp; Wed, 27 Jul 2022 13:07:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u9WOJpmSA7UCsjwSh3hvE1QGQcWXPwadVYCQQTF4SpeuPPoSPcAjxzZqWpDrkjngVABzIc X-Received: by 2002:a17:906:9750:b0:72f:39e7:1215 with SMTP id o16-20020a170906975000b0072f39e71215mr18886202ejy.122.1658952472685; Wed, 27 Jul 2022 13:07:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658952472; cv=none; d=google.com; s=arc-20160816; b=YaGs3LmVHyx+gMcXqfjY161YazFmMj9TM7SAvIOJsv+0KX82qDKYMzVZBznRN0t2Yi dKjsvsS0aQXVCtR7P0aqXHiw7xK2uo4gbDrx5ieUg17cbWXoCLTxyx3CAVktqtd4SOZP iJL3tIfvW8ns2dR8YeAUlp+5tMqDKKIllOvldQFiX2yUTST5tSenLSbBkpRp3ytMc51+ ZnYUb2Wkg5LfjKv49R7ZOT+sS5UGbgdrzLaVy6xFkieKAEd2MhemX547o5GGwIAHQng1 8mVGuoPzq20+V3Zhwl/pwvVx28xGRh33078rO09O3UTAqvIUf8MuVIe7e1htsv8mh5qG lF2Q== 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=kKVgAdxw3q+z0/Dr5VHfDhpMfKtexeKW9KF7EvkTNwI=; b=NcAMBL4FbxUHr2Q+oouBa/a16QyN49wfbWyimxpkpsT587Smvrv4Q8C6raKUF1lMH5 5Sv1T39xUo8G00H5wltJP6KhlywIbVaqvD/GGT38MtxhZ1csBoA65PnKVCvUsHzMR1w1 CwNVU03762aVrETRLf2n1Ulapn7I7XXmxDG+8b6WlgbiilUzktQwTZDKEKxOZgI7FcIl 6ccYWu5UD4EuPOai+Sz1XPG0bYI2QlfRj1PlpM/r2KNDqqyI0h+vRHJC8bjYAVgBRLHv L2Ps5Is0FtDDCSOvpko9bF2OLgSwC3JFAnyrurgwq/heJiDdLe+TUyJB/jBqj20CupkX Epsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=elPJyLY8; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f28-20020a056402329c00b0043bcb538bc3si12354351eda.570.2022.07.27.13.07.27; Wed, 27 Jul 2022 13:07:52 -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=@kernel.org header.s=k20201202 header.b=elPJyLY8; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235040AbiG0Tnh (ORCPT + 99 others); Wed, 27 Jul 2022 15:43:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229680AbiG0Tnf (ORCPT ); Wed, 27 Jul 2022 15:43:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBA491121; Wed, 27 Jul 2022 12:43:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 762A661AA5; Wed, 27 Jul 2022 19:43:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D00DCC4347C; Wed, 27 Jul 2022 19:43:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658951013; bh=22tmQ0744zweWy6Sd0m5sISYSk9XRc5uyToEJOX6XwA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=elPJyLY8XnqGWGB86Kv1TktpvCzasthPaWVMG01889KU0S0FCJwcY4KebThT+yPJu eq506qPZohKFjQbU3LPGoLvXMmOnndylF41McbCI69PukIe0B0nDzEC2mp4vj01ReY pkLvH5o2UuFwh8SIzbWQwHSL1x1bXOPX2kpBT1/uyBMuDAIemn/utlB/Fwc53XSGlM kx8uSzlXbfgT1MnOr520U02kCcjfVzKTr5dER4vLd7wECOAEf7EGIS/CAWCAlJh6X9 kCB7r+TNrD/jhDWFEtJdN4VV+da40hr9EJwCvb2MfTNwXot5liSDa2yFiMqDzCXQUZ tHqp1zR2qdsmA== Received: by mail-vs1-f52.google.com with SMTP id 129so9979572vsq.8; Wed, 27 Jul 2022 12:43:33 -0700 (PDT) X-Gm-Message-State: AJIora+c4itQHarhgpwxtt5HhOJ0JSgphCi166HPXjRQrCUwdcB9YwiS gcG0Ls9HsKrLHBTh7hCeJ3smFvq8rdR/MaaALQ== X-Received: by 2002:a67:c18d:0:b0:358:5bb6:2135 with SMTP id h13-20020a67c18d000000b003585bb62135mr5163757vsj.53.1658951012697; Wed, 27 Jul 2022 12:43:32 -0700 (PDT) MIME-Version: 1.0 References: <20220726212354.1.I5b9006878bdabd6493b866b46dbd6149968d545b@changeid> <20220727160320.GA2755147-robh@kernel.org> In-Reply-To: From: Rob Herring Date: Wed, 27 Jul 2022 13:43:20 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: arm: qcom: document zoglin board To: Doug Anderson Cc: Bob Moragues , LKML , Bob Moragues , Andy Gross , Bjorn Andersson , Stephen Boyd , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-msm Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Wed, Jul 27, 2022 at 11:40 AM Doug Anderson wrote: > > Hi, > > On Wed, Jul 27, 2022 at 9:03 AM Rob Herring wrote: > > > > On Tue, Jul 26, 2022 at 09:24:31PM -0700, Bob Moragues wrote: > > > Zoglin is a Hoglin Chromebook with SPI Flash reduced from 64MB to 8MB. > > > Zoglin is identical to Hoglin except for the SPI Flash. > > > The actual SPI Flash is dynamically probed at and not specified in DTS. > > > > > > Signed-off-by: Bob Moragues > > > > > > Signed-off-by: Bob Moragues > > > --- > > > > > > Documentation/devicetree/bindings/arm/qcom.yaml | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml > > > index 581485392404..63091df3cbb3 100644 > > > --- a/Documentation/devicetree/bindings/arm/qcom.yaml > > > +++ b/Documentation/devicetree/bindings/arm/qcom.yaml > > > @@ -475,6 +475,7 @@ properties: > > > > > > - description: Qualcomm Technologies, Inc. sc7280 CRD platform (newest rev) > > > items: > > > + - const: google,zoglin > > > - const: google,hoglin > > > - const: qcom,sc7280 > > > > Is just "google,hoglin", "qcom,sc7280" no longer valid? If it is valid, > > you need another entry. > > If it makes people happy to have another entry then it wouldn't hurt, > but it has no long term benefit and I would recommend against it. The > next patch in this series changes the existing "hoglin" device tree to > have all 3 compatible strings and thus when both patches land then > make dtbs_check will pass. I assume that is the only goal of > documenting these boards here. Certainly if you had a device tree that > had only "google,zoglin" it would boot fine on zoglin devices and if > you had a device tree that had only "google,hoglin" it would boot fine > on hoglin device. This is true of all of the entries for Chromebooks > that have multiple compatible entries. Why even add the entry? If it is just a different SPI flash, you can tell that from the SPI flash compatible or device ID. Rob