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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7D16C433EF for ; Tue, 4 Jan 2022 15:35:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233679AbiADPfe (ORCPT ); Tue, 4 Jan 2022 10:35:34 -0500 Received: from mail-oi1-f182.google.com ([209.85.167.182]:38858 "EHLO mail-oi1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233658AbiADPfd (ORCPT ); Tue, 4 Jan 2022 10:35:33 -0500 Received: by mail-oi1-f182.google.com with SMTP id s73so60026210oie.5; Tue, 04 Jan 2022 07:35:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=6Sl1wdkIsl6Ta/19UixjKojjWof/12N54aS+vBUZ0xc=; b=zyTDkDiWAzIE8PwCSzwAUhgUKgZ07VB9aFc1AITBY+7XkBKj3o+gEYUCoVu1uN42rs KJ6fn+H7VjudyguJ03IbzAyryLe8xgLwv+5Rf1/mNyRAESeiGXKNtAlMi8/faLxpuY9k /APKkL+1pEej6Fr7OpTOTSjxPFbmjOkiO9rZp8kBpRSNCC9VwHYYTcBKmmJgKXZXh5B4 n1hjSIXbN1HV+/chPGSuirw8gHBFEAHcBoYhQoa+6U7NxYRm4lWSuvAlrKUF7SJH5p5b A0nv/StVBCyIMynXCTb2eL6RSn7BN4b/B/C8lH+W2zXhswizvWQ8FAEWv28nDyW0csRz R7SA== X-Gm-Message-State: AOAM533FIEL4M31CxrIY6a+utqLM9PXDJ++vYBxCLIqOGhl5AHTYEApS AcKH4bADuYR0bPjC6fNn0g== X-Google-Smtp-Source: ABdhPJy3731bmsVn395Zgfp+Qv6gBMK6U2osV7TqAWwszox9XQnqwhNjbfGVtivA0qvptS70MfJ14w== X-Received: by 2002:a05:6808:16a3:: with SMTP id bb35mr40606254oib.72.1641310533059; Tue, 04 Jan 2022 07:35:33 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id bk41sm9969116oib.31.2022.01.04.07.35.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 07:35:32 -0800 (PST) Received: (nullmailer pid 882418 invoked by uid 1000); Tue, 04 Jan 2022 15:35:31 -0000 Date: Tue, 4 Jan 2022 09:35:31 -0600 From: Rob Herring To: Krzysztof Kozlowski Cc: Lee Jones , Javier Martinez Canillas , Liam Girdwood , Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: Re: [PATCH 3/3] dt-bindings: mfd: maxim,max77802: Convert to dtschema Message-ID: References: <20211228164305.35877-1-krzysztof.kozlowski@canonical.com> <20211228164305.35877-4-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211228164305.35877-4-krzysztof.kozlowski@canonical.com> Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org On Tue, Dec 28, 2021 at 05:43:05PM +0100, Krzysztof Kozlowski wrote: > Convert the MFD part of Maxim MAX77802 PMIC to DT schema format. The > example DTS was copied from existing DTS (exynos5800-peach-pi.dts), so > keep the license as GPL-2.0-only. > > Signed-off-by: Krzysztof Kozlowski > --- > .../devicetree/bindings/mfd/max77802.txt | 25 --- > .../bindings/mfd/maxim,max77802.yaml | 194 ++++++++++++++++++ > MAINTAINERS | 2 +- > 3 files changed, 195 insertions(+), 26 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/mfd/max77802.txt > create mode 100644 Documentation/devicetree/bindings/mfd/maxim,max77802.yaml > > diff --git a/Documentation/devicetree/bindings/mfd/max77802.txt b/Documentation/devicetree/bindings/mfd/max77802.txt > deleted file mode 100644 > index 09decac20d91..000000000000 > --- a/Documentation/devicetree/bindings/mfd/max77802.txt > +++ /dev/null > @@ -1,25 +0,0 @@ > -Maxim MAX77802 multi-function device > - > -The Maxim MAX77802 is a Power Management IC (PMIC) that contains 10 high > -efficiency Buck regulators, 32 Low-DropOut (LDO) regulators used to power > -up application processors and peripherals, a 2-channel 32kHz clock outputs, > -a Real-Time-Clock (RTC) and a I2C interface to program the individual > -regulators, clocks outputs and the RTC. > - > -Bindings for the built-in 32k clock generator block and > -regulators are defined in ../clk/maxim,max77802.txt and > -../regulator/max77802.txt respectively. > - > -Required properties: > -- compatible : Must be "maxim,max77802" > -- reg : Specifies the I2C slave address of PMIC block. > -- interrupts : I2C device IRQ line connected to the main SoC. > - > -Example: > - > - max77802: pmic@9 { > - compatible = "maxim,max77802"; > - interrupt-parent = <&intc>; > - interrupts = <26 IRQ_TYPE_NONE>; > - reg = <0x09>; > - }; > diff --git a/Documentation/devicetree/bindings/mfd/maxim,max77802.yaml b/Documentation/devicetree/bindings/mfd/maxim,max77802.yaml > new file mode 100644 > index 000000000000..26f49fbace18 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/maxim,max77802.yaml > @@ -0,0 +1,194 @@ > +# SPDX-License-Identifier: GPL-2.0-only > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/maxim,max77802.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Maxim MAX77802 Power Management IC > + > +maintainers: > + - Javier Martinez Canillas > + - Krzysztof Kozlowski > + > +description: | > + This is a part of device tree bindings for Maxim MAX77802 Power Management > + Integrated Circuit (PMIC). > + > + The Maxim MAX77802 is a Power Management IC which includes voltage and > + current regulators (10 high efficiency Buck regulators and 32 Low-DropOut > + (LDO)), RTC and clock outputs. > + > + The MAX77802 provides two 32.768khz clock outputs that can be controlled > + (gated/ungated) over I2C. The clock IDs are defined as preprocessor macros > + in dt-bindings/clock/maxim,max77802.h. > + > +properties: > + compatible: > + const: maxim,max77802 > + > + '#clock-cells': > + const: 1 > + > + interrupts: > + maxItems: 1 > + > + reg: > + maxItems: 1 > + > + regulators: > + $ref: ../regulator/maxim,max77802.yaml Use absolute path: /schemas/regulator/... With that, Reviewed-by: Rob Herring 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 0D264C433F5 for ; Tue, 4 Jan 2022 15:36:46 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=33QMFYk5ylmFT3DLP8juSn20Tsmhc3sO5WYDro2zdOg=; b=MnyML+JdKTgSWs +rCLMjULDyKJyfDqaUaAiOKzKizG5CU/GaTzBCv2hLzwEqir5VNy5SKOLaCVl3qlmqTpQwDeHyIQW FNXXNvDrwY+AckCLVVEHntqYbTVqRFyN5xyCj44oqHEAX1Am5IMKZXOAA7ytifYYVhNj4pRRpJs3m fWkkKMWaR+CjdD8u1V3qJl75YreR3ime1RBnWLmx1Q8vRUeJRYXwGAlq9CHjZUY8V4HbKPV39zHXC dL6HKvnDGXcc18FrwNKIhICb1f+PtwDw4hIjwUO75hl6k22Ybeck9F7Hmu6KWPgzbPmsg/EF64cjx cjGZJHL/N5J2PbW4iMdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4lqc-00BxCR-Lh; Tue, 04 Jan 2022 15:35:38 +0000 Received: from mail-oi1-f177.google.com ([209.85.167.177]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4lqY-00BxAw-FM for linux-arm-kernel@lists.infradead.org; Tue, 04 Jan 2022 15:35:36 +0000 Received: by mail-oi1-f177.google.com with SMTP id t19so60009605oij.1 for ; Tue, 04 Jan 2022 07:35:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=6Sl1wdkIsl6Ta/19UixjKojjWof/12N54aS+vBUZ0xc=; b=hJHiM/5P0UufzG1lak1JUtZeh/bn0sqqhnfiie6l5P36+dV8QPzK1pLsZTHCuNpNn6 gcV9sx2SpJpDUrIytfr3JvbgRfPdrslj5lhQauUowWd2KsJeQHkZPIOwogFE2DH55+Z+ iszKICFhsHt8+GBjcslTV51HQ+PRn4mAvHEJS1jvdMjjvUCOalEHM+fhcOMNO1mc6+TK 5H6nsOPcnZDn9kQ7JyAbLBFpMiyXXEHuAnTbc4ngTBFGaXJjTAyPPyOIslDH9nZ9XDEk 7yxmmRm16mTuNYKy4HM6+MjKNVmTCbEP+ECW+xosEtdH3DhvRV0MFVB/3weL04KTDjoh hjdA== X-Gm-Message-State: AOAM530TOCivuRZmNZUbEPu00OqUgJxJzqWQrTCyHyiTXxmmfqvbOsDR noBaTQnx/g7xFHbmKJB0WA== X-Google-Smtp-Source: ABdhPJy3731bmsVn395Zgfp+Qv6gBMK6U2osV7TqAWwszox9XQnqwhNjbfGVtivA0qvptS70MfJ14w== X-Received: by 2002:a05:6808:16a3:: with SMTP id bb35mr40606254oib.72.1641310533059; Tue, 04 Jan 2022 07:35:33 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id bk41sm9969116oib.31.2022.01.04.07.35.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 07:35:32 -0800 (PST) Received: (nullmailer pid 882418 invoked by uid 1000); Tue, 04 Jan 2022 15:35:31 -0000 Date: Tue, 4 Jan 2022 09:35:31 -0600 From: Rob Herring To: Krzysztof Kozlowski Cc: Lee Jones , Javier Martinez Canillas , Liam Girdwood , Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: Re: [PATCH 3/3] dt-bindings: mfd: maxim, max77802: Convert to dtschema Message-ID: References: <20211228164305.35877-1-krzysztof.kozlowski@canonical.com> <20211228164305.35877-4-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211228164305.35877-4-krzysztof.kozlowski@canonical.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220104_073534_543652_2A026304 X-CRM114-Status: GOOD ( 25.26 ) 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: , 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 Tue, Dec 28, 2021 at 05:43:05PM +0100, Krzysztof Kozlowski wrote: > Convert the MFD part of Maxim MAX77802 PMIC to DT schema format. The > example DTS was copied from existing DTS (exynos5800-peach-pi.dts), so > keep the license as GPL-2.0-only. > > Signed-off-by: Krzysztof Kozlowski > --- > .../devicetree/bindings/mfd/max77802.txt | 25 --- > .../bindings/mfd/maxim,max77802.yaml | 194 ++++++++++++++++++ > MAINTAINERS | 2 +- > 3 files changed, 195 insertions(+), 26 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/mfd/max77802.txt > create mode 100644 Documentation/devicetree/bindings/mfd/maxim,max77802.yaml > > diff --git a/Documentation/devicetree/bindings/mfd/max77802.txt b/Documentation/devicetree/bindings/mfd/max77802.txt > deleted file mode 100644 > index 09decac20d91..000000000000 > --- a/Documentation/devicetree/bindings/mfd/max77802.txt > +++ /dev/null > @@ -1,25 +0,0 @@ > -Maxim MAX77802 multi-function device > - > -The Maxim MAX77802 is a Power Management IC (PMIC) that contains 10 high > -efficiency Buck regulators, 32 Low-DropOut (LDO) regulators used to power > -up application processors and peripherals, a 2-channel 32kHz clock outputs, > -a Real-Time-Clock (RTC) and a I2C interface to program the individual > -regulators, clocks outputs and the RTC. > - > -Bindings for the built-in 32k clock generator block and > -regulators are defined in ../clk/maxim,max77802.txt and > -../regulator/max77802.txt respectively. > - > -Required properties: > -- compatible : Must be "maxim,max77802" > -- reg : Specifies the I2C slave address of PMIC block. > -- interrupts : I2C device IRQ line connected to the main SoC. > - > -Example: > - > - max77802: pmic@9 { > - compatible = "maxim,max77802"; > - interrupt-parent = <&intc>; > - interrupts = <26 IRQ_TYPE_NONE>; > - reg = <0x09>; > - }; > diff --git a/Documentation/devicetree/bindings/mfd/maxim,max77802.yaml b/Documentation/devicetree/bindings/mfd/maxim,max77802.yaml > new file mode 100644 > index 000000000000..26f49fbace18 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/maxim,max77802.yaml > @@ -0,0 +1,194 @@ > +# SPDX-License-Identifier: GPL-2.0-only > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/maxim,max77802.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Maxim MAX77802 Power Management IC > + > +maintainers: > + - Javier Martinez Canillas > + - Krzysztof Kozlowski > + > +description: | > + This is a part of device tree bindings for Maxim MAX77802 Power Management > + Integrated Circuit (PMIC). > + > + The Maxim MAX77802 is a Power Management IC which includes voltage and > + current regulators (10 high efficiency Buck regulators and 32 Low-DropOut > + (LDO)), RTC and clock outputs. > + > + The MAX77802 provides two 32.768khz clock outputs that can be controlled > + (gated/ungated) over I2C. The clock IDs are defined as preprocessor macros > + in dt-bindings/clock/maxim,max77802.h. > + > +properties: > + compatible: > + const: maxim,max77802 > + > + '#clock-cells': > + const: 1 > + > + interrupts: > + maxItems: 1 > + > + reg: > + maxItems: 1 > + > + regulators: > + $ref: ../regulator/maxim,max77802.yaml Use absolute path: /schemas/regulator/... With that, Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel