Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp720231pxf; Thu, 1 Apr 2021 11:44:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydtgKBCsx++bu19hp8wZk1ePHqh2loa9IFVDQLpeuD8hAcYy7uvMbrZ7AOcInkbfdkb+e2 X-Received: by 2002:a05:6402:1051:: with SMTP id e17mr11512800edu.42.1617302677195; Thu, 01 Apr 2021 11:44:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617302677; cv=none; d=google.com; s=arc-20160816; b=DbNdbV6UeiWLmwpuQunMD3BQt4pZN0PVxEjVUlMNEPhNR3BaTBIZzRxTuDHW7enPPP Dc2My85MLghCl+rSlfQUrkC42xNrzeyi2ilbCdkyQbbYFZWrYuR3oHVcew1SCT0t/PVy X11BZVyJ7GFnGxaG78bl3Wx0afzFYqPvcjfU2G3Z19cNEMnbZPu0TBYLj0Bp1UNth5/s UqMNByRCZvxUtdt5eI5gSqU4MunlEgXZD/l+z2IK8ttusXbKZh/VKiTGn5kB9II7/lKI IO53t9gf/HQtINHziiQZkFOSAgVJylH71K+JoVbbjMYLGJcgO4S5sh/wbkFR4+07nOid vZnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=v1CvosrFQKNygk9iPp7GICKpxnzjtFNAnQPCNVGqrl0=; b=KCXQkgoX7mVkQShWOSO5x+OA+MEBsTePNIRnV4H2aPOkxjCsDFAfPr41QPbiClaDKR 9JwhIwhZukbopbL5SvyhiuF3vZs4zylR3d8YD392cYjwMu0zX0D8ZyLSRS+zeOqsuHvA 2FpF0iCFko4PT7linG4XSHMxvRuZDQgVYVOHvlLj6MmCnqY+xSyLhAQjxfgR1ULwFVS1 swGXVS33pzCBI7hfQyVVXiGHvnEoX6fwKRz2LsCBMZXaRT9HD3j5iuOctQYkK1uvvwjM /sl/8EuCNcFntCuqYn3r3C9RWpuGYOZ1skMMok/+sQlYDzIFBi2wJqPyAC6Q9T3tqtqn 89Bg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 8si5391423ejx.637.2021.04.01.11.44.14; Thu, 01 Apr 2021 11:44:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239984AbhDASlD (ORCPT + 99 others); Thu, 1 Apr 2021 14:41:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239537AbhDASQg (ORCPT ); Thu, 1 Apr 2021 14:16:36 -0400 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 173FFC031176; Thu, 1 Apr 2021 10:08:22 -0700 (PDT) Received: by mail-ot1-x32f.google.com with SMTP id s11-20020a056830124bb029021bb3524ebeso2804560otp.0; Thu, 01 Apr 2021 10:08:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=v1CvosrFQKNygk9iPp7GICKpxnzjtFNAnQPCNVGqrl0=; b=nUFN5VDLYQQFUp8ArIWsB5HpnTrc9LOR1XMhauLTxNbHsfFVkCaCR3Q37AzFtIDxOy 0FyLnVQtPFa+tQiKoNcxF8CtX/PktYqKGyJ5FUOPE4A1g6VfJuJEXYILS7ijTgmHcMV7 uw8juXhSX5N3rzHZy0U1qPBp2Tm8jjDQmuS1IDnQHTxcdGVZdQe3/2syJ4r35DG1SY3R Kauh0TR92LJCKKumh8nNJotOqYndkrUO8HYNvZhUnIKME5LnYsjP8blMkMtOANBGhm3h 98e2Gm1pgH5/4UChNtztSkbWe7CitnuEXk3IMGSl2sBSNiXYe+y84QTzx3otY9kedres iGNA== X-Gm-Message-State: AOAM531bm8B6kPRrwnK3ABvGTLxGXiTg1HEVvxQQKVFiDTr7o95mjxgZ uTF6E4eU5AkRaOVYAZXyuw== X-Received: by 2002:a05:6830:2050:: with SMTP id f16mr7397558otp.182.1617296899631; Thu, 01 Apr 2021 10:08:19 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id h18sm1178721oov.43.2021.04.01.10.08.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 10:08:18 -0700 (PDT) Received: (nullmailer pid 621699 invoked by uid 1000); Thu, 01 Apr 2021 17:08:18 -0000 Date: Thu, 1 Apr 2021 12:08:18 -0500 From: Rob Herring To: Cristian Ciocaltea Cc: Andreas =?iso-8859-1?Q?F=E4rber?= , Manivannan Sadhasivam , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/6] dt-bindings: soc: actions: Add Actions Semi Owl socinfo binding Message-ID: <20210401170818.GB610119@robh.at.kernel.org> References: <15da0257b10aa62bfb7046437915d05a614c01ee.1617110420.git.cristian.ciocaltea@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15da0257b10aa62bfb7046437915d05a614c01ee.1617110420.git.cristian.ciocaltea@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 30, 2021 at 04:48:17PM +0300, Cristian Ciocaltea wrote: > Add devicetree binding for the Actions Semi Owl socinfo driver. > > Signed-off-by: Cristian Ciocaltea > --- > .../bindings/soc/actions/owl-socinfo.yaml | 57 +++++++++++++++++++ > 1 file changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/actions/owl-socinfo.yaml > > diff --git a/Documentation/devicetree/bindings/soc/actions/owl-socinfo.yaml b/Documentation/devicetree/bindings/soc/actions/owl-socinfo.yaml > new file mode 100644 > index 000000000000..01e4a8b4f5ac > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/actions/owl-socinfo.yaml > @@ -0,0 +1,57 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/actions/owl-socinfo.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Actions Semi Owl SoC info module > + > +maintainers: > + - Cristian Ciocaltea > + > +description: | > + Actions Semi Owl SoC info module provides access to various information > + about the S500, S700 and S900 SoC variants, such as serial number or id. > + > +select: > + properties: > + compatible: > + contains: > + enum: > + - actions,s500-soc > + - actions,s700-soc > + - actions,s900-soc > + required: > + - compatible > + > +properties: > + compatible: > + items: > + - enum: > + - actions,s500-soc > + - actions,s700-soc > + - actions,s900-soc > + - const: simple-bus > + > +required: > + - compatible > + > +additionalProperties: true > + > +examples: > + - | > + / { > + compatible = "roseapplepi,roseapplepi", "actions,s500"; > + model = "Roseapple Pi"; > + #address-cells = <1>; > + #size-cells = <1>; > + > + soc { > + compatible = "actions,s500-soc", "simple-bus"; What's the actual h/w for this bus? Still looks like abuse of DT to create your virtual soc_info driver. > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + }; > + }; > + > +... > -- > 2.31.1 >