Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp912066lqo; Fri, 10 May 2024 22:24:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU6uKjUGCcgmD0fn8Wm9KtfUXHuYNrLGhq/R+cux1YqwzCOVZHxZhAEUvSNAvW+bE+snR37e3eITAGI6K5r6IUZ96d9M/X9mWkTnTVbMw== X-Google-Smtp-Source: AGHT+IGpdVS9SJQx4k0VYi6p6J/4zOrhtYYBL6/iE3JP0eIWX2WEmvcc89D2O9XSsU8dLhIE5CZQ X-Received: by 2002:a17:906:d290:b0:a59:b490:e77b with SMTP id a640c23a62f3a-a5a2d5d0a53mr284112466b.40.1715405086505; Fri, 10 May 2024 22:24:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715405086; cv=pass; d=google.com; s=arc-20160816; b=OFe87Rm4jLRkhxNnzyfFNwAlsTti6NE72hKVhouLZKQ/FsA+Yrj+8n56pnFzHpyRx6 EuhRlDi+QuFlHRkELVgvubMMjcwNj0W9WXvSwDGyH6leMVE3py9Jl+lqh/CissdTJXwF zSce+Oslg6RjmFmnVG3qv5J9Bk4+XkulmETH0bgG121bqouBIqxUdxkak60nnUEYDTSM yNibA9faw1E9NWuL85zk3oWIpNAmRAb8LHaniGNxLblTrhbOISjDRqygu9l5uZEWeTtQ NOf12Wm46U61iQt34wWl7ZT9Iu3WCQJD/nQhLLYY4PNCv3Cqrh3Zddb6zaSG+QdemPki c32A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:message-id:references:in-reply-to:cc:to:from:mime-version :list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:date:dkim-signature; bh=1TBkon9BAec/SFpFKnV0LfV/pGlkoDFd+DU0JFosSe0=; fh=QWF0KQl2zWOl4oH4Oznm79cZ1+JBlIdtvN1TDzqcciE=; b=bw43PqkJ9A6m/nI50uIFGNWJCBcrQcopD0pzGcE8+epOysLPNjcvoaDXoWSBX91PMq 6QlMRmc4T7P5H7RnrGdkC3LlctwMA3MWJeUd8xxcZ/I0ZVMAvHhQusvRJzHguA6mmIuo VeJgfyqQ8j05OXCtS93v1x7BY0vKZjo4zb+PrFllvkvK9n63s1ws7Qbi52mD4hQdZOTv el8oIhdWgFLBfBuidsDvGyRpvQpEM0ni0YJReHHcdDXNWICCuRqzBVyvV/a27FNEbtDg bdr+k0LD5UGTLZgseJhb/c0kcDC68tsvNbOtuQZsXPbBW9aAH/UawW7ZfP+4jx4QFD/x vEPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U525xzTt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-176421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176421-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17be67a5si273050766b.845.2024.05.10.22.24.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 22:24:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U525xzTt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-176421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176421-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 34F5C1F22EA5 for ; Sat, 11 May 2024 05:24:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71D5447A5D; Sat, 11 May 2024 05:24:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="U525xzTt" 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 89A09802; Sat, 11 May 2024 05:24:34 +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=1715405074; cv=none; b=Fz34FStUPYnQONpECuGytQz1HLuULhgDXFLZU9pHTN+osQiNA4Rt0cxhclgCoTKiXybWAbwJasBHTHDxiGblkS3N5CaAlXZvCKRccUK5eRkVdIcdrSYOGY+I/uDyUJskgwQ2Ves+ytLnMbbJRjq5HSasBELOcy/P0rz8vLaOkRY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715405074; c=relaxed/simple; bh=kOQ8x1Fm8V2CQ7D98GqenBmzFJuc+RnMxi15uw73/9s=; h=Date:Content-Type:MIME-Version:From:To:Cc:In-Reply-To:References: Message-Id:Subject; b=CyG+VElCjKOjkQKPbP1wFMZnsezI3pUoNsP3wBfcOQnnj46usbBXLklB7OXe2AIyB5ZGcMCeh4vZrd/RqXFKfEy4XWwN4DWqbwMl3w7a/IgESW9ipfUsDduy+RQm5Oz5VmFn/B+broY0jYKcnpFNgeAsGbVuMYuGJ1GXxhUN1c4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U525xzTt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE7DFC2BD10; Sat, 11 May 2024 05:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715405074; bh=kOQ8x1Fm8V2CQ7D98GqenBmzFJuc+RnMxi15uw73/9s=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=U525xzTt8u2UyOD0Cg5gI4KRm1l4W+PtlN9DouphKqUGShKv9NP8xtititJyUYMzc BhiG/+oFivleq+QTVzpfN4a8wFEua4e0WHOCDJ2JVMl0TUPhKS50R8t3SiOLbXJ3mL Gi9u7eeqdj/WS9tJG5IX16gMVhWIuqfM3ythc9bT23mLRXGHEyFIY+uv8xXNK3dNE1 YXGvCyom2zNHxP6ros9oeOi4sppfNA8PvJ1wupywzDTBRytp/JPd207GW2OouXkyH4 XjJM5eudgHDKbYJ2k/AOLEWIbo4hgV5YY9CtS4m+jwSnbaXUj+ccmw8+dNOxQ3i9ja n2PJb7j0IWz2Q== Date: Sat, 11 May 2024 00:24:32 -0500 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Rob Herring (Arm)" To: Aryabhatta Dey Cc: skhan@linuxfoundation.org, linux-sound@vger.kernel.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, javier.carrasco.cruz@gmail.com, krzk+dt@kernel.org, broonie@kernel.org In-Reply-To: References: Message-Id: <171540507205.1412542.3948533586469324311.robh@kernel.org> Subject: Re: [RFC PATCH] ASoC: dt-bindings: alc5623: convert to dt schema On Sat, 11 May 2024 10:11:24 +0530, Aryabhatta Dey wrote: > Convert Documentation/bindings/devicetree/alc5623.txt to yaml. > > First attempt at a dt schema conversion patch. > Checked the yaml file with make dt_binding_check and make CHECK_DTBS=y. > Only warning being produced is > Documentation/devicetree/bindings/net/snps,dwmac.yaml: mac-mode: missing type definition > Not sure how I should handle this. > > Signed-off-by: Aryabhatta Dey > --- > .../devicetree/bindings/sound/alc5623.txt | 25 ---------- > .../bindings/sound/realtek,alc5623.yaml | 48 +++++++++++++++++++ > 2 files changed, 48 insertions(+), 25 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/sound/alc5623.txt > create mode 100644 Documentation/devicetree/bindings/sound/realtek,alc5623.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/sound/realtek,alc5623.example.dtb: codec@1a: '#gpio-cells' is a required property from schema $id: http://devicetree.org/schemas/sound/realtek,alc5632.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/sound/realtek,alc5623.example.dtb: codec@1a: 'gpio-controller' is a required property from schema $id: http://devicetree.org/schemas/sound/realtek,alc5632.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/sound/realtek,alc5623.example.dtb: codec@1a: 'add-ctrl', 'jack-det-ctrl' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/sound/realtek,alc5632.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/j2f5m3lydlkipt3vnyikeoq5bx6tsf6z22ljpspcgtnohy65on@htyjjd3ojkde 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.