Message ID | 20221117094251.2.Ibfc4751e4ba044d1caa1f88a16015e7c45c7db65@changeid |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp162432wrr; Wed, 16 Nov 2022 17:46:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf5fxlKJOL54VVFOkBqHZPrq6yNmYmEqkddbWqVBf19Z1aKipD45Hy6WgkOm6xm8DrGhAg2S X-Received: by 2002:a17:902:ef44:b0:188:d4bf:dbff with SMTP id e4-20020a170902ef4400b00188d4bfdbffmr647547plx.19.1668649591655; Wed, 16 Nov 2022 17:46:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668649591; cv=none; d=google.com; s=arc-20160816; b=JXlAO26bxdQg/oCKWMafB7c58iOGK1hMMZGT2E5gzCMvg5T60pUouv72qio3R4uPOH heS/OQtun35gPrEd0CoZr4SqdZLxY3m2wZAeNTmM0BJVfObJ3zGJBgBI25B33zLVPGUe 8AGxtnBTIh+szxOwP/G32hE05za+o+21c5aV3fWXFpMmAfBHDjf5zjvigdFVsJ0KVEY+ Z32XVFxhFHfQglplLORHOwDjThj37O5k3CaCKxtax5d/+ov25XuUozECfgqjHcK7BnhQ zC6Xv6ifIgZRHxouWer/PbNe6MrWMUswDgov4OO7DC1pEEXP4jZ6SITfQWdWPNd0Germ IusA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=EDFRO4ir4ILg9SYyImo6kJHYqgKoQ77M/+5NG4Igr1I=; b=Yr8ixzbc0bNgoml01b8wKKZpjwPdEr1wwv7Xry1NkeGkVWJB1CUpx4v21REemeGLgy rOJRswGf334l1fhzv0pDcd83DztUlJmwUFwkGc6nZJ5pzJmZlj2+xe5W9uG8b3VY0fq/ Erqy1srRPYIXx24WMIhvfuJavLdx7SrxCHModHj7Y7L7FSk8Zv7cyUtqG6LAPuS2caSD wXpdb9gvVYRL5GudsIBaGRiN4SejcpNh+pSJwiZ+UjIKZz8x3SfkHoLcH42rML6eIvri pk4hZoxnVFHPoDWP/2YzqEmfzsKhNdJkIeYBVnbmIR1Mf8ZTBUgAEOloIQ1NAPUpfskB bnEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DiYy7g7F; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c9-20020a170902d48900b00186892f9f29si19026288plg.488.2022.11.16.17.46.19; Wed, 16 Nov 2022 17:46:31 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=DiYy7g7F; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234224AbiKQBo3 (ORCPT <rfc822;just.gull.subs@gmail.com> + 99 others); Wed, 16 Nov 2022 20:44:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232825AbiKQBo0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Nov 2022 20:44:26 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C49E25D4; Wed, 16 Nov 2022 17:44:25 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id g24so246651plq.3; Wed, 16 Nov 2022 17:44:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=EDFRO4ir4ILg9SYyImo6kJHYqgKoQ77M/+5NG4Igr1I=; b=DiYy7g7FrHEWrc0tBV5wiCg1bpw+Gjmdk9uzx0JRFnRaLbgdVd+7R9sTnKp5t8iJQm WurTM2UP9HczRUJD1zwlouS3gR1bZZp3ozJUMvrMLKw9jXSDinVqcRp5zK54bPUopcNh GCuoNu6yCzey/rprSqhDl0oXg+8QT1w9w8QYONv+i57esurXzTfooN1HJrAartTB+pIR 4nZfRV+S9hcTgwZUa7Qnsmo2t28pEIGOuXoSBg39NAukzXYLyLT0+UoqGtO2EGcYA7SE wiwUfCR6en+dIz5qtmzj7BZllh0KOGu0nczXp6snALGDAUNARumTaAJfA7b9eUM+opcJ pPuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EDFRO4ir4ILg9SYyImo6kJHYqgKoQ77M/+5NG4Igr1I=; b=nGEinXTjU0kyZ23PmKQNVr/eTjKNlq33KcuXe56GCoTHHj9fuN8oq0Z4Wvnf7+RoX0 evuGDRWnQYqGc+L2TW3P7XFdeYRBFGsgpOw1aif6v3W9MjZeDQg6FAwJuiNRYUO2fmkN P4EjXF8Wi6OmfxcXwXTl9dh6E5NLNXSydaB0gSvywR5pEd3KwavrFv8QtRQUJ2Yg+K+Z 4Zvu5wZMvyrd8n5qaVQl/O+zPQUhQQb1EYnv6VgPPQkgg/FgKTQZ7EeT1qCXR4RPFe12 0oLwchtK5/tqc+9BaXenU4dyFoB60hKN5IX6qfmlpKy/PjtIwpPF7ZNsk2JTKyqXPZ9F wV4w== X-Gm-Message-State: ANoB5plzEy5qIIa6sYIGlL5FTubdig2x5CeNHL/S0nAliUFw0yza/tOg CmT+N3Sngpkl/E47Zqe8PkEFfOaEeUU= X-Received: by 2002:a17:902:e212:b0:180:a0e6:f81b with SMTP id u18-20020a170902e21200b00180a0e6f81bmr559101plb.78.1668649464441; Wed, 16 Nov 2022 17:44:24 -0800 (PST) Received: from localhost.localdomain (2001-b400-e2d1-d066-3cca-666c-d593-6ca1.emome-ip6.hinet.net. [2001:b400:e2d1:d066:3cca:666c:d593:6ca1]) by smtp.gmail.com with ESMTPSA id u13-20020a170902e80d00b001869f2120a6sm13064337plg.108.2022.11.16.17.44.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 17:44:24 -0800 (PST) From: Owen Yang <ecs.taipeikernel@gmail.com> To: LKML <linux-kernel@vger.kernel.org> Cc: Harvey <hunge@google.com>, Douglas Anderson <dianders@chromium.org>, Bob Moragues <moragues@chromium.org>, Owen Yang <ecs.taipeikernel@gmail.com>, Andy Gross <agross@kernel.org>, Bjorn Andersson <bjorn.andersson@linaro.org>, Rob Herring <robh+dt@kernel.org>, Stephen Boyd <sboyd@codeaurora.org>, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 2/2] Adding DT binding for zombie Date: Thu, 17 Nov 2022 09:43:07 +0800 Message-Id: <20221117094251.2.Ibfc4751e4ba044d1caa1f88a16015e7c45c7db65@changeid> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221117094251.1.I74849cf9699b8ff2e47f6028e28861101297549b@changeid> References: <20221117094251.1.I74849cf9699b8ff2e47f6028e28861101297549b@changeid> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749705913974420010?= X-GMAIL-MSGID: =?utf-8?q?1749705913974420010?= |
Series |
[1/2] Adding DT for zombie
|
|
Commit Message
Owen Yang
Nov. 17, 2022, 1:43 a.m. UTC
creating first device tree binding for zombie case.
Documentation/devicetree/bindings/arm/qcom.yaml
Series-to: LKML <linux-kernel@vger.kernel.org>
Series-cc: Douglas Anderson <dianders@chromium.org>
Series-cc: Bob Moragues <moragues@chromium.org>
Series-cc: Harvey <hunge@google.com>
Signed-off-by: Owen Yang <ecs.taipeikernel@gmail.com>
---
Documentation/devicetree/bindings/arm/qcom.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
Comments
Hi, On Wed, Nov 16, 2022 at 5:44 PM Owen Yang <ecs.taipeikernel@gmail.com> wrote: > > creating first device tree binding for zombie case. > > Documentation/devicetree/bindings/arm/qcom.yaml > > Series-to: LKML <linux-kernel@vger.kernel.org> > Series-cc: Douglas Anderson <dianders@chromium.org> > Series-cc: Bob Moragues <moragues@chromium.org> > Series-cc: Harvey <hunge@google.com> > > Signed-off-by: Owen Yang <ecs.taipeikernel@gmail.com> > --- > > Documentation/devicetree/bindings/arm/qcom.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) There are a few problems with this patch. 1. The patch does not apply to the top of the upstream Qualcomm tree (it gets merge conflicts). You should be sending your patches against the upstream Qualcomm dts tree, which is where they will land. For instance, since you're sending patches with patman you could make sure you're targeting the right tree with something like this: git remote add linux_qcom git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git get fetch --no-tags linux_qcom git checkout -b 221117-send-zombie linux_qcom/for-next git cherry-pick ${PATCH1_TO_SEND} git cherry-pick ${PATCH2_TO_SEND} ... git cherry-pick ${PATCHN_TO_SEND} patman 2. Because you were based on the wrong tree, you got Bjorn's email address wrong. You need his @kernel.org address. If you were targeting the correct tree then it would have been auto-fixed up for you by the .mailmap. 3. A minor detail, but "bindings" should be patch #1 and the device tree should be patch #2. 4. If I were picking the right place to add Zombie in the bindings, I would put it right after the "Villager" entries. Then all the Google sc7280 devices are next to each other and sorted by name. 5. Somehow your patch description contains a bunch of "patman" commands directly. I think maybe this is because you indented them and thus patman didn't process the commands? Please try sending again after getting rid of the indentation. Also the "Documentation/devicetree/bindings/arm/qcom.yaml" line doesn't belong in the description. 6. The ${SUBJECT} of your patch (which comes from the first line of the patch description) needs tags. It probably should be: dt-bindings: arm: qcom: Add initial sc7280-zombie entries 7. The patch description should ideally be a proper sentence (with the first word capitalized, for instance), like: Add an entry in the device tree binding for sc7280-zombie. 8. Just to be consistent with other Chromebooks and to handle the case when we later add extra revs, please add "(newest rev)" for all of your descriptions in the yaml.
diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index c15a729a6852..878ecfbc1baa 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -578,6 +578,16 @@ properties: - qcom,sm8350-mtp - const: qcom,sm8350 + - description: Google Zombie + items: + - const: google,zombie + - const: qcom,sc7280 + + - description: Google Zombie with LTE + items: + - const: google,zombie-sku512 + - const: qcom,sc7280 + additionalProperties: true ...