Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3347118rwd; Sat, 10 Jun 2023 06:11:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4puuCsdiN+b4oc3plXxyJ7XvWDJTQNnXO4eJJgVaWBbCM1ZlKTZSLEaIfQuMH/GoFAhn0J X-Received: by 2002:a17:907:704:b0:966:484a:335e with SMTP id xb4-20020a170907070400b00966484a335emr3895547ejb.43.1686402705824; Sat, 10 Jun 2023 06:11:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686402705; cv=none; d=google.com; s=arc-20160816; b=Sf4fu076cuDz0kFuqUjWLzs1Z+MZxu3jKdKV6YrLdrY9/F8gJLoKHkrJa6rCssVZJv QEj4NlR8r9FpujyGrYoTZ/qJO4iLk6EexDpSOqWmMyPwXkmr7lZOQVjkX1//kXSLQarr s0/QothUMAVHaX3+RyoT4Y1ibdEQ1W6ppD0Tjx8w8wOwgVyzKJRBjGX1jSsuPIqyA5tY dZKMDpTtLSlOGAchUQV0Qc8euq0S9rt+3Qd65LJIvEcAZaqRUCRKALkaOnZ2DE1VVWH6 LsjWznfleql8554sG8BWoc8LUAHSVKBRRn8PyObMwGR+VV+K7dAIBkEU/erPulh0sB6g yUXQ== 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=jnLH3X9B97nw6LADRpaFEGLmFt7jjHHP+kLkQC6iD9g=; b=eWhOdemin6gaKsetCcupwv9J1ZA/tVYMm9Fz7/yZbiz5psryrcRYWZGgDTvPBEdwg2 +7NRt2r8bBG2J1chBGa7WywWxiUZTgIVhAAKfM9lxXdAjKeXQoYHR2Rj553CwWP2+UjQ 9l4TiahSQqmB+8RvNrM3qFMgMw5CUy9UfVvg2ge3ehKO6X4t78E7t0Q4kFERBwj02U2Z sGX3yCSptk9Kd+wryQRgZq1z6et+AsPY+6HVQzH1+8asiQde863mM6CPiW7ldCdc9N1I xq1Snom4CWgrxy2U7pKCZscRLj6JcszOYUcDxuKu9vcygVjl/TpVwKgsadyTSodKP/6W Pbjw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r9-20020a17090638c900b00978723b8e69si2527815ejd.425.2023.06.10.06.11.21; Sat, 10 Jun 2023 06:11:45 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232114AbjFJM5R (ORCPT + 99 others); Sat, 10 Jun 2023 08:57:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbjFJM5Q (ORCPT ); Sat, 10 Jun 2023 08:57:16 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFBAAAB; Sat, 10 Jun 2023 05:57:13 -0700 (PDT) Received: from i53875b22.versanet.de ([83.135.91.34] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q7y9L-0005N2-CT; Sat, 10 Jun 2023 14:56:59 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: jic23@kernel.org, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, sebastian.reichel@collabora.com, Shreeya Patel Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com, gustavo.padovan@collabora.com, serge.broslavsky@collabora.com, Shreeya Patel Subject: Re: [PATCH] dt-bindings: iio: rockchip: Fix 'oneOf' condition failed warning Date: Sat, 10 Jun 2023 14:56:58 +0200 Message-ID: <2621715.Lt9SDvczpP@diego> In-Reply-To: <20230610122200.161741-1-shreeya.patel@collabora.com> References: <20230610122200.161741-1-shreeya.patel@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 Am Samstag, 10. Juni 2023, 14:22:00 CEST schrieb Shreeya Patel: > Fix the dtbs_check warning for 'oneOf' condition failure. > > DTC_CHK arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dtb > /home/shreeya/linux/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dtb: > saradc@fec10000: compatible: 'oneOf' conditional failed, > one must be fixed: > ['rockchip,rk3588-saradc'] is too short > 'rockchip,saradc' was expected > 'rockchip,rk3066-tsadc' was expected > 'rockchip,rk3399-saradc' was expected > Nit: the commit message could explain that the rk3588 in fact isn't compatible with the rk3399-saradc variant. Otherwise I checked the implementation, so Reviewed-by: Heiko Stuebner > Fixes: 2daf2ae9793d ("dt-bindings: iio: adc: Add rockchip,rk3588-saradc string") > Signed-off-by: Shreeya Patel > --- > Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml > index 11c27ea451c8..aa24b841393c 100644 > --- a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml > @@ -15,13 +15,13 @@ properties: > - const: rockchip,saradc > - const: rockchip,rk3066-tsadc > - const: rockchip,rk3399-saradc > + - const: rockchip,rk3588-saradc > - items: > - enum: > - rockchip,px30-saradc > - rockchip,rk3308-saradc > - rockchip,rk3328-saradc > - rockchip,rk3568-saradc > - - rockchip,rk3588-saradc > - rockchip,rv1108-saradc > - rockchip,rv1126-saradc > - const: rockchip,rk3399-saradc >