Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp428130rdb; Thu, 18 Jan 2024 07:40:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IFccwjlc1X4dBnUDJ77XisofBT6lgjdZVcmJpp8DAS6DFWh8ElQq9BZtOvP4AO6qGqN8n5E X-Received: by 2002:a92:6e09:0:b0:361:9665:da90 with SMTP id j9-20020a926e09000000b003619665da90mr1167365ilc.0.1705592430708; Thu, 18 Jan 2024 07:40:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705592430; cv=pass; d=google.com; s=arc-20160816; b=YiZ/YyIaeTr4iaunEZbHWvd0HgFR3egmcmnLFbhtWFMzsYtYOiP/BtCBoU9n+nlT9Y +6+hmmoliCzwsTpiWO3KSJdyljq8QF8aUisYbCG2y11Oylq7ddaIT9I8kS1Aw3gMQmhX z4c6gjI4j12drDxhj2+WIZnuDiHL7H6kN8JKNgEOqVdEUzY+FvRrxHqlZqrGLpJk7fcH Z9Tw2HOVfJu11HG75gCHRe+79pjJw6NmCYQNLIIxZHlCJcSRyJ+FjR8R1/zj6XYf95qn cqbEPGfnGN3YCEvRXtipWOz8/wQfSOfQpRl4BIeUk0BlwXYLgmeZ0YPY74lVjz1M8ZxV aD4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bmpff/QN65rFuBCjrIM9A5H6HcSFfTUD1XXnc20fiZA=; fh=p3Vt054rQCWIUhicoYv9TQvHToyPUJSnXKbJ5FTsu0k=; b=SlDb9H+5KJVCP7fB0qmdmv/vHjduNLIp/wdhYdvNVZZlD0o0n0QmRDUNl7tHggAOGY Zt2UbM8h0FC2URLWHNuV8NNiNFPnwB53eZuu/N0z0X/f3gcDi4cBW7rrYaXfD60MN/8d 3MzUmCCM8U+3LZvzWNBbrp0fTqdLL90iCVngVTyk0RYBT0d5kRnHp15STuEPOU00gME/ 56Kmy9uCmkulkDjF4s2bEeCnhk9sOC1mD64X6572/TYFEkAsJLg0HQKRLmPnGM4AjKGe cTBag4/39g4ViiaEzkFjR2iQx55vhZx4sWYdvgUF3Q2vxP3tuQgMwJrvH5Chq27Tk/zB ICcg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HduugTlS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-30292-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30292-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q20-20020a635054000000b005cec8794f4asi1585956pgl.359.2024.01.18.07.40.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 07:40:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30292-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HduugTlS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-30292-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30292-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8EC592841E9 for ; Thu, 18 Jan 2024 15:40:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67FDF286B4; Thu, 18 Jan 2024 15:40:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HduugTlS" 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 81F331DDC0; Thu, 18 Jan 2024 15:40:22 +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=1705592422; cv=none; b=f4ztdunDxSC402azaVWdU4GWFPlExFjDI0/j++8/9oBrQA8qdqs69tRT3hOixdK2RgYWyp5n/YU0ExZBizsmScYC+SAEFFS0PGMIsHGtngCxhZPzZejAounhimn0Y9dr0aZD2RWE5lqeRap3YzC6WBHJjl2n4PBbC/0V+eB79qc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705592422; c=relaxed/simple; bh=B0JbzjhM5BaOxmyfPcfGKeh0DLRt1nowj3SyUrIVfxo=; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=Sf0ADkzh1RHMxeOIdS+B/dfeVoMwxXuJlpvWviw1+ADoLO+WZLchrIwkfgPQhk+2fp8+0qYb0XJzOUHYRA2p8dyuHhS0YobcoHroUq9za/oNoqypy4xECshTXxJqPYXhM4DK8s3s3YaEfhvSAhdIkK6EkApODGzfdMf1IPLNaHM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HduugTlS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64B13C433C7; Thu, 18 Jan 2024 15:40:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705592422; bh=B0JbzjhM5BaOxmyfPcfGKeh0DLRt1nowj3SyUrIVfxo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HduugTlSrhzT936r5EfEIhbIuJhdmDk8svGQsU7hxffyxq68q4Zduc66qWY6AE5Yw +Iq/+M0U4IFXZcxxJ0x/PzAjXp0INpVnLoTzL+FXcqcQ9y7cIvMz2h/MN6sq/BigSU 9GyPUsa7ULneyhVUbBJKlGqktlCnpkr1IINOtlmyNZwIFybZgeCEk6qoBehTtSkWcV 2j89dytolHJxj5ykuwJR4qA9c+FppmFRqP8f0S/7wfiVHILCMdTXyKWsWNI/oHETKh tORxBAIguMNqVvDTIojMHKQsdr1nw0mHckZ2GXjYhPKYnOVBZ8hd5BXJptLaObXUyP tTMUSg0gFmDUg== Date: Thu, 18 Jan 2024 15:40:15 +0000 From: Conor Dooley To: Dharma Balasubiramani Cc: conor.dooley@microchip.com, sam@ravnborg.org, bbrezillon@kernel.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@tuxon.dev, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, lee@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, linux-pwm@vger.kernel.org, linux4microchip@microchip.com Subject: Re: [PATCH v3 3/3] dt-bindings: mfd: atmel,hlcdc: Convert to DT schema format Message-ID: <20240118-recent-glorified-fd35d72e006e@spud> References: <20240118092612.117491-1-dharma.b@microchip.com> <20240118092612.117491-4-dharma.b@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="o+4Qxw6Z8JF2FunJ" Content-Disposition: inline In-Reply-To: <20240118092612.117491-4-dharma.b@microchip.com> --o+4Qxw6Z8JF2FunJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 18, 2024 at 02:56:12PM +0530, Dharma Balasubiramani wrote: > Convert the atmel,hlcdc binding to DT schema format. >=20 > Adjust the clock-names property to clarify that the LCD controller expects > one of these clocks (either sys_clk or lvds_pll_clk to be present but not > both) along with the slow_clk and periph_clk. This alignment with the act= ual > hardware requirements will enable accurate device tree configuration for > systems using the HLCDC IP. >=20 > Signed-off-by: Dharma Balasubiramani > --- > changelog > v2 -> v3 > - Rename hlcdc-display-controller and hlcdc-pwm to generic names. > - Modify the description by removing the unwanted comments and '|'. > - Modify clock-names simpler. > v1 -> v2 > - Remove the explicit copyrights. > - Modify title (not include words like binding/driver). > - Modify description actually describing the hardware and not the driver. > - Add details of lvds_pll addition in commit message. > - Ref endpoint and not endpoint-base. > - Fix coding style. > ... > .../devicetree/bindings/mfd/atmel,hlcdc.yaml | 97 +++++++++++++++++++ > .../devicetree/bindings/mfd/atmel-hlcdc.txt | 56 ----------- > 2 files changed, 97 insertions(+), 56 deletions(-) > create mode 100644 Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml > delete mode 100644 Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt >=20 > diff --git a/Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml b/Doc= umentation/devicetree/bindings/mfd/atmel,hlcdc.yaml > new file mode 100644 > index 000000000000..eccc998ac42c > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml > @@ -0,0 +1,97 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/atmel,hlcdc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Atmel's HLCD Controller > + > +maintainers: > + - Nicolas Ferre > + - Alexandre Belloni > + - Claudiu Beznea > + > +description: > + The Atmel HLCDC (HLCD Controller) IP available on Atmel SoCs exposes t= wo > + subdevices, a PWM chip and a Display Controller. > + > +properties: > + compatible: > + enum: > + - atmel,at91sam9n12-hlcdc > + - atmel,at91sam9x5-hlcdc > + - atmel,sama5d2-hlcdc > + - atmel,sama5d3-hlcdc > + - atmel,sama5d4-hlcdc > + - microchip,sam9x60-hlcdc > + - microchip,sam9x75-xlcdc > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 3 Hmm, one thing I probably should have said on the previous version, but I missed somehow: It would be good to add an items list to the clocks property here to explain what the 3 clocks are/are used for - especially since there is additional complexity being added here to use either the sys or lvds clocks. Thanks, Conor. > + > + clock-names: > + items: > + - const: periph_clk > + - enum: [sys_clk, lvds_pll_clk] > + - const: slow_clk --o+4Qxw6Z8JF2FunJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZalGXgAKCRB4tDGHoIJi 0n63APwO3PcryW3m5qmOtCPUmCER5xFofHNE9C4ok35HJXY0RwD/WhbDDGMDO/jO SfTZ40mYL4OX63fbti7nK939wPrXXAc= =lFW+ -----END PGP SIGNATURE----- --o+4Qxw6Z8JF2FunJ--