From patchwork Mon Feb 12 13:44:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Th=C3=A9o_Lebrun?= X-Patchwork-Id: 199807 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp2439107dyd; Mon, 12 Feb 2024 05:53:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXZDed2I5VkDeEdLWKUY7nYfKr61HUDh5ZclaltEoWRhtPy/HZcbP/30SoTCFeU4Di3IF+MlV1kPeGZqMyTbfdTTBty+A== X-Google-Smtp-Source: AGHT+IEeypb4ijCzO46Hp5/3URQMS89VKFJQCn6asW5hIuipqozlY18kJYWH6ZLeGOGceKW2qYZF X-Received: by 2002:a05:6402:33d2:b0:560:dfa:61c6 with SMTP id a18-20020a05640233d200b005600dfa61c6mr4307009edc.20.1707746029611; Mon, 12 Feb 2024 05:53:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707746029; cv=pass; d=google.com; s=arc-20160816; b=1IyIbJ5+H7NXQNgZAwlpl2XkHYaS2QAlY+6snSZ8zqPku/OXgNx4Lqm9llao+yBLeS RT2pXbYY8B87u+6hinXOuz/UYIjPqZNdOxpN+Y6iQ4gbC/LcN2uY2Tj8oBEyy+sGXKfz dSPQx6Liae4o2ZuyNOVQqiYoJKIJdoO+/5bOTbFkzSJpigbjFxIohCtwp0Eqg8G2OtPq tIH259Dy49U1Fq89y46/GxAK6udd5rDAXyOX/iDEvB7bYmTK+1P8M4Q85sAZ+oERFNcO sI4B07a1nOLsnulhKBBXanLDtlahP6Mfbjvd0bcvNRXTx4yxE9ano1P3Ojl9Vsqsho5p ba8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=YjzH8us36qfzbp3mhYrknBNc6xeLQlFhaU/yX/UTwvc=; fh=Syu0DeNtI9y/jsT4Yh1hZSeUTEVU1e/5Vw2BGGLLi2M=; b=ElzNpDZ8aaEUL0WIU53xahJ8dCwvkfCROdLROYWm7LaXwEoD+RB2m5fOoQTXUq/XSu yCuuubPtMhag6/3q8L6+6V4UFwNR/Fv4RmIvAQ1z5xwDB+S2jUIufMJW3bm4ZHDZvIVt Nft3LrCLxXbpr3NxIjwllfhk0VlEhCEsZubGxflRBDRKnpFE59+0MEcN30Web7Y1YSVa Qt/lZxRrhQhM5b1tSi1vIbPIWrBxbutOdULY5gjdMYQ4sbH/wWG2lia4BpINRAXgpCt6 KzNXvybdbEaK2b0dLFUx6abIYGpUkffBCketFo8eabqFFQsKWv1E0cjkO7v5Rm01Hm1A bPGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Q4f4eUDZ; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-61739-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61739-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=2; AJvYcCWuq0oV8SfPSuPpwZEmbFUT+9G5cmfEDVi9aaoS3a88nGoypd97hQitI33rt7jQVJzJfyeKEgTRqNR3h7miOplfLaSZIA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r1-20020a50d681000000b005609cc1e817si2870986edi.72.2024.02.12.05.53.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 05:53:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61739-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Q4f4eUDZ; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-61739-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61739-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3ADEE1F22152 for ; Mon, 12 Feb 2024 13:53:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D67A14D9F0; Mon, 12 Feb 2024 13:44:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Q4f4eUDZ" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 2582146544; Mon, 12 Feb 2024 13:44:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707745487; cv=none; b=tzG13LN8O3Qq3GUGd+nV/Akxob8cJfA8cAyiEqxGS2biUWNacLxDFqCZNiqeOnrLn7Emfz8sbudRlTjvt2zstDVLXmrOST2qfCvQFJ3mLMWdjH2Axx/NlFQsJO2FIREGt9I37mhIatQZyKwsiKQDE/Wz303pgv7XoBYGjNRfeuI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707745487; c=relaxed/simple; bh=nHpU1D7vePiiUmMnW0BUVXPPq/tMiD6WtqmwDc11l5I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FPkOsGg5a0FOzl+k4YB2a1CE8NuSQbH2hDC9ntd4beB1UrPQ9PW6U3GdMczKqk8PjHJ3LFw2cO3quEDwkfysOQUCJIzTWK9Nod60FidS536nMvApYhMwDE3MaK+8s7nmdpNt6gqtt8CjedkC8YZUEAyDZxEkIvHK8KTVg3RTbzM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=Q4f4eUDZ; arc=none smtp.client-ip=217.70.183.199 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 52E1CFF80F; Mon, 12 Feb 2024 13:44:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707745483; 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=YjzH8us36qfzbp3mhYrknBNc6xeLQlFhaU/yX/UTwvc=; b=Q4f4eUDZVfiGYGj1EG83eH4M3hyZfU8R6jntvSoDeeycvBzsEcymx1t/FZAdEXaMxL1qUO 8eQjFJNQafi+NQk3G9nBTl1cx5pC5D1BQPUSTU79hsc4idcLORi5wGvJT72UsfW91M7y5O cm2XzWaIUxOCxsYEeDLqSg5cm9MFdjj00s/mI9e12YOaDhFqLgeyxvVb+xOK8EyrdP15d4 4mD0RqrspkYtE85Il1Pc0EoRC0a7yahoAkNFl92QH4rKgx+fC2HvTfYbhFrGXp/MEbWO72 1OTeRqWxfhJRHFguUgc+KbOfmAK8aBmUaM9Wlh5VoTdStg21abm3QVK4z1A8Fg== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Mon, 12 Feb 2024 14:44:41 +0100 Subject: [PATCH v6 10/13] MIPS: mobileye: eyeq5: add OLB syscon node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240212-mbly-clk-v6-10-c46fa1f93839@bootlin.com> References: <20240212-mbly-clk-v6-0-c46fa1f93839@bootlin.com> In-Reply-To: <20240212-mbly-clk-v6-0-c46fa1f93839@bootlin.com> To: Gregory CLEMENT , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , Linus Walleij , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Philipp Zabel Cc: Vladimir Kondratiev , linux-mips@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Tawfik Bayouk , linux-gpio@vger.kernel.org, =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.12.4 X-GND-Sasl: theo.lebrun@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790701500938071932 X-GMAIL-MSGID: 1790701500938071932 The OLB ("Other Logic Block") is a syscon region hosting the 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>; + }; + gic: interrupt-controller@140000 { compatible = "mti,gic"; reg = <0x0 0x140000 0x0 0x20000>;