Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp163710lqg; Wed, 10 Apr 2024 20:51:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUC9FUD/xv/Y/ipbIDyiWGUhgUbwMR/auqKvszB5Cr0Xu5KpRP1xWsVGJgxqH2ZJ8yzcA15g+dQ/eb6Q3PKILmYIh0RnIcjSmFYf9bUGQ== X-Google-Smtp-Source: AGHT+IFx2XCY0KUyb77r+hWodzj1uQ02Eoefad9z4E5eak+pIf+yb0T79t5U8YlsiMQSM4Dm+4Il X-Received: by 2002:a17:90a:e38f:b0:2a2:437:18ec with SMTP id b15-20020a17090ae38f00b002a2043718ecmr3768512pjz.46.1712807478332; Wed, 10 Apr 2024 20:51:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712807478; cv=pass; d=google.com; s=arc-20160816; b=NOoDH3Y4LfwwA32+oZ2vcaXU27LzDTHcoFFG1BvsmSMcWxD+ZvXi5m3Vgn3Ox+AW0x gjqjBwFyZ08ikm/uX1Sz2lZhHQ0QkymtmVgl6LknzP0tGflGVAVc9kyuSXz5ywb73lSn PCeFD7oy0bkSw2/NzNof3us9W9x0ZmhUDSo1sfc0cXzNFhC7Zgkhfgja+BtXQyKA7HfP ioVFTeUoWjmM07mgcl9BKBNJskSq/PHlZ+G74Wem+J4McOh2ztmsIvJDRQ83iGAJfPUQ AZgQjAfhclfyggWwXVxBCdTU+AjxL8CR5odN4g6gk/kg0ysg31hNW6XKv4GZ3lmMm3Rc 64dA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=7ZY7P6BZsBDsKUJsbDWklpC7QC7sQaFtm/0SkjVK0xQ=; fh=FcYdgPlGMsavFgdT67V1fHzZv5TT10N2fj9lSaveZWU=; b=UphWhR+JvwkQ//UzPuJ4pp5zYRLYTKXgXCMMiddPNhC4g4SeVT0bsn/pOeaVHzhIGi sj7Q8f9tFFammPLrDNVP5MyowtOa2jS4w78Oo845JPtny2OZkWjnAKHSmg7uZnDgQm7a rELZ9zsOBuuSxMMzSMm1oCVgb76jJhXV4IqWbUmpif3bc0whBoiF94DXhcNgitBJ4QfK 3L+0PUeCzH3+dMObdsw+8JcCMxGxUDgUmxbjHxndWQhawgT29SOJ5jROrylNCgFdwLBh fhGb8b+UirT2NfeYGXLVgZVzHUw1hV5AYxlAjLNJqQGhHIC0TDrBu2TnLO8LYYIrxOEd T2EQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ABFzBPDw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139708-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139708-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z3-20020a634c03000000b005cf64c90ecbsi483119pga.215.2024.04.10.20.51.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 20:51:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139708-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ABFzBPDw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139708-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139708-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A40D0B27E71 for ; Thu, 11 Apr 2024 03:29:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6766913BADC; Thu, 11 Apr 2024 03:29:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ABFzBPDw" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7AF821F176; Thu, 11 Apr 2024 03:29:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712806161; cv=none; b=EfDx9B8/WNCUXY5kccUXtdnaRqGRu93M/ECKXXVEkhRNHIksAx16mbQHXOvl5AgXGf2fUCaT4webjnaFzEBBM+E9ZmMdfdJJmqNg7KJLs4R0drXWHmeZlI5NckZiiDicNRwrPFGijx8//ISilm6AU+JEb3AdH16OkNoURoLJpUE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712806161; c=relaxed/simple; bh=cba4HFVhpgHUdpdn6qrYkmNbC0aJQbwZ0EBzpbCf9+4=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=bTM9VrZd9ML70wS2Wv2gv+xds9lDHXeZDLlgt66kKbh1we4NRAkzfwJXpk5atl6NEIpYUZg6Y9Q2L2qmIWqjE0O/KpqCwZdhUIKezSt9fCpsVYYh/dsoEFkeKahuOMa0iAxoyc+FMqry6nHc5nMPUUbrj5+NinYIyM6UTij1mBU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ABFzBPDw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E330AC433F1; Thu, 11 Apr 2024 03:29:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712806161; bh=cba4HFVhpgHUdpdn6qrYkmNbC0aJQbwZ0EBzpbCf9+4=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=ABFzBPDw5QsEtop5NwJ2ScfXbNayKJgf5ME9pe52VcvL8lDRWMNJe8RjQHnNOaDoR YZWR4emJ2l44p4pxApZQEUq58lnolKwz9GWuWFm2BJJKI48H3iOLD9NoVljKjqt5IO 07aq8iu5KbknRdD56sCjCW0OeGuAix2e2I0qluO7EaHdrmU+P4SPGkQqedzgc2CFpf MJzg4QOqQgFggoJ5FrPNcuSxZ0XirPr4eHlZylCbqec0rcFf53pMZ1+/0FchkO16IH Y4eihSz2dpevLjhyN2E0Mv3ujGx8Bz4rv+mtvvzNK/BAnjFs97SyHL1ha4xLNyHEVL NkMmn49a7o1mw== Message-ID: <574577121eb0b397a7a5b9aef59cd6b3.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" 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 In-Reply-To: <20240410-mbly-olb-v1-1-335e496d7be3@bootlin.com> References: <20240410-mbly-olb-v1-0-335e496d7be3@bootlin.com> <20240410-mbly-olb-v1-1-335e496d7be3@bootlin.com> Subject: Re: [PATCH 01/11] dt-bindings: soc: mobileye: add EyeQ5 OLB system controller From: Stephen Boyd Cc: linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Vladimir Kondratiev , Gregory CLEMENT , Thomas Petazzoni , Tawfik Bayouk , =?utf-8?q?Th=C3=A9o?= Lebrun To: Conor Dooley , Krzysztof Kozlowski , Linus Walleij , Michael Turquette , Philipp Zabel , Rob Herring , =?utf-8?q?Th=C3=A9o?= Lebrun Date: Wed, 10 Apr 2024 20:29:18 -0700 User-Agent: alot/0.10 Quoting Th=C3=A9o Lebrun (2024-04-10 10:12:30) > diff --git a/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq= 5-olb.yaml b/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-= olb.yaml > new file mode 100644 > index 000000000000..c4e33a167fab > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-olb.y= aml > @@ -0,0 +1,125 @@ [..] > + > + reg: > + maxItems: 1 > + > + '#address-cells': > + const: 1 > + > + '#size-cells': > + const: 1 > + > + ranges: true > + > +patternProperties: > + '^clock-controller@[0-9a-f]+$': > + $ref: /schemas/clock/mobileye,eyeq5-clk.yaml# > + > + '^reset-controller@[0-9a-f]+$': > + $ref: /schemas/reset/mobileye,eyeq5-reset.yaml# > + > + '^pinctrl@[0-9a-f]+$': > + $ref: /schemas/pinctrl/mobileye,eyeq5-pinctrl.yaml# Yep, there shouldn't be subnodes for these. Instead, olb should have #clock-cells, #reset-cells, etc. and the driver registers auxiliary devices for each driver like the clk driver, reset driver, pinctrl driver. Then we don't need syscon or simple-mfd and random other drivers can't use the regmap.