Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp465267lqg; Thu, 11 Apr 2024 08:07:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU6DTuM3ei/VqUxm2Nwh74YVQYuxKBp5r6+1kXIXh1Ad2E+h3vrFgCgiiiu8pFMd2is0VMHDpj7AZJX8N9nnIYTXqhXpQVy6rQeR5GCBw== X-Google-Smtp-Source: AGHT+IHg+ZG8k5NvdKWnDHDDD/s+KNCxWPrpy+FHFIVN5GQ+vvzsBH2DPE2QYoMqYtUKk6ouWthz X-Received: by 2002:a05:6512:48d2:b0:516:d259:245e with SMTP id er18-20020a05651248d200b00516d259245emr8915lfb.9.1712848063605; Thu, 11 Apr 2024 08:07:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712848063; cv=pass; d=google.com; s=arc-20160816; b=m2vkQMr1ZVN3hSnqD+NBkJ/V6bD3Bg9cW1W2ez/xbgkED3s9zoF9eutgTIjfFpX5ip m72DxpgWr78KyzBlNEBcBgJ83lJBhCc0KKXhzOd65ZFvZtYg6RyaQeosoobjNcjVNzBn wEgsddIDVkMcNxkKJPMUknKnQYkg1lC040QWaIiUQG0pJoQweU0JjZSXwDyEv4qMwD4A H3pI2oLkgIPI/9Xrmq6HpM8SaCE3ifI4koPY6SvhgYtgreu2nZjgVYkkjhjT2OPj3fnO RMpBGqLqXKqhppfDN2KaPtw4KpIJoy7WB/5HWtaKhLGmJBssYuKs2gPjazd2yVGQj3fd bxIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=/tLI+vFCnYgSsVdj6Lzrkmb8rf2aK1682Kp6/AzfUhU=; fh=QOGBOQAiip18IZiTmgtGIN4NQBnO+gtUCevD42HEyX4=; b=I6E1ChK8eaWG6CYgyY9T0zs/qpXjX3HX38q9V2KpUnotzuuZAs+NONTgq9Hpyah/Hq lZ6gSxU/dWHm6qVIGP9bKsNwoQ72azaOUZl1gIKeLTensxVOPcIvkBvh6i8wOW2HQljw GDHCb2mv5ZHHv5TcVEe0zHcgjpn+BIpPTTHSgZqAzZTNjiEAmvVyjgI8PJqgI10hXfZy hJCYo+JYGraTP+6LAr0cPo8mLkR0Sfnws79J6h/z1xiWAqVaaoZRPvkSoI0LWnfW3vgM /S0UHC4puKdZwZVgilRjSUnA/D0/zvuRJlSj4aku9gTyUYAn0kexOZHFW0jQUr5gQ3Vt rxdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IciBfujm; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-140715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140715-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gb24-20020a170907961800b00a51e0608191si850849ejc.578.2024.04.11.08.07.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 08:07:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IciBfujm; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-140715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140715-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 26F061F24561 for ; Thu, 11 Apr 2024 15:07:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6756A134B0; Thu, 11 Apr 2024 15:07:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IciBfujm" Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A609912E74 for ; Thu, 11 Apr 2024 15:07:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712848049; cv=none; b=jwQvFCpNQ31FB5GtdqPAADQBS4FmT2AQybIR/ptuhD7Qr3lTYFz+BuRD9C6h8H4yybsRrof5cZsXOEdiBudH6DmlYLrrwtYkKxoTaA8CelLvXlBZS7LGYAlWUCm1x0Gmb1oHIedvqrcCE1uWvbMYJaA1PfXU6fuzpDJL0S0V2aU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712848049; c=relaxed/simple; bh=UwT3dZsEUGf2cX1eyjAmLR3tU+VqTAbl7oBJMslcH8s=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=sN2+yNPt0g0AbzW6ugWKbS/h1vw6wNd+uIXK67zM7O69ITEL7PWxHU9/y+ehX1NCqijTWHgDCvLRUMsjqDSBVOppy+IWngi/j+3fjFSC9LGjCaJ8sdf4LMnjydhj6HvhqMPrRfdoNS+iqX1c5c7AJG3biDl5nzSts/e2idGdzMU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=IciBfujm; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-417d08135b6so6932975e9.1 for ; Thu, 11 Apr 2024 08:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712848046; x=1713452846; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=/tLI+vFCnYgSsVdj6Lzrkmb8rf2aK1682Kp6/AzfUhU=; b=IciBfujmokgVCFRhr2rv1oivQTQcn6ij1bJpZFGJ5gkD5AdZHw1+JWf7CLas0iHnIa F+Osh1gnLtGgNHc3MigDvIlpx7XXAegryWkv1tUH9gjhzU4l3A+WSbekTfoFGYzteoiv /UfOBg+2mO8IO13i4Q2+rUQYwoL4LX3hME/OZmuXBiPZ7+96dKrAbIbxInC8TXPX5fUU Mg5cTIhqBdweSBKJBGyaN2LFlvHFSLFXKFMckVON7jMiSehVxGO+vbYm1XMk1oICgPh2 7TGD/29dnL/MKMbtwQ9CubWHB7clCtE/ipxIC4G/FzCJ34/XlNmZ2mBmMoqz66+CNtFB Pk1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712848046; x=1713452846; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/tLI+vFCnYgSsVdj6Lzrkmb8rf2aK1682Kp6/AzfUhU=; b=dDwVtqGzqtfAD/0iqQEx+d3BfZFUKZ4pHstTIqMLaRvYcvaLfnw42dsW417lWqAjWN gE1g75Pybnrp0M/9E8195qYcYq9EulLjs7ndWHm7i+QriiJirqLiwudWMWZuHGUlrEQ6 ank/yZLi9aVnVoYcAHpyJgxGa2keHYoYWWmYy/+fsrV+pcOmRlsmlaPYsInzBgQNd+ku uMN1k7XlKeTIQlmhzrRS4+7mDPhYy+wdsgqaBFIYc6o/ljIeCcSGA8/IFfiKXn92ItN6 L3Oe49Tt5loN6H4N2x10rJ5ueCaHiUr7qTsawelMFN64JWA/MqrKPfsA6DtFPDeM1/ry 7pJA== X-Forwarded-Encrypted: i=1; AJvYcCV2mDi8VdVTy8OyXlXhp7U1Li7bIoxzC5ZIS9qm/SlChc1il2RUgvtzlRJYcwQ+/NP+TDMA5SXRl7zkjjcQ2SEd2qZ+AEKL3oAywGlH X-Gm-Message-State: AOJu0YyJ8gCNkm5pFs40wPe0WtFf7J12PQCwneWXWsv6Sk8C++XRRYoG F/S02Z54DI5jPZmweSpwyvVDi5N7vrDmQLzaae7Ngls5Snkrbo8MM27uZE8yBP8= X-Received: by 2002:a5d:504c:0:b0:343:61bb:115d with SMTP id h12-20020a5d504c000000b0034361bb115dmr4398793wrt.26.1712848045998; Thu, 11 Apr 2024 08:07:25 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id k1-20020a5d6281000000b003445bb2362esm1974138wru.65.2024.04.11.08.07.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Apr 2024 08:07:25 -0700 (PDT) Message-ID: <6e3b02d9-9a1e-4fc0-9459-9c9c0d37aa92@linaro.org> Date: Thu, 11 Apr 2024 17:07:23 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 08/11] MIPS: mobileye: eyeq5: add OLB syscon node To: =?UTF-8?Q?Th=C3=A9o_Lebrun?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Philipp Zabel , Linus Walleij 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 References: <20240410-mbly-olb-v1-0-335e496d7be3@bootlin.com> <20240410-mbly-olb-v1-8-335e496d7be3@bootlin.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8s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s2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 11/04/2024 16:34, Théo Lebrun wrote: > Hello, > > On Thu Apr 11, 2024 at 8:15 AM CEST, Krzysztof Kozlowski wrote: >> On 10/04/2024 19:12, Théo Lebrun wrote: >>> The OLB ("Other Logic Block") is a syscon region hosting clock, reset >>> and pin controllers. It contains registers such as I2C speed mode that >>> need to be accessible by other nodes. >>> >>> Signed-off-by: Théo Lebrun >>> --- >>> arch/mips/boot/dts/mobileye/eyeq5.dtsi | 8 ++++++++ >>> 1 file changed, 8 insertions(+) >>> >>> diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mobileye/eyeq5.dtsi >>> index 6cc5980e2fa1..e82d2a57f6da 100644 >>> --- a/arch/mips/boot/dts/mobileye/eyeq5.dtsi >>> +++ b/arch/mips/boot/dts/mobileye/eyeq5.dtsi >>> @@ -100,6 +100,14 @@ uart2: serial@a00000 { >>> clock-names = "uartclk", "apb_pclk"; >>> }; >>> >>> + olb: system-controller@e00000 { >>> + compatible = "mobileye,eyeq5-olb", "syscon", "simple-mfd"; >>> + reg = <0 0xe00000 0x0 0x400>; >>> + ranges = <0x0 0x0 0xe00000 0x400>; >>> + #address-cells = <1>; >>> + #size-cells = <1>; >> >> Do not add incomplete node. ranges, address/size-cells are incorrect in >> this context and you will have warnings. >> >> Add complete node, so these properties make sense. > > I'll squash all four commits into one. For reference, commits are: > > - MIPS: mobileye: eyeq5: add OLB syscon node > - MIPS: mobileye: eyeq5: use OLB clocks controller node > - MIPS: mobileye: eyeq5: add OLB reset controller node > - MIPS: mobileye: eyeq5: add pinctrl node & pinmux function nodes > > This means two things: (1) it won't be partially applicable and (2) it Why? > will make one big commit adding pins and editing clocks. It never was partially applicable. Causing warnings does not make things partially applicable. If node is too big, although I personally do not agree, it's quite moderate size chunk, then sure, split pinctrl groups or pinctrl node to additional patch. Best regards, Krzysztof