Message ID | 20230915-ep93xx-v4-7-a1d779dcec10@maquefel.me |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp884266vqi; Fri, 15 Sep 2023 01:13:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE8BJHSwKrXYyVYy6z2HyD4Ib5TrKu99Ji3VpRaI6MYysSqAArR2LUfZeZXjuOaRHcNxUVq X-Received: by 2002:a17:90a:e512:b0:273:f017:cac0 with SMTP id t18-20020a17090ae51200b00273f017cac0mr747770pjy.39.1694765629632; Fri, 15 Sep 2023 01:13:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694765629; cv=none; d=google.com; s=arc-20160816; b=xffXcn6PNnSR7jSysLD6d2naDigqDqB2MZtQvfOolul/38CH4YzcfGrsTn0wD6GTfv o/z/9lukcMaxiNN4YF6GlVjxRHmtCBxHCE0dqlP5Uqf3zd46qZEp8wCAd2atRx91wZmX sM/V5bPPEwPAp/bh+ANtyjyeJ2iOUgpyX1WbOET9vqWDZWLK9jkGcpPud/pAwHZ74oaE vfTmEjkyCrNdyitP0oOnPBvdpe81t+BQzAx2+na469i6t0SQLf1VPLiCotb5X4zz6HwD XTlLLCLB7rFvJr9gF8d5DUJDyrvjNSqgRcnZXqbU4d9A+k6QuHcikcpV0pwTdkNOvE6x vW2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=9W05Esx3VImxP3msV+OxW/wOJo15XBTuTGvd4wC52Q4=; fh=BlXNvHzOqTKcV+j0icEMA1UW88fP7Exq8gpv+9N+qCc=; b=K7HKbPGB534VsG5xhYPLD/lj1KL1aLE8NE4LkDL6V6MyQrt0fqmxqBmxK4eO/CHzJ1 vJGalpvhJf5uK4JtfIEqbvjWSazogsGssxrNtfE2f30wINgadd3tXDfvcJlcaYAtQn0J 4PZnPtH3rkXDm2SCHTU4hQtrBfOB2AjURMEFsyLdrnRUy8v/UeiVrkpHIVFUeZyojOXG 9wTJg7eVeorQ2K3wURicJgaWWl4Jum5GLvwGPbmAbsqr/Y2d7qzgBUhbiT/VcJ1svUHR NIhx9YN/cBPQIDWDG5dmQpu4YQjerPiM4UD6dcCgqF1HynssacO1UEacNZaexiF2pCHj j72w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u1M5Sr1r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id y6-20020a17090aca8600b00263a99b8448si2983465pjt.113.2023.09.15.01.13.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 01:13:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u1M5Sr1r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B7AFB82222A0; Fri, 15 Sep 2023 01:12:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232939AbjIOIMk (ORCPT <rfc822;ruipengqi7@gmail.com> + 32 others); Fri, 15 Sep 2023 04:12:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232860AbjIOIMP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 15 Sep 2023 04:12:15 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 773D32113; Fri, 15 Sep 2023 01:12:10 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 7B8B5C433BF; Fri, 15 Sep 2023 08:12:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694765528; bh=mBGim63dwvkGq1RMDM5Ao090NhWpVH65a2ZkwL5Yo+c=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=u1M5Sr1rKE4VUdkj5gad3rIT2Mdb2CeODYn1HDPO4k0ATClau4oCyrK1d67BLOfHx Cns8iqShkUh/abvdesfhS5k1ytbS68z/os8XiW2mwyMhqiSkprve+GIx05/oali1IE NFcn4fraxNPWIuY1TuVjA1yUlIce2jjG5bbipIdt4ZqFNFRJYsaxRNkKZRcjh9aakE sbvmNcf7GbjpoRA+P7KvAwbm+bEhhDQbzs0/NJczyVULdDLrh2BkhjU49y3YMYR8E8 CHnEBcS1kh8hxD5IQ2wHijp0Kq0qthph/gLwkh9tWU3/S/9FD4ZBhAadEEEGjHDw/K l38a5GvfivWkQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67CDDEE643C; Fri, 15 Sep 2023 08:12:08 +0000 (UTC) From: Nikita Shubin via B4 Relay <devnull+nikita.shubin.maquefel.me@kernel.org> Date: Fri, 15 Sep 2023 11:10:49 +0300 Subject: [PATCH v4 07/42] dt-bindings: power: reset: Add ep93xx reset MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230915-ep93xx-v4-7-a1d779dcec10@maquefel.me> References: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> In-Reply-To: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> To: Sebastian Reichel <sre@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Alexander Sverdlin <alexander.sverdlin@gmail.com>, Nikita Shubin <nikita.shubin@maquefel.me> Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>, Alexander Sverdlin <alexander.sverdlin@gmail.com> X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694765525; l=1426; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=I52sOmITYDAEad5VX3+fpK9zHNrJkryMKM/Emu0XkSM=; =?utf-8?q?b=3DZtroFVL5l1BX?= =?utf-8?q?jZW9O7+Rvy4kPDH1r3mWCx53MerJIRqRsyqoeay/OjfOjFrXU/QtPDu3EVDszrKH?= F5WJpICTCOIlM1RKp8v7GkkVjVPteUPoBV3E1dJmO5b4s/h3kDWz X-Developer-Key: i=nikita.shubin@maquefel.me; a=ed25519; pk=vqf5YIUJ7BJv3EJFaNNxWZgGuMgDH6rwufTLflwU9ac= X-Endpoint-Received: by B4 Relay for nikita.shubin@maquefel.me/20230718 with auth_id=65 X-Original-From: Nikita Shubin <nikita.shubin@maquefel.me> Reply-To: <nikita.shubin@maquefel.me> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 15 Sep 2023 01:12:45 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777090565120133389 X-GMAIL-MSGID: 1777090565120133389 |
Series |
ep93xx device tree conversion
|
|
Commit Message
Nikita Shubin via B4 Relay
Sept. 15, 2023, 8:10 a.m. UTC
From: Nikita Shubin <nikita.shubin@maquefel.me> Add YAML bindings for ep93xx reset. Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> --- .../bindings/power/reset/cirrus,ep9301-reboot.yaml | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+)
Comments
On 15/09/2023 10:10, Nikita Shubin via B4 Relay wrote: > From: Nikita Shubin <nikita.shubin@maquefel.me> > > Add YAML bindings for ep93xx reset. > > Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> > --- > .../bindings/power/reset/cirrus,ep9301-reboot.yaml | 34 ++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > > diff --git a/Documentation/devicetree/bindings/power/reset/cirrus,ep9301-reboot.yaml b/Documentation/devicetree/bindings/power/reset/cirrus,ep9301-reboot.yaml > new file mode 100644 > index 000000000000..a5a718dec4b5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/power/reset/cirrus,ep9301-reboot.yaml > @@ -0,0 +1,34 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/power/reset/cirrus,ep9301-reboot.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cirrus EP93xx SoC family reset controller > + > +maintainers: > + - Alexander Sverdlin <alexander.sverdlin@gmail.com> > + - Nikita Shubin <nikita.shubin@maquefel.me> > + > +properties: > + compatible: > + oneOf: > + - const: cirrus,ep9301-reboot > + - items: > + - enum: > + - cirrus,ep9302-reboot > + - cirrus,ep9307-reboot > + - cirrus,ep9312-reboot > + - cirrus,ep9315-reboot > + - const: cirrus,ep9301-reboot > + > +required: > + - compatible > + The binding looks fine except... that's not needed. See my comment in next patches. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/power/reset/cirrus,ep9301-reboot.yaml b/Documentation/devicetree/bindings/power/reset/cirrus,ep9301-reboot.yaml new file mode 100644 index 000000000000..a5a718dec4b5 --- /dev/null +++ b/Documentation/devicetree/bindings/power/reset/cirrus,ep9301-reboot.yaml @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/reset/cirrus,ep9301-reboot.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus EP93xx SoC family reset controller + +maintainers: + - Alexander Sverdlin <alexander.sverdlin@gmail.com> + - Nikita Shubin <nikita.shubin@maquefel.me> + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-reboot + - items: + - enum: + - cirrus,ep9302-reboot + - cirrus,ep9307-reboot + - cirrus,ep9312-reboot + - cirrus,ep9315-reboot + - const: cirrus,ep9301-reboot + +required: + - compatible + +additionalProperties: false + +examples: + - | + reboot { + compatible = "cirrus,ep9301-reboot"; + };