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 D7094C4332F for ; Wed, 2 Nov 2022 17:37:07 +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=/FjU8WwrRSdZh1o4Lpv5/Vf/+7bX5Z+jLuDgEtJY5HU=; b=D4hK8JDm27fqzG Ab8YqWxICEf3ijO0d851HM2u7Gd5OiKAKzAn4ojVlMn0tsg6ACtonK2cCR2Jxi5fIuNabtQl/gs5o Wg4k3MaAMbyWfkFuUSIhLpk6iYSq0TxP7TlCWwO1Gx3kz+25kmWOKuKHqlqokrpSeCNM13N8F019a fEdQDhIgycq7QuIur6cnrdcUIPw5GmL0GCO6MtWImwt8F8PELUdemTRUAQ1plLCUaR/XdvrfuxIKG DZRB0/Vhj2/JFL9BYvHpmQIjmMdQdbEVh/LDwoCHuUEsoV5bpRDy5sURXGkbR4G2UtN5OofdvR4Si 8FRz23ZORtMi3644qf1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHel-00Cc1F-LO; Wed, 02 Nov 2022 17:36:03 +0000 Received: from mail-oi1-f176.google.com ([209.85.167.176]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqHei-00CbzR-EH for linux-arm-kernel@lists.infradead.org; Wed, 02 Nov 2022 17:36:02 +0000 Received: by mail-oi1-f176.google.com with SMTP id n186so2603655oih.7 for ; Wed, 02 Nov 2022 10:35:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=L+RvV9HroI0e17hg2yo5PeRMsRDFO5hYneSn93G5vAw=; b=iAh2Yms2tTmtW8MrF8ickK35nQDjH1N/I7rCo9U3yg1rXUs41/EAqJ9iAJI4BZv50z Qy0+2TrdNPEVtNB5Sinhr8KOicwyoH/uigwxvvBedYXfvecrDB/um7NN7JcJZgMLiY/G Gtc0hNBEWAn2wB4eBWEJ81U1jIYbxzPa0CzVD0DNquunNs1XICSOFZiJAu36Zrdu2dBV ewa8NX5uhD58+3guFYGVfYI50ugVfYN39R0NHSfdecxvTDhfKipy80aQR0VvwlhjZVSU uMHPpRUr40TPOoRLuhj3yrH3VMbwvB2uQFlJFrGqIJoPnZ7WYWKoC/z1QcE5Oq5h0ikx tlBw== X-Gm-Message-State: ACrzQf1779RRANL7lBQ+H4RgdOiiQrg+Ac7WFADFGcZRHmRYd3/VHsxq rkzBq+vRc0r5HYYlpDTWfQ== X-Google-Smtp-Source: AMsMyM6S6yrU8ZP1Vft7Pfk72GvckKRnabbPfsNxEGLyAuPRkh1o8+IaC7Nwzw++fcYP0UzthbF41Q== X-Received: by 2002:a05:6808:178a:b0:359:fe7a:14ac with SMTP id bg10-20020a056808178a00b00359fe7a14acmr10682650oib.34.1667410557660; Wed, 02 Nov 2022 10:35:57 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id e66-20020a4a5545000000b004805e9e9f3dsm4713825oob.1.2022.11.02.10.35.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 10:35:57 -0700 (PDT) Received: (nullmailer pid 5954 invoked by uid 1000); Wed, 02 Nov 2022 17:35:58 -0000 Date: Wed, 2 Nov 2022 12:35:58 -0500 From: Rob Herring To: Andrew Davis Cc: Lee Jones , Krzysztof Kozlowski , Arnd Bergmann , Linus Walleij , Geert Uytterhoeven , Daniel Tang , Fabian Vogt , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/9] dt-bindings: mfd: Add TI-Nspire misc registers Message-ID: <20221102173558.GA4193055-robh@kernel.org> References: <20221101215804.16262-1-afd@ti.com> <20221101215804.16262-2-afd@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221101215804.16262-2-afd@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221102_103600_499498_78131517 X-CRM114-Status: GOOD ( 22.97 ) 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, Nov 01, 2022 at 04:57:56PM -0500, Andrew Davis wrote: > The TI Nspire devices contain a set of registers with a seemingly > miscellaneous set of functionality. This area is known simply as the > "misc" region. > > Signed-off-by: Andrew Davis > --- > .../bindings/mfd/ti,nspire-misc.yaml | 55 +++++++++++++++++++ > 1 file changed, 55 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/ti,nspire-misc.yaml > > diff --git a/Documentation/devicetree/bindings/mfd/ti,nspire-misc.yaml b/Documentation/devicetree/bindings/mfd/ti,nspire-misc.yaml > new file mode 100644 > index 0000000000000..d409eae7537bd > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/ti,nspire-misc.yaml > @@ -0,0 +1,55 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/ti,nspire-misc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: TI Nspire MISC hardware block > + > +maintainers: > + - Andrew Davis > + > +description: | > + System controller node represents a register region containing a set > + of miscellaneous registers. The registers are not cohesive enough to > + represent as any specific type of device. The typical use-case is > + for some other node's driver, or platform-specific code, to acquire > + a reference to the syscon node (e.g. by phandle, node path, or > + search using a specific compatible value), interrogate the node (or > + associated OS driver) to determine the location of the registers, > + and access the registers directly. Looks like you copied the generic description? Describe what MISC contains. > + > +properties: > + compatible: > + items: > + - enum: > + - ti,nspire-misc > + - const: syscon > + - const: simple-mfd > + > + reg: > + maxItems: 1 > + > + reboot: > + $ref: "../power/reset/syscon-reboot.yaml" /schemas/power/... And no quotes needed. > + > +required: > + - compatible > + - reg > + - reboot > + > +additionalProperties: false > + > +examples: > + - | > + misc: misc@900a0000 { > + compatible = "ti,nspire-misc", "syscon", "simple-mfd"; > + reg = <0x900a0000 0x1000>; > + > + reboot { > + compatible = "syscon-reboot"; > + offset = <0x08>; > + value = <0x02>; > + }; > + }; > -- > 2.37.3 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel