Message ID | 20221027143411.277980-1-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp271849wru; Thu, 27 Oct 2022 07:44:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4/aFJay4mcfvoWvuVHIMkmeZXx2bjDpP6nCsHPBgicXX44bDcaUJv+1y4LL/ga6yTMQ/UZ X-Received: by 2002:a17:907:3f23:b0:78e:260a:fc33 with SMTP id hq35-20020a1709073f2300b0078e260afc33mr43079934ejc.152.1666881898524; Thu, 27 Oct 2022 07:44:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666881898; cv=none; d=google.com; s=arc-20160816; b=eF1+G9t1AD+C0G6ueirQOYrInegqwhFzkbLqkgz784xWOcPm+g+Wvu481SdGP3xqsR vlaeFTgIqiZ09/K9jW7BWehbB/qxYh/3N/2ipvn9/c0nvm37aJBoiYJ/ImrInJIeeiWN UkWsIBQnqOdIhDzXOmgcL/Jil9p7Y1yXzdrJeWxLXCx/vOeYznZW6M859LtVt+s0Hr/t EsCag3NoKiaMHSjEdAlIy6+MALdidGAkQsyDZ9Rz1RV/cXUhrGWVqiAfTYo/7Bo2DvzM AINeO1gKRaC9YBefc9mNHqptHjZ13xUafVM2WJjlgQj4gC4Q8XlZdb1bDlIO9c9kQuxf oQpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1Elgx/yfm289sAtkCYegANchVqYKxAF2vr4d85UGafk=; b=YQZwt/Six0OwSq7GaGquOpR16h4+72J4phDd22/PT73hx3JLg8fLXvRmS9v9AHYf01 CEvT85P454b/GemVkXoSHBMxC3FwtsZ1fE4LL/oEOxnrrHAcfqNhGXhK8UfgyVxD+SuB RCnIv18IU5QYWGPjvJldFP4oTNQ7YBR7Pf4ZLs6JTUYoJwqXW8dx+SDwbTXQjK4bvqjF f51uvrvwhcQn0tTuy61CmyMv8clkUJmpS/0RSTsAY3C9mNUr2oqIPoTvjZBR8E7LoydL Zq7FwNPHV5wWrxs8OK3IkfriIq2aJB+V4+7ZAUM3g7BuHekkc7GgSdzqpf/8ULGU6ulH 1vlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qe2yzrEf; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k23-20020a50ce57000000b004591f959c3bsi1650989edj.427.2022.10.27.07.44.10; Thu, 27 Oct 2022 07:44:58 -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=@linaro.org header.s=google header.b=qe2yzrEf; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235233AbiJ0Oeg (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Thu, 27 Oct 2022 10:34:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234367AbiJ0Oee (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 27 Oct 2022 10:34:34 -0400 Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60DAB614E for <linux-kernel@vger.kernel.org>; Thu, 27 Oct 2022 07:34:30 -0700 (PDT) Received: by mail-qv1-xf32.google.com with SMTP id ml12so1478792qvb.0 for <linux-kernel@vger.kernel.org>; Thu, 27 Oct 2022 07:34:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=1Elgx/yfm289sAtkCYegANchVqYKxAF2vr4d85UGafk=; b=qe2yzrEfB6gYDu97LZwQjj8l1w5YksJdkQuZJRNijntprQa6U6HSXv5tsDs7aCuFPo cmpqdfBvFiLWtJp/lBumeuvsP3Y8aRChyg5VnnZTA2R0FGCrBtseoY+x0WUTibasrIJC WHdWALtH0uPoTT9k70bzSaO50tkgUYWYQarzkzLvfFMnn6qVRfxQ3aqWoC3Of7KHCebc ZoqyOPXscRD+LiXlVBXvF1s2Xeipvv6lwopSUoqH3eld9CVDmZubKY1ZMtI73RoRf0yD iGv0QlCXLdXvmWSPBcsJ0WBDhnMCFUBru1/sPzd0oTdORVRMwSqR23HONbnHMsR/eVpY WoJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1Elgx/yfm289sAtkCYegANchVqYKxAF2vr4d85UGafk=; b=o+XPXaM7pgDjuhpSEEpQHifN3Ssu/TLnJO4yus3cvTzwpOaWx7KDq8m8c6ytk+D1f2 lEpYgU9FkDkvEtYVUTZYznkmoxDt8NtA0+fy+51b1xepB96aTqVXlwF43FACIYJCwT3q Vri3r4tEBwzfxbETG+aLQur5ECtQaSTZqqMdhA/H2xHXHa1tEqe1B1CkecUQ8+HIRWfx KREIQuNDHedCwZRMHK8Q8TPctiV5uEMUTjSh3mRMhEJtsA3xj4uTMrEBtTTtd+Tk9k9n eXpJY/JNHIPX4CuS3gf8cy7QqIfcMHCvDw6nuUwYVKQAGslYIRWzFlaZoAVFaAMDrNl0 guUA== X-Gm-Message-State: ACrzQf1EvFHOV+4VBwWQ/iqafypOjJNNRhws4hLARKLOgkY2giy9hPXz l+tE2Rl5TPtDTFot5gBN1JHrng== X-Received: by 2002:ad4:4ea7:0:b0:4b9:365b:2a86 with SMTP id ed7-20020ad44ea7000000b004b9365b2a86mr31544620qvb.58.1666881269483; Thu, 27 Oct 2022 07:34:29 -0700 (PDT) Received: from krzk-bin.. ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id w10-20020a05620a444a00b006f9e103260dsm1076749qkp.91.2022.10.27.07.34.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 07:34:28 -0700 (PDT) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Jonathan Cameron <jic23@kernel.org>, Lars-Peter Clausen <lars@metafoo.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH 1/2] dt-bindings: iio: adc: qcom,spmi-vadc: simplify compatible enum Date: Thu, 27 Oct 2022 10:34:10 -0400 Message-Id: <20221027143411.277980-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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: <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?1747852354028884735?= X-GMAIL-MSGID: =?utf-8?q?1747852354028884735?= |
Series |
[1/2] dt-bindings: iio: adc: qcom,spmi-vadc: simplify compatible enum
|
|
Commit Message
Krzysztof Kozlowski
Oct. 27, 2022, 2:34 p.m. UTC
The second compatible item in oneOf is just an enum, not a list.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
Comments
On Thu, 27 Oct 2022 10:34:10 -0400, Krzysztof Kozlowski wrote: > The second compatible item in oneOf is just an enum, not a list. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > .../devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml | 12 +++++------- > 1 file changed, 5 insertions(+), 7 deletions(-) > Acked-by: Rob Herring <robh@kernel.org>
On Mon, 31 Oct 2022 11:33:47 -0500 Rob Herring <robh@kernel.org> wrote: > On Thu, 27 Oct 2022 10:34:10 -0400, Krzysztof Kozlowski wrote: > > The second compatible item in oneOf is just an enum, not a list. > > > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > --- > > .../devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml | 12 +++++------- > > 1 file changed, 5 insertions(+), 7 deletions(-) > > > > Acked-by: Rob Herring <robh@kernel.org> Series applied to the togreg branch of iio.git. Initially pushed out as testing to let 0-day poke at the whole tree before I make a mess of linux-next. Thanks, Jonathan
On Thu, 27 Oct 2022 10:34:10 -0400, Krzysztof Kozlowski wrote: > The second compatible item in oneOf is just an enum, not a list. > > Applied, thanks! [1/2] dt-bindings: iio: adc: qcom,spmi-vadc: simplify compatible enum (no commit info) [2/2] dt-bindings: iio: adc: qcom,spmi-vadc: extend example commit: 74e903461b178faa5d0873254b77ee18fca5d059 Best regards,
diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml index 8bac0c4120dd..a848df37db06 100644 --- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml @@ -22,13 +22,11 @@ properties: - items: - const: qcom,pms405-adc - const: qcom,spmi-adc-rev2 - - - items: - - enum: - - qcom,spmi-vadc - - qcom,spmi-adc5 - - qcom,spmi-adc-rev2 - - qcom,spmi-adc7 + - enum: + - qcom,spmi-vadc + - qcom,spmi-adc5 + - qcom,spmi-adc-rev2 + - qcom,spmi-adc7 reg: description: VADC base address in the SPMI PMIC register map