From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88F9831355B; Sat, 9 May 2026 19:24:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778354697; cv=none; b=ASXJzZuuLqJSuiAnvs5TDX4ycgHBIFCs/nzwgknuC50YjRZGTU4FmGjNyQpw/e/5DS+cc6nehEKqzKsMVcfvLssM3rBrTrIHCsDMajko3A7YZgAN8GKs/JVKARnzTmAHYdwHb7ufeX5W5Zw/Cc+XbODMQ73TV0FquYIQHQYHn5g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778354697; c=relaxed/simple; bh=LrTQhZFqEFWlXldnpLp7nLpcr1oWJNc2yM8vCrm5ROg=; h=Date:Content-Type:MIME-Version:From:Cc:To:In-Reply-To:References: Message-Id:Subject; b=Oq8Hu58RFikm/r/GSTV+XBSBcR7ws3KyGkRqUDOwA5A0YYC0SUhaHkfVZ0dsN45BfyzmECV0KkCRqIsy5kQX7v+IToIZQJBcnJszfXlRgQv6jv8vKDViwVgmOhOoT1pYBD0dLvFFWCmyKb4WKQqf48rkrEQeQcGhpMAblCO+Dh8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WuAHpUaC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WuAHpUaC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD967C2BCB2; Sat, 9 May 2026 19:24:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778354697; bh=LrTQhZFqEFWlXldnpLp7nLpcr1oWJNc2yM8vCrm5ROg=; h=Date:From:Cc:To:In-Reply-To:References:Subject:From; b=WuAHpUaCjLsKG+MBTnlOKKFGcPC3zwTxnw2x3k0TEdeLGcHkZx9jGe9wjdDFe/33i UTwDBbWrqvmlOcDgKcE2uKbfCl+g3OeQwZHfSBeulYnA37pfK1Ob5F2yY9Bwx2X2ue 2XWOTO4iTq12C2e3/GqfKWc59ACtDYBfThcjujsWIkUmtwBvFhUxSMpsyOKvtG7pHW 77Y35+HZ1e9lanNI+koozpdtIHH4f8wPLPG5va5N/V93S7XYUNChkKs76NNCLd6zgu JSU8gR6BLY10tCBMzZDx9OfRFep4vKDDICcg5CFXvbrtBYVNo/iAGq02AzxngRVlVN oRuBNGJQvGYYQ== Date: Sat, 09 May 2026 14:24:54 -0500 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Rob Herring (Arm)" Cc: Andy Shevchenko , David Lechner , devicetree@vger.kernel.org, Krzysztof Kozlowski , Conor Dooley , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jic23@kernel.org, Lars-Peter Clausen , =?utf-8?q?Nuno_S=C3=A1?= , Michal Simek To: Pramod Maurya In-Reply-To: <20260509180719.53704-1-pramod.nexgen@gmail.com> References: <20260509180719.53704-1-pramod.nexgen@gmail.com> Message-Id: <177835469457.847221.7871315784536498346.robh@kernel.org> Subject: Re: [PATCH v2] dt-bindings: iio: adc: Convert xilinx-xadc bindings to YAML schema On Sat, 09 May 2026 14:07:14 -0400, Pramod Maurya wrote: > Convert the Xilinx XADC and UltraScale System Monitor device tree binding > from the legacy plain-text format to a YAML schema, enabling automated > validation with dt-schema. > > The new binding covers the same hardware and compatible strings: > - xlnx,zynq-xadc-1.00.a (ZYNQ hardmacro) > - xlnx,axi-xadc-1.00.a (AXI softmacro) > - xlnx,system-management-wiz-1.3 (UltraScale System Management Wizard) > > Signed-off-by: Pramod Maurya > --- > Changes in v2: > - Fix patternProperties regex to use lowercase hex unit addresses > (channel@a through channel@f) instead of decimal; correct range > is now "^channel@([0-9a-f]|10)$" > - Add allOf/if/then conditional to enforce xlnx,external-mux-channel > is required when xlnx,external-mux is "single" or "dual" > > .../bindings/iio/adc/xilinx-xadc.txt | 141 ------------ > .../bindings/iio/adc/xlnx,xadc.yaml | 204 ++++++++++++++++++ > MAINTAINERS | 7 + > 3 files changed, 211 insertions(+), 141 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/iio/adc/xilinx-xadc.txt > create mode 100644 Documentation/devicetree/bindings/iio/adc/xlnx,xadc.yaml > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/adc/xlnx,xadc.yaml: properties:xlnx,channels:type: 'boolean' was expected hint: A vendor boolean property can use "type: boolean" from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml doc reference errors (make refcheckdocs): See https://patchwork.kernel.org/project/devicetree/patch/20260509180719.53704-1-pramod.nexgen@gmail.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.