From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 46C00C4725D for ; Fri, 19 Jan 2024 19:46:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nNVsvll4bZ513jGTMlANDpZcWEVHsKSGQL/czHql22U=; b=uH30fvMarSF1cQ XgOpUaxIYYcsURY2eZ1wN3rEjTRyFumUQ6CvuqcpBixWudY4fAfBMTaVzqbRdq4f2xEaLaDECtIuS QyL6eQ42ISSbkfewtq6eMPBNtD/GFRViBnCImZ/rFd7JanfX5x9nA9dekYDcRvMuCv3Vs1QMR2uVe D2fPMe1U/slL2G9PGPyLKHLnSeQPh9vRfnnUvcwyIEdz2ad/fBnyOyjbt89fZSsMkloBNGeXZmOxD vtgI5gNGP2fxpdypKDcVMEJGVoyLnoXklRVJkIAOxMOI2Q78ezNpYvm9J0bdFk7Db76cpHDSTUq8X THBc86sJOKACIL7TJXEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rQuoD-006VFg-14; Fri, 19 Jan 2024 19:45:45 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rQuoA-006VEL-0c for linux-arm-kernel@lists.infradead.org; Fri, 19 Jan 2024 19:45:44 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 110FECE1D6E; Fri, 19 Jan 2024 19:45:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27FBCC433C7; Fri, 19 Jan 2024 19:45:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705693536; bh=ZLRFh8jAtCz6PPqki5bAxQzNfDJr0iQNBuuoCLP1jyY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i8qlEF5lFfm1rnknBphId32t07uJ2nWjZ0/vbiPRCdIJBTGH3RGmYFFCigwhoDjuK pGvDBpEd3bg9kRqQBr2nd2+zOlbXyEQMy1eEDclTbGqmNl1sL5vngXy3TvavH1eG5K t83Sb2pV54FQfxvF4wf/dzRlharZnoV7WWdmB2/dzUKd0BXalzqIFCSxcGN23ujhTK iGVUrXYmcIySuzr6IIKdxbbqup7CATqsBYPI1ozLYJZPxapqjL1MTfLuSkQvJUdb6x YDIEwjUvntaq11XQmZBCDnqRJuFqa9/nPYX2DFSYHq7BWK3+WJiaGmofo2U+O0vmA5 9HAR7B0e5IcWQ== Date: Fri, 19 Jan 2024 13:45:34 -0600 From: Rob Herring To: Dharma Balasubiramani Subject: Re: [PATCH v3 2/3] dt-bindings: atmel,hlcdc: convert pwm bindings to json-schema Message-ID: <20240119194534.GA938671-robh@kernel.org> References: <20240118092612.117491-1-dharma.b@microchip.com> <20240118092612.117491-3-dharma.b@microchip.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240118092612.117491-3-dharma.b@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240119_114542_582121_8CA2375A X-CRM114-Status: GOOD ( 22.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux4microchip@microchip.com, linux-pwm@vger.kernel.org, alexandre.belloni@bootlin.com, dri-devel@lists.freedesktop.org, conor.dooley@microchip.com, thierry.reding@gmail.com, krzysztof.kozlowski+dt@linaro.org, claudiu.beznea@tuxon.dev, airlied@gmail.com, sam@ravnborg.org, lee@kernel.org, u.kleine-koenig@pengutronix.de, devicetree@vger.kernel.org, conor+dt@kernel.org, tzimmermann@suse.de, maarten.lankhorst@linux.intel.com, mripard@kernel.org, linux-arm-kernel@lists.infradead.org, bbrezillon@kernel.org, linux-kernel@vger.kernel.org, daniel@ffwll.ch Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jan 18, 2024 at 02:56:11PM +0530, Dharma Balasubiramani wrote: > Convert device tree bindings for Atmel's HLCDC PWM controller to YAML > format. > > Signed-off-by: Dharma Balasubiramani > Reviewed-by: Conor Dooley > --- > changelog > v2 -> v3 > - Remove '|' in description, as there is no formatting to preserve. > - Delete the description for pwm-cells. > - Drop the label for pwm node as it not used. > v1 -> v2 > - Remove the explicit copyrights. > - Modify title (not include words like binding/driver). > - Modify description actually describing the hardware and not the driver. > - Remove pinctrl properties which aren't required. > - Drop parent node and it's other sub-device node which are not related here. > --- > .../bindings/pwm/atmel,hlcdc-pwm.yaml | 44 +++++++++++++++++++ > .../bindings/pwm/atmel-hlcdc-pwm.txt | 29 ------------ > 2 files changed, 44 insertions(+), 29 deletions(-) > create mode 100644 Documentation/devicetree/bindings/pwm/atmel,hlcdc-pwm.yaml > delete mode 100644 Documentation/devicetree/bindings/pwm/atmel-hlcdc-pwm.txt > > diff --git a/Documentation/devicetree/bindings/pwm/atmel,hlcdc-pwm.yaml b/Documentation/devicetree/bindings/pwm/atmel,hlcdc-pwm.yaml > new file mode 100644 > index 000000000000..4f4cc21fe4f7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/pwm/atmel,hlcdc-pwm.yaml > @@ -0,0 +1,44 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pwm/atmel,hlcdc-pwm.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Atmel's HLCDC's PWM controller > + > +maintainers: > + - Nicolas Ferre > + - Alexandre Belloni > + - Claudiu Beznea > + > +description: > + The LCDC integrates a Pulse Width Modulation (PWM) Controller. This block > + generates the LCD contrast control signal (LCD_PWM) that controls the > + display's contrast by software. LCDC_PWM is an 8-bit PWM signal that can be > + converted to an analog voltage with a simple passive filter. LCD display > + panels have different backlight specifications in terms of minimum/maximum > + values for PWM frequency. If the LCDC PWM frequency range does not match the > + LCD display panel, it is possible to use the standalone PWM Controller to > + drive the backlight. > + > +properties: > + compatible: > + const: atmel,hlcdc-pwm > + > + "#pwm-cells": > + const: 3 > + > +required: > + - compatible > + - "#pwm-cells" > + > +additionalProperties: false > + > +examples: > + - | > + pwm { > + compatible = "atmel,hlcdc-pwm"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_lcd_pwm>; > + #pwm-cells = <3>; > + }; Move the example to the MFD schema. Or just drop if already there. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel