From patchwork Sun Apr 16 12:31:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 674065 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91777C77B61 for ; Sun, 16 Apr 2023 12:31:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230131AbjDPMbs (ORCPT ); Sun, 16 Apr 2023 08:31:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229908AbjDPMbr (ORCPT ); Sun, 16 Apr 2023 08:31:47 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 089832711 for ; Sun, 16 Apr 2023 05:31:46 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-50506ac462bso2775064a12.3 for ; Sun, 16 Apr 2023 05:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681648304; x=1684240304; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=iYjMTz0lC2QfPX12S8GW0HkDAV4l3XKgRbDxNQnkDxI=; b=Qs9PCGp8ZxcUyfvlwkoNXtnQpGJlobg/b1wBMQab48ehsJR2ZL9YxZSR0uB9e6OqPL tc2B+Mfsc+0nnbniNC/rc7OYIuo1b8mUjQjIx3LAlkQrqJIwOI2aItXsHQo4SlciYqeX yzl24uzJSpuGEZSkrFRP9KfawH6XtXK4Z20DZBiW3cuGBItxMh3n1ABcJ/vgQKRn4H8z iVEzj+Db1Ch0vJgG3ib99hEwrwDcT9BpnEDSxEIMmK/+bQR8jSIiEiSUW8Oq+z3+Yenv q6KmX3L9OkWuedYHkPBhvqhAhEntrDSAIyd9h9up3QbSX2+3M5hxCfWwcY/o/H5nLT+j e6Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681648304; x=1684240304; 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=iYjMTz0lC2QfPX12S8GW0HkDAV4l3XKgRbDxNQnkDxI=; b=XdsIp+gqQn31nOwDANANkgbY4TT49PM4Q3wxalT+M8NI94yGs3kZ5U2BgeYnUlLVmV InTKxJsQOTxJsnQsvOBtFF8E4FZfvFp+StyhQpx9bsMwDtWByTFEb4ELHxI5flfWeJfb gjONskeuNhxBmY1LzIjY1ivaB5RkdC1qvsd5JWw6y+LI9RsLsc3jbcR8cgqqerXYK8Lf UnZfj7xCBU+X3L8HfX0LAusA053pvpoYce3i9wVvW4CBlSlQgh04vO3yVUvK2zABBHKI hdsUi71z293l6Wdf6T/1xF3TfSv517QRj9AuzCdDGC5ZFroYe+usp9ZchvQx1CiGHytH saCg== X-Gm-Message-State: AAQBX9drsWnXZei4D+H+Tjye0hjvxcqFKRpQP7gw0xQrfEmjz61NpMOT j7hkv1nXHGk/l2riZg++5Z7aXJ8of20LnMlumZc= X-Google-Smtp-Source: AKy350Zoc7DPifrKeFuu7B88mUHGZsp9viVO2J1XYR0wdN55B2bQQ3mTOpOP6c0/HyBNXTFhwVS3Tg== X-Received: by 2002:aa7:da8f:0:b0:504:7fdc:2682 with SMTP id q15-20020aa7da8f000000b005047fdc2682mr9985914eds.35.1681648304498; Sun, 16 Apr 2023 05:31:44 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:29dd:ded4:3ccc:83db]) by smtp.gmail.com with ESMTPSA id u17-20020aa7db91000000b005068eefc59dsm2173536edt.42.2023.04.16.05.31.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Apr 2023 05:31:44 -0700 (PDT) From: Krzysztof Kozlowski To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Siddartha Mohanadoss , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: iio: adc: qcom,spmi-vadc: add 16 ratio of pre-scaling Date: Sun, 16 Apr 2023 14:31:42 +0200 Message-Id: <20230416123142.299533-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document value of 16 for pre-scaling, already used in DTS and supported by the Linux driver since long time: sm7225-fairphone-fp4.dtb: adc@3100: channel@8:qcom,pre-scaling: 'oneOf' conditional failed, one must be fixed: 10 was expected 16 is not one of [1, 3, 4, 6, 20, 8, 10] 81 was expected Fixes: e13d757279bb ("iio: adc: Add QCOM SPMI PMIC5 ADC driver") Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml index f30114424b92..42077ca65747 100644 --- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml @@ -101,7 +101,7 @@ patternProperties: oneOf: - items: - const: 1 - - enum: [ 1, 3, 4, 6, 20, 8, 10 ] + - enum: [ 1, 3, 4, 6, 8, 10, 16, 20 ] - items: - const: 10 - const: 81