From patchwork Fri Mar 1 16:22:19 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: 208908 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp1192526dyb; Fri, 1 Mar 2024 08:24:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVPeP2kYaIiDrVTgHxPaGHHif3ugqq+8w+A4/OjC1b3Of28xwR6aywvl6+DQPO+Me43p1u8JtD95ZXcoAdBR5V93q+QWw== X-Google-Smtp-Source: AGHT+IGFtIuI5C/AkAKPe7M34oBI+KUjmLYYWF+G/Pu7UyIXw9k8gIFxMO6+HrJdwPnJvsVsVZ5E X-Received: by 2002:ac8:5e07:0:b0:42e:78c8:fa37 with SMTP id h7-20020ac85e07000000b0042e78c8fa37mr2039383qtx.44.1709310261226; Fri, 01 Mar 2024 08:24:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709310261; cv=pass; d=google.com; s=arc-20160816; b=0K6sWgLTZ5ZdvNxSGadlP8z4zg2y0HefF2JVf+gDbs+nLrs03AIOXHfR2u6wgmU7qt 6iBd+zyamTisvDD3Belhrp3c6PBAyKhtyXkCrSpHTVZ99OeiJYL7XL017c268W9BZIXG mhf7tm6sxF/8WyVnscGDsUSPB7yplGi6DjoJbJqqUpSYVc8Gtlh5/4lp6GhN7yfu7y83 HdpXrqZgP4JQT4F3e1Ca2wuaMX4d256C9BC0NNcd5XL6VOMi5WfP/EcBteSZKBHCwRGK flIoiaNxpTYLaXRxVdrpuC5Tt/SbNqA1xffLwiL4bP4LhzvE4etI6YSTUPAXfiY9cyAa REqA== 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=YnALdwStqz9eKISqFy6qQHCMwj31QlMpXRX8xAVY3EI=; fh=x5R05joZrGxebVEAaczvDRwH1m7BAJpjuUh/Gh1YI/Y=; b=jDi131ca63Gk8fzfmfSwcCCIEBvHNVni+b9n2NYWzDXWBfDhdu7/v2vAehzKWf1sOj 100iNOLi9MS7OaY9YOA8OvfHOmfvrtpHIBPTCfBQpmHMNjhvmE2Kve9KZjxOVgwEhKgA n78UuaumvrpL2SNNRpD7DU/xH8QBdyz0QHvfCy3g/v8EJezuDvb0+Nf6YBAiZktzfD/2 wqFQbLS6CHMpmKXbVIg7xh/Ty8Z6sen3rPnNtU087eSdCi298GmpNeq3ZBYP2ODYqlzr niPEpYI05dmwereVCUVZUl7SisVeATXG+/dirHG3q6HEgnpdxzo3obMr/Tpz3cMeY5/a qJiA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=FuGRf2SF; 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-88686-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88686-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s10-20020ac85cca000000b0042ecc6a8d48si1195870qta.160.2024.03.01.08.24.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 08:24:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88686-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=FuGRf2SF; 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-88686-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88686-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0A5DD1C22E4C for ; Fri, 1 Mar 2024 16:24:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2CAC7757F7; Fri, 1 Mar 2024 16:22:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="FuGRf2SF" 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 D2DAA71B24; Fri, 1 Mar 2024 16:22:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.198 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709310147; cv=none; b=Ed/WGchblUU5+G+WBT7l4NZJvm23MlyhTokbSLpYA58sgx51KHYnkOyKXIdg2+TSZXcBVD0U21Mk4PJ96JOnJkFCalA73c638MJcCIJU+CvVxPb9jQMlOr6mqFSMfbRsHcORTRe75oF4AUBBTP9z3E86JYLUM+/oiavaUdLMugA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709310147; c=relaxed/simple; bh=na5iUFUdCcxo/XeKMDsWD2m8gyrN1SLEJxFdOBZFpes=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=d32MtAWPjCyGxy8W3tpP2AQ7NNM3VYnj8Q+cKHajXAj94R4zea+gkqgJtyGm/SAfl1rMR829r7zSL+c/tL5G5XyOhnGuCIHJDBMSqFppBwsUWfoVdkmLkadWI289K9tiaYrH9mV+KXSGUkl4O4R8isVKGsKnsqTtxr1B0Ld/Bto= 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=FuGRf2SF; arc=none smtp.client-ip=217.70.183.198 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 6EBD5C0009; Fri, 1 Mar 2024 16:22:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709310143; 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=YnALdwStqz9eKISqFy6qQHCMwj31QlMpXRX8xAVY3EI=; b=FuGRf2SFNrXK0a9naPd1fC0PcewKjq1ARL1CO8+eHcX3JHjbRm6mcL3lyQ1ETCLhbbrC68 UfP5WuJ/XIZvDKa04/0XkhSiFkdbwWhNaK/KNlB9T3QAgorMYOimocnoVCGU32FKlQTtcg 2GgPXqVi+uVm/4KmW9c8W42vPOrMdpbJgbdATRDt/ta7Pu9LfTI6a433o8fzsCmGsEzNTm hCjV21LqExF2RJj4hidz6SpEeMFmLBR5kHuKpC3MkxTNCo5RFyEJcm2FMNDfElrcFl3pVv 3sXpl/Mg59Krn8L177jL9KoX6LMqzlIoo2zcoMHKXnQ7TvHTT2H9/ztMRlTleA== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Fri, 01 Mar 2024 17:22:19 +0100 Subject: [PATCH v9 6/9] 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: <20240301-mbly-clk-v9-6-cbf06eb88708@bootlin.com> References: <20240301-mbly-clk-v9-0-cbf06eb88708@bootlin.com> In-Reply-To: <20240301-mbly-clk-v9-0-cbf06eb88708@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.13.0 X-GND-Sasl: theo.lebrun@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792341716449310656 X-GMAIL-MSGID: 1792341716449310656 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>;