Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3994181rdb; Thu, 28 Dec 2023 06:58:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IE52vYFpcxVahh1X/Y5LVoc6nllNtWErqT9VfSbe/s3/L2BS8kQfLzBRhKkU4qecct1o8Bn X-Received: by 2002:ad4:5bcd:0:b0:67a:9356:214f with SMTP id t13-20020ad45bcd000000b0067a9356214fmr13387823qvt.44.1703775497737; Thu, 28 Dec 2023 06:58:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703775497; cv=none; d=google.com; s=arc-20160816; b=XkV0PCejbpcAbew0jc/445pGn3dUmd79gmS/Qu8zuq0X1j3pWWBjc1II7y8mPxJHYd AQ36ek3E0SUgElJwXiAa4totmykAiHKPB7mx9Y0XnUF0fbvCOaC/CLbBB5GrS1T/P8w2 J3oTCsBJJmM+iTUOs54eLKk9MF8u2LYzquj0r3seJGPyqWBes9yZwvDcSA0YWmxwx515 c5s0eo2++9hJaCyD8FoEMMqwowO1tWISCmavhX9QLKBcSH5Z4//ErHeuCWlObHJ2EqLV gL8K8a900S7nC6/OvB37pAc51rk/kP30sPKarI6etTvc2ClainiVOFTrc9tz6lWk8Kcz jHpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:from:to:cc:subject:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=SKJ5CNCkGEhT8rzWQFp0fG5E3RHlKoOVSwbE7uYwM9Y=; fh=XssW/4qp1RxeFNFA+Orufg+3oIjAOjyz440VF9GJrvU=; b=vAaUMSRsgY3RmZnsoSq2WXzDlVvF5WIJ0ROKNC9XuWMijYvsNP6tBmD51f93kITnAe KD77O6z+o+yRFB+42GrzpjaAPvAw+ii9V7sqxt4mzUusCwu6XC8B1UYFPQ0i92o0Jtwh bJxeIwurqIrYeUkXZXXGkQ5YkHk1AQ8IBCJZe5XEW2mlqO75jmyqNGAR/q3je5u8wyOf uhhHNJCsalfgDniBp+gQJfIbNwQIQjQ6WmC+8osjaErQnBgjpYK8b7m9+dmzEdwhZyhM zioqHptgbjr0soy5JQTUHANBgaLaurouqfPX/TBJN5dIzP8VfkI7Uwb1RFqIBx5s6yhA AqaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=P6dIJJIT; spf=pass (google.com: domain of linux-kernel+bounces-12718-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12718-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y18-20020a0cd992000000b0067f9161d2e0si14440596qvj.423.2023.12.28.06.58.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 06:58:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12718-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=P6dIJJIT; spf=pass (google.com: domain of linux-kernel+bounces-12718-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12718-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 776581C21E04 for ; Thu, 28 Dec 2023 14:58:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B4BBD517; Thu, 28 Dec 2023 14:58:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="P6dIJJIT" X-Original-To: linux-kernel@vger.kernel.org Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5719C8E2; Thu, 28 Dec 2023 14:58:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id A91A4C0004; Thu, 28 Dec 2023 14:57:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1703775476; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SKJ5CNCkGEhT8rzWQFp0fG5E3RHlKoOVSwbE7uYwM9Y=; b=P6dIJJITjtdYd4B/+r9+gvaFznjHLsB22inTw9/vkIQt0fNJsadUhijB0bNtWH2ULDCS4L SnfMN04hpKhPmWUxj68j7NWPpbNe8eDETd0n8c1qTFBq84s30LylDgE/4uyS85W0EgtPTz cvMEXWlHbcgpIHtPRM3DsEzG2H6quNoIagCc0ja8xPx4FFWxyph8ku6fL3QD4uYibj05hK 4zw6isFtrE4OwmuflfFbEJYtm7dJvWtoAaR64olSafsvpvd2aPEHhQOLikraiy0UqYXn+Z 7Jr03XvUV/Gj6le5tyVdvWkVJPTAvxAEvL7LPYjE6NP6KID6wpqbdlrr6JJ6gg== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 28 Dec 2023 15:57:55 +0100 Message-Id: Subject: Re: [PATCH v2 3/6] dt-bindings: soc: mobileye: add EyeQ5 OLB system controller Cc: "Gregory CLEMENT" , "Michael Turquette" , "Stephen Boyd" , "Krzysztof Kozlowski" , "Conor Dooley" , "Thomas Bogendoerfer" , "Vladimir Kondratiev" , , , , , "Thomas Petazzoni" , "Tawfik Bayouk" To: "Rob Herring" From: =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: aerc 0.15.2 References: <20231227-mbly-clk-v2-0-a05db63c380f@bootlin.com> <20231227-mbly-clk-v2-3-a05db63c380f@bootlin.com> In-Reply-To: X-GND-Sasl: theo.lebrun@bootlin.com Hello, On Wed Dec 27, 2023 at 7:27 PM CET, Rob Herring wrote: > On Wed, Dec 27, 2023 at 10:24=E2=80=AFAM Th=C3=A9o Lebrun wrote: > > > > Add documentation to describe the "Other Logic Block" syscon. > > > > Signed-off-by: Th=C3=A9o Lebrun > > --- > > .../bindings/soc/mobileye/mobileye,eyeq5-olb.yaml | 44 ++++++++++++++= ++++++++ > > MAINTAINERS | 1 + > > 2 files changed, 45 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/soc/mobileye/mobileye,ey= eq5-olb.yaml b/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq= 5-olb.yaml > > new file mode 100644 > > index 000000000000..b148a49b08f1 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-olb= .yaml > > @@ -0,0 +1,44 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/soc/mobileye/mobileye,eyeq5-olb.yam= l# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Mobileye EyeQ5 SoC system controller > > + > > +maintainers: > > + - Gr=C3=A9gory Clement > > + - Th=C3=A9o Lebrun > > + - Vladimir Kondratiev > > + > > +description: > > + OLB ("Other Logic Block") is a hardware block grouping smaller block= s. Clocks, > > + resets, pinctrl are being handled from here. > > I don't see resets or pinctrl in the binding. Please make it complete > whether you have the driver or not. > > As-is, you don't need clocks to be a child node. Will do. Would it make sense to have the three drivers be a single series? Else we could have the dt-bindings be part of the base platform support series[1]. [1]: https://lore.kernel.org/lkml/20231212163459.1923041-1-gregory.clement@= bootlin.com/ > > +properties: > > + compatible: > > + items: > > + - const: mobileye,eyeq5-olb > > + - const: syscon > > + - const: simple-mfd > > + > > + reg: > > + maxItems: 1 > > + > > + reg-io-width: > > + const: 4 > > Why do you need this? It is not a generic block and can only ever be 1 > value. This block is still a syscon in the end. I wanted to explicit that access width must be 4 bytes and nothing else. Does you question mean you think I should be removing it? > > +required: > > + - compatible > > + - reg > > + - reg-io-width > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + olb@e00000 { > > + compatible =3D "mobileye,eyeq5-olb", "syscon", "simple-mfd"; > > + reg =3D <0xe00000 0x400>; > > + reg-io-width =3D <4>; > > Make this example complete and drop the child node example. I hesitated inbetween the two options, I'll fix that on the next revision. Thanks! -- Th=C3=A9o Lebrun, Bootlin Embedded Linux and Kernel engineering https://bootlin.com