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 C415FEB64DC for ; Fri, 21 Jul 2023 14:04:55 +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:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AEbt0g2bZQFTC7VBf6DWWm2adySbV72Q483DWaSWqzU=; b=fJaG6nj8NjzIfm k6K2zk1DzlIU5f/OTk+os04G0y9bsR9b9UCcw76qIcTiNJKmZ/ZgCT2dyH59geCxlBONsgGZ69vAO UpFJ9V/dAhGLea0rOd0pqj+/L9+iYw8QEyjxzAeRhCQtC2ErI+rkTk3yLv7Nl4tZ/Vwt0HIhw7u3G 9qlLnAeJ0hXOm3AEcWCydWLdpz8WTTprt8pozqRqSwMSkoqxcxx6gI8irtYAC6qUYEnoIH92SCxm1 HTt8BeDOfD18T6tff5Pk74+I++aclHvybWfZ38QNPFBuCIisb1WrurSiXczrBzMNYGz4ZxiUKi8wr diHyDOr050Pn6Vn77QpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qMqkQ-00EEPG-2a; Fri, 21 Jul 2023 14:04:46 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qMqkN-00EENw-1K for linux-mtd@lists.infradead.org; Fri, 21 Jul 2023 14:04:45 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-3fbea147034so16564825e9.0 for ; Fri, 21 Jul 2023 07:04:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689948280; x=1690553080; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=i0hqft4rLykA1Qm+aWWngJrri1KXMWVHpmrflE+PpLU=; b=PuGwprqKdpq8LkzNLASjiLmbz8p+yLCZy03ATCdJs8insWuhZan57oKC4jNZCzS4ND E7w8hDj2JEk/yaK001S70oJdFPQrhUiTFfWV3ga4MQCxDAA5JM/JTtabf+JXMWw8QZqr uoSOVXGMsahKvU4F69owM+VtHTiwZXV4Sac3eBA92YtCWMRlMuuTlEdryO1jsFqitT9q Y1i7MCt3snL55MX8kx8uOg3fD3m9IlBurQS/nGi/qx0D8zW2mRSuqw3P0325+pIM+Zak ouue3EcgaEHjRHxqHf3v/fAkDRZkz6EaGTuc3CsJGpLhr2+Jc9UQriimeNAwdK1RDAD2 VUsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689948280; x=1690553080; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=i0hqft4rLykA1Qm+aWWngJrri1KXMWVHpmrflE+PpLU=; b=Nv1/34w+bNjAuEaB9Q3bStHl+xss7KFgyFXM0253giKYxLeiyOwYsg4aai7sndXJvp vMyIdDBNvJmVERqQ6kLrWs2aV56eKYwhn/ZorCX2sxouPS6A5s8EQ/DAJNzOMZg1mZVX zMmJ/EpZYbW0+ifIqp4npsnBEDpPUbz0Y+3TXw/35WKDlsX+ojaUkFJQBTVRcvyc1Dlt bOWyUsldgfD8Q+xvLQ+clU3DSAJ+Lc0hJERukeIR6ykPtlLyu/tsLlsL2hGcZmvRVb46 mKGtRadEnS1bh7Qn0vG58vXJLkun4LJNR8IeFoxPUNA0pX76HdmGJPoVciETklgZAZfx PnHA== X-Gm-Message-State: ABy/qLYfD2mPuL0VDbKBi0BqLuhUv0+OZl1ITbRnUX6DrZXB3JHkZMWI J1migHWRskX9NxSr1cgfMTTZMQ== X-Google-Smtp-Source: APBJJlEsMYe5JQ+pU4AezELFYdRQHmI7TefsDs6cDm78/h68oOlcICdvW129lDjtJ/t6VHgFfG467Q== X-Received: by 2002:adf:fc03:0:b0:314:1634:491e with SMTP id i3-20020adffc03000000b003141634491emr1269926wrr.20.1689948279591; Fri, 21 Jul 2023 07:04:39 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id x8-20020a1c7c08000000b003f90b9b2c31sm6142028wmc.28.2023.07.21.07.04.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Jul 2023 07:04:38 -0700 (PDT) Message-ID: <5603264e-2efe-48ce-b025-797501f29fde@linaro.org> Date: Fri, 21 Jul 2023 16:04:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v3 06/42] dt-bindings: soc: Add Cirrus EP93xx Content-Language: en-US To: nikita.shubin@maquefel.me, Hartley Sweeten , Lennert Buytenhek , Alexander Sverdlin , Russell King , Lukasz Majewski , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Daniel Lezcano , Thomas Gleixner , Alessandro Zummo , Alexandre Belloni , Wim Van Sebroeck , Guenter Roeck , Sebastian Reichel , Thierry Reding , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Mark Brown , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Vinod Koul , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Damien Le Moal , Sergey Shtylyov , Dmitry Torokhov , Arnd Bergmann , Olof Johansson , soc@kernel.org, Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Andy Shevchenko , Michael Peters , Kris Bahnsen Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-rtc@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-pm@vger.kernel.org, linux-pwm@vger.kernel.org, linux-spi@vger.kernel.org, netdev@vger.kernel.org, dmaengine@vger.kernel.org, linux-mtd@lists.infradead.org, linux-ide@vger.kernel.org, linux-input@vger.kernel.org, alsa-devel@alsa-project.org References: <20230605-ep93xx-v3-0-3d63a5f1103e@maquefel.me> <20230605-ep93xx-v3-6-3d63a5f1103e@maquefel.me> From: Krzysztof Kozlowski In-Reply-To: <20230605-ep93xx-v3-6-3d63a5f1103e@maquefel.me> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230721_070443_465024_DDF423E4 X-CRM114-Status: GOOD ( 20.62 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On 20/07/2023 13:29, Nikita Shubin via B4 Relay wrote: > From: Nikita Shubin > > This adds device tree bindings for the Cirrus Logic EP93xx. > > Signed-off-by: Nikita Shubin > --- > .../bindings/arm/cirrus/ep9301-syscon.yaml | 59 ++++++++++++++++++++++ syscon goes to soc directory. Also, please add vendor prefix to the filenames. > .../devicetree/bindings/arm/cirrus/ep9301.yaml | 39 ++++++++++++++ > 2 files changed, 98 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/cirrus/ep9301-syscon.yaml b/Documentation/devicetree/bindings/arm/cirrus/ep9301-syscon.yaml > new file mode 100644 > index 000000000000..77fbe1f006fd > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/cirrus/ep9301-syscon.yaml > @@ -0,0 +1,59 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/cirrus/ep9301-syscon.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cirrus Logic EP93xx Platforms System Controller > + > +maintainers: > + - Alexander Sverdlin > + - Nikita Shubin > + > +properties: > + compatible: > + oneOf: > + - items: > + - enum: > + - cirrus,ep9302-syscon > + - cirrus,ep9307-syscon > + - cirrus,ep9312-syscon > + - cirrus,ep9315-syscon > + - const: cirrus,ep9301-syscon > + - const: syscon > + - const: simple-mfd > + - items: > + - const: cirrus,ep9301-syscon > + - const: syscon > + - const: simple-mfd > + > + reg: > + maxItems: 1 > + > + reboot: > + type: object > + properties: > + compatible: > + const: cirrus,ep9301-reboot Patch introducing it should be before this one. Also, do not use different styles for your child nodes. Your other nodes use $ref. > + > + clock-controller: > + type: object > + $ref: ../../clock/cirrus,ep9301-clk.yaml Absolute path, so /schemas/clock/cirrus..... > + > + pinctrl: > + type: object > + $ref: ../../pinctrl/cirrus,ep9301-pinctrl.yaml Ditto > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + syscon@80930000 { > + compatible = "cirrus,ep9301-syscon", > + "syscon", "simple-mfd"; > + reg = <0x80930000 0x1000>; Incomplete example. > + }; > diff --git a/Documentation/devicetree/bindings/arm/cirrus/ep9301.yaml b/Documentation/devicetree/bindings/arm/cirrus/ep9301.yaml > new file mode 100644 > index 000000000000..6087784e93fb > --- /dev/null Best regards, Krzysztof ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/