Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5001990rwb; Sun, 13 Nov 2022 19:16:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf4dlFmqTuapCz3MNarmAK4r9sWD+wj1TJ+LCKJSKwM9dKd6rJ+5qCmAcSDsh5ZNPWjXytz7 X-Received: by 2002:a17:906:9f04:b0:7ae:ed2:5367 with SMTP id fy4-20020a1709069f0400b007ae0ed25367mr8966234ejc.521.1668395816465; Sun, 13 Nov 2022 19:16:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668395816; cv=none; d=google.com; s=arc-20160816; b=hNViDgLDJGa4/7f0yGqXDRfKhHeE1Ig3oMvxRKDRn1jzTgffvV5RBzG2Qq2tXMpPLt Bj/SuBXzwb9AlRvZ1JqbBq8LixwC8qVhDni+Al7zU6YUUks/s9IczY7Alcodapj4U3Fs qGJj5gEhv3GHlS4RkrE2TiHVHwwmY5ZZPhgAq17lpwXPuWBXsTlvaAwZFgxdGjSHiac2 PMy3lSPADtEMIR0AW6MU6GpM4ls3Bbvoxjxx6n32094QN/KQjjKCYfTds5+N1bu+ShEM bRPStL0wZChRKO3+7xim7pkcmd+rBqfcqD0dkDbYJO23oh59x58ZD24DYEjXVS3BHKEM q87g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=fCKIbY/OLuzzftdt0SNhRto4BfPKCwNP51ExkiAY9A8=; b=jkR4ryLIZcJuAcbEFO10Xg+9kDHvWkUiPDH3coq1JI1CapMlrbg0nsgroOWe4jPQ4g VZVSTkS7/3o2hPVCe8kL85FxTGaLOJeUBAQNEaCiG9T3Huh+gaLHY/ly3w/P4lJCzE0S aZAAAN93ayOebQu4uDtZ1yJCQ0klQeBpGjfb0TBsLxCiuAAyVKj2ghEaWuMHv+gZHXfl NyBwxYQh8yxK+uP6U9mg2LUDpjwfXObLYb6lSAp6tozFIk+oxuHjNpwXorPRJHRVrS25 wGwq1o8OAhnHCUntXP0y1UfH/HarzstQPcWYQTf41Rxu+8pHv3W43q29kR2UzSa4mOPX pvuA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j6-20020a170906050600b0077083e6dde7si5994506eja.183.2022.11.13.19.16.34; Sun, 13 Nov 2022 19:16:56 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235733AbiKNCwX (ORCPT + 90 others); Sun, 13 Nov 2022 21:52:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235443AbiKNCwW (ORCPT ); Sun, 13 Nov 2022 21:52:22 -0500 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CC6714090; Sun, 13 Nov 2022 18:52:21 -0800 (PST) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 2AE2R8on061169; Mon, 14 Nov 2022 10:27:09 +0800 (GMT-8) (envelope-from billy_tsai@aspeedtech.com) Received: from BillyTsai-pc.aspeed.com (192.168.2.149) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 14 Nov 2022 10:51:01 +0800 From: Billy Tsai To: , , , , , , , , , , , , CC: Rob Herring Subject: [v3 2/2] dt-bindings: iio: adc: Remove the property "aspeed,trim-data-valid" Date: Mon, 14 Nov 2022 10:50:57 +0800 Message-ID: <20221114025057.10843-2-billy_tsai@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221114025057.10843-1-billy_tsai@aspeedtech.com> References: <20221114025057.10843-1-billy_tsai@aspeedtech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.2.149] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 2AE2R8on061169 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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: X-Mailing-List: linux-kernel@vger.kernel.org If the property is set on a device without valid trimming data in the OTP the ADC will not function correctly. Therefore, this patch drops the use of this property to avoid this scenario. Fixes: 2bdb2f00a895 ("dt-bindings: iio: adc: Add ast2600-adc bindings") Signed-off-by: Billy Tsai Acked-by: Rob Herring --- .../devicetree/bindings/iio/adc/aspeed,ast2600-adc.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/aspeed,ast2600-adc.yaml b/Documentation/devicetree/bindings/iio/adc/aspeed,ast2600-adc.yaml index b283c8ca2bbf..5c08d8b6e995 100644 --- a/Documentation/devicetree/bindings/iio/adc/aspeed,ast2600-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/aspeed,ast2600-adc.yaml @@ -62,13 +62,6 @@ properties: description: Inform the driver that last channel will be used to sensor battery. - aspeed,trim-data-valid: - type: boolean - description: | - The ADC reference voltage can be calibrated to obtain the trimming - data which will be stored in otp. This property informs the driver that - the data store in the otp is valid. - required: - compatible - reg -- 2.25.1