Received: by 2002:a05:7208:31d3:b0:81:e143:7c29 with SMTP id v19csp398793rbd; Fri, 5 Apr 2024 07:48:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWTVMmbBLVmnrYBFPIEarr38l5aDTb6a0nP5EYzZkWxKZziNNPNeg691KXgUtG3qN/hFIqn6FGCYWOG0HAqhPwb2CcaJk8ayOJMM3LMuw== X-Google-Smtp-Source: AGHT+IFVywEFP/qm/wqRfr46zwcqEmRG/Xu61xZKEqVl74S4qBtUxbfjw5jA8rodntx8KnmRx1Ir X-Received: by 2002:a17:906:a454:b0:a51:a744:9d0 with SMTP id cb20-20020a170906a45400b00a51a74409d0mr917760ejb.64.1712328532125; Fri, 05 Apr 2024 07:48:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712328532; cv=pass; d=google.com; s=arc-20160816; b=SYA6s0rVoutvzyXZS6bUUQAJZ2sH5AoZnPaXcFGY+eGoqWVcaxJ+8ox20A1OvWvQSc S9ed1D++ePfto/1wv2//Z0pW48jqHKd8m/0oWFiqiLhOrH+FjEQ0d4CfBBj/L3kaU590 KlPcMaqLijEPjTcwnM6E7haSBiTD/in8yjppVv6BWrNpugV5OV5Z2TX1B/R37vyn7vX6 FIVgzsII7ADTkmHtBBrDjab6tpQpDwRjsJ7PVUef5YqHfCkTeZPDyMXH8+2UCwaEQok1 4yVeobnohKa8GwnwAGDYvfdQl+k0NtpYsZ7Gy2cBo3fdOy4PbT18MQSxSs0sw5QmjBl6 lFzg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=cFpu1whkh1nSy8kvvx+5UzrJKjw0DqYLany6m12D6u0=; fh=xl7bGMSHZ894xrlrpnSs+zMmHEYZWzB7SrquR1Z24b8=; b=Z2zbDew02jdCV+5ntlYcUzibaaNfylF2WBaV7PbDNJ2qCgaOGkHLAdfcBX29uuAVnH ZrIqiE9atXx0x9KqKJfnofl65l2Hd28mjAkyKJ/cgfz+xJj5zfJOFDJoVZE2qP48KFso sCWBa1dKXYOyXWzHZFTMg50t2n7tBgt+0RPXpLO/UTzrEMJ2DeJandxz06YLx0GgBnKe hQKz7BD1OAXIMwuMVDF8K5zObjdzECSMAUdZEj446rS4SxKO75OO23CALoLIVhoNOsGs 3cOOvwQI3pGBcelpSL3xPjUWKzoiQHx1TQjjAQ93LeyTm/Y6e6LcVHhea+NrQ/CLhd0B 8wuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Rp1M/0Gy"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-133191-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133191-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id oz19-20020a1709077d9300b00a51ad50d120si296608ejc.363.2024.04.05.07.48.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 07:48:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133191-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=@gmail.com header.s=20230601 header.b="Rp1M/0Gy"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-133191-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133191-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 B633F1F21673 for ; Fri, 5 Apr 2024 14:48:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9297D16F846; Fri, 5 Apr 2024 14:48:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Rp1M/0Gy" Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA27916F829; Fri, 5 Apr 2024 14:48:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712328513; cv=none; b=YrQwbDC7Sfte2PbVzA5A/SRNKqlOvTzh8MC5Vh8LmRnkYheobdizBxgen9213uIqlkDU4LZuVelZ5H258v8KpfIkkStQ1WWGbAafmq6n5ISvJumWLhpLCcNnFmFJsYfd0F0MSFcu2cM6eSb5Cs1S8c+myMezCh2GYyAUxW02ztE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712328513; c=relaxed/simple; bh=CDrhixP9RtkKB6cb9jrr6trJZJQjmdYcESp6DiI4FUo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=WWrBSw+l3aAQQ3A/8hI9Gq3OEFBfNTySZL5UTSjdSIh3oMatElYfzSkMJ5JFI3wq4X/4D39wzjVs3Q47IJ/xPAfPxUH6o6WVX8G1uPq2Ea6clZMZ33xtZA2/5y6kd/KuzNsGQOsVeyhhxm5hkrBpfr4pvgHP57lt3vkrQESLPa4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Rp1M/0Gy; arc=none smtp.client-ip=209.85.208.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2d80baf621eso24168631fa.1; Fri, 05 Apr 2024 07:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712328510; x=1712933310; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=cFpu1whkh1nSy8kvvx+5UzrJKjw0DqYLany6m12D6u0=; b=Rp1M/0Gy+e35iEdcsJpov+7Q1sM7JpFK2bhZbzi/7AJgqLa1iRYjBmtTUUQpuvvamj Lno8Y7QOhS0cNqAke6+oggbbiUbLILwgozYC9d0mw00dUuWh0X5P2UdGY1cZbbFLvLSc BHyJtMRGVjG/5siJfDmKWFu9CplLWvt4S99kcgFSSZj3UuEq2ibCCnN5sQmZ8hc/UO92 c7ahFDgwjXRwCxpiZFjyuqhzNBpZ0VG7b2FjfIHEVzLLl++blYpw1Z7meMu3NKhsjyD6 500ce8adeJBeL/IjwKQFc5hBvtt/c10vGJazo5vHilhpRhB9x6w8uJS7WCUdpsBT81OV T0Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712328510; x=1712933310; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cFpu1whkh1nSy8kvvx+5UzrJKjw0DqYLany6m12D6u0=; b=Wx9BVlW2n3Ms7UYILwLnMIco7iiMZ6LlJcUF175LIdnTTY5pj00PMcgeqDKF+yZIjc biaqI2jq3RYxm2G0FA22PjFGQ0M5SsQXQi9uIGUpde6+i6uGnkCcBAOh5PO15iReyOaP 4zv61MYdWpB/hwir32giNIr165gkSeZberGFpjRi/B4OMHXPzDmRVWFrCq1+Wk0RcT+z Vf1dIyxw6dfMUX+MZCqMiHMD37JQ3TKHAzPBJ3KOtRS6xDvCDrxjAxBuOoMqM7oiDEbN etpr2CQuBCo+OYQ0zVUBGVQ926l5T2jLMVJuIvLwmanXDKL2jzC8fvoTZIkbLytWFyl/ J97w== X-Forwarded-Encrypted: i=1; AJvYcCWoJuX6DhnGe5RbH/1eSm0JY/+86uVSWvTuMNwWNWFCsRzz4qW4eUQH9ckGXOX/a4lPwatvXt2xmdmfSCBoHCKXFyWM/6v7Pl7LooxS6X/pOcrjIycs1AOsbqbnSKGpG96stpbU+Aohxg== X-Gm-Message-State: AOJu0Yy9APpDD7RHyEgv/DnjzTpFC2deQDMM3P4pfOYSlJmpgr0l/opd FUqakOC+YY6UyrKdcy5a58WN/MHJRv6fJhOlugJ0UKC4RGDAYWg88aC76mexO/JnCo+E5VQvpu/ GOfesPffl9obH9Af97Bd+BNOTY9Y= X-Received: by 2002:a2e:a3d2:0:b0:2d6:c4ec:782 with SMTP id w18-20020a2ea3d2000000b002d6c4ec0782mr1273383lje.49.1712328509495; Fri, 05 Apr 2024 07:48:29 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240404160649.967-1-bavishimithil@gmail.com> <78091796-fd0a-42dd-a4da-f7bed3025bf9@linaro.org> In-Reply-To: <78091796-fd0a-42dd-a4da-f7bed3025bf9@linaro.org> From: Mithil Date: Fri, 5 Apr 2024 20:18:17 +0530 Message-ID: Subject: Re: [PATCH v2] dt-bindings: omap-mcpdm: Convert to DT schema To: Krzysztof Kozlowski Cc: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable So sorry about the 2nd patch being sent as a new mail, here is a new patch with the changes as suggested > Please use subject prefixes matching the subsystem Changed the patch name to match the folder history. > Is it your full name? Fixed it, my apologies. > Filename like compatible. Fixed. > Please open existing bindings and look how it is done there. Changed it, is it fine now? > Same problem. Drop useless description but provide maxItems. Removed descriptions for interrupts and hwmods. > It does not look like you tested the bindings, at least after quick > look. Please run `make dt_binding_check` I did run it and it didnt produce any errors henceforth i submitted the patch. > Node names should be generic Changed as said. From c24a42724e870822d50ac6857ba9f32d0dce02ae Mon Sep 17 00:00:00 2001 From: Mithil Bavishi Date: Mon, 1 Apr 2024 21:10:15 +0530 Subject: [PATCH v2] dt-bindings: omap-mcpdm: Convert to DT schema Convert the OMAP4+ McPDM bindings to DT schema. Signed-off-by: Mithil Bavishi --- .../devicetree/bindings/sound/omap-mcpdm.txt | 30 ---------- .../bindings/sound/ti,omap-mcpdm.yaml | 59 +++++++++++++++++++ 2 files changed, 59 insertions(+), 30 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/omap-mcpdm.txt create mode 100644 Documentation/devicetree/bindings/sound/ti,omap-mcpdm.y= aml diff --git a/Documentation/devicetree/bindings/sound/omap-mcpdm.txt b/Documentation/devicetree/bindings/sound/omap-mcpdm.txt deleted file mode 100644 index ff98a0cb5..000000000 --- a/Documentation/devicetree/bindings/sound/omap-mcpdm.txt +++ /dev/null @@ -1,30 +0,0 @@ -* Texas Instruments OMAP4+ McPDM - -Required properties: -- compatible: "ti,omap4-mcpdm" -- reg: Register location and size as an array: - , - ; -- interrupts: Interrupt number for McPDM -- ti,hwmods: Name of the hwmod associated to the McPDM -- clocks: phandle for the pdmclk provider, likely <&twl6040> -- clock-names: Must be "pdmclk" - -Example: - -mcpdm: mcpdm@40132000 { - compatible =3D "ti,omap4-mcpdm"; - reg =3D <0x40132000 0x7f>, /* MPU private access */ - <0x49032000 0x7f>; /* L3 Interconnect */ - interrupts =3D <0 112 0x4>; - interrupt-parent =3D <&gic>; - ti,hwmods =3D "mcpdm"; -}; - -In board DTS file the pdmclk needs to be added: - -&mcpdm { - clocks =3D <&twl6040>; - clock-names =3D "pdmclk"; - status =3D "okay"; -}; diff --git a/Documentation/devicetree/bindings/sound/ti,omap-mcpdm.yaml b/Documentation/devicetree/bindings/sound/ti,omap-mcpdm.yaml new file mode 100644 index 000000000..4d5d37e98 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/ti,omap-mcpdm.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/ti,omap-mcpdm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: OMAP McPDM + +maintainers: + - Krzysztof Kozlowski + +description: + OMAP ALSA SoC DAI driver using McPDM port used by TWL6040 + +properties: + compatible: + const: ti,omap4-mcpdm + + reg: + description: + Register location and size as an array + , + ; + + interrupts: + maxItems: 1 + + ti,hwmods: + maxItems: 1 + + clocks: + description: phandle for the pdmclk provider, likely <&twl6040> + + clock-names: + description: Must be "pdmclk" + + +required: + - compatible + - reg + - interrupts + - ti,hwmods + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + mcpdm@0 { + compatible =3D "ti,omap4-mcpdm"; + reg =3D <0x40132000 0x7f>, /* MPU private access */ + <0x49032000 0x7f>; /* L3 Interconnect */ + interrupts =3D <0 112 0x4>; + interrupt-parent =3D <&gic>; + ti,hwmods =3D "mcpdm"; + clocks =3D <&twl6040>; + clock-names =3D "pdmclk"; + }; -- 2.34.1 Best regards, Mithil On Fri, Apr 5, 2024 at 12:28=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 04/04/2024 18:06, Mighty wrote: > > From: Mithil Bavishi > > > > Convert the OMAP4+ McPDM bindings to DT schema. > > > > Signed-off-by: Mighty > > This does not match SoB. Can you respond to comments you receive? > > Subject: nothing improved. > > Rest... also did not improve. so you ignored entire feedback? > > This is a friendly reminder during the review process. > > It seems my or other reviewer's previous comments were not fully > addressed. Maybe the feedback got lost between the quotes, maybe you > just forgot to apply it. Please go back to the previous discussion and > either implement all requested changes or keep discussing them. > > Thank you. > > Best regards, > Krzysztof >