From patchwork Wed Jan 31 16:26:26 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: 768644 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) (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 74C2D12FF6A; Wed, 31 Jan 2024 16:27:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.194 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706718445; cv=none; b=jw5Nnva/KhxVOQzWZoZb/mH6S9/hTngXJIhDWqvFNTr6gVPl5+jI7IsPRsTNPJ7cJEk6B4GwqvKT+vFHNnvCT03IHaPhk2f0nr07e0ifWF7BhWV19oieT2nvm0QIlaSdCLJa81h1Z77WrEFHQU1ugCLdqLuDvP+GS1TRD2Ipb2w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706718445; c=relaxed/simple; bh=mSTYl+S5y2Cjmbl5fY1+m8VOf05Ry9pXVxOCn1/aiGI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=p8O1c+lIox7IHRkKF29W0tKlTnlqej/SNW150iAqOAMJfzKNSY281hYZwvRuPo4KUCs0TDcBt3X98+ClzDmhjr3ExYZxwGKIyVjvtQRJ3iQXHzNa16YvcTxxWHjYRqxIoletdo3bl2v8BXtky+24yZ0XzOL2rS8EoB0KpVCBXKA= 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=eidMrhta; arc=none smtp.client-ip=217.70.183.194 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="eidMrhta" Received: by mail.gandi.net (Postfix) with ESMTPSA id 3062440014; Wed, 31 Jan 2024 16:27:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1706718440; 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=fORjDlsDhrIYNSllDnl+lAljmgE3xSz15qek+qYmWrk=; b=eidMrhtaP0pvp7ETrGL/Tbun1n7+k2Qi3uKYyTp9hXDNMSDQCS21cCug4228h26Rk4kNRS 5fB20NqUhwpG4r1YC1Mq2s0cPgj3pTSUQ3eeHQ29SC15KsXMFe6AbdDHf6zsMgfMiesUt8 Ds1FLsp0EbTGs7TY3Fr835D6tdJ9MCRkNAXkTjSeO29bsRpsBRoR1fxIbw2Z7lymwzL4Bt lJI7z4aBPXPccSYYXeeYdXq1iNkG5SOZE4sfJIuCaOMgIpYChcA9XQHuGZkYMK3gsh5b0z s6RKqhksoD5ISG6R+jH/6RcKk5INjyjPnCRGFAcuid4fT/ngxvT8sO4iwNM0Og== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 31 Jan 2024 17:26:26 +0100 Subject: [PATCH v4 13/18] MIPS: mobileye: eyeq5: add memory translation inside OLB syscon Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240131-mbly-clk-v4-13-bcd00510d6a0@bootlin.com> References: <20240131-mbly-clk-v4-0-bcd00510d6a0@bootlin.com> In-Reply-To: <20240131-mbly-clk-v4-0-bcd00510d6a0@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 The OLB syscon block is host to a few peripherals (clock, reset, pinctrl). Simplify declarations by mapping memory to have relative addresses. Signed-off-by: Théo Lebrun --- arch/mips/boot/dts/mobileye/eyeq5.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mobileye/eyeq5.dtsi index 03e7e942ee22..732e21be65b4 100644 --- a/arch/mips/boot/dts/mobileye/eyeq5.dtsi +++ b/arch/mips/boot/dts/mobileye/eyeq5.dtsi @@ -103,6 +103,9 @@ uart2: serial@a00000 { olb: system-controller@e00000 { compatible = "mobileye,eyeq5-olb", "syscon", "simple-mfd"; reg = <0 0xe00000 0x0 0x400>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0xe00000 0x400>; }; gic: interrupt-controller@140000 {