Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp964914rdb; Fri, 9 Feb 2024 06:34:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGsBS2hC43/HF+IZEyH5old3PmtY2cMCbbgSW6csgcQpXKjRc3WESPQLWa6VvGg15uZZTz7 X-Received: by 2002:a05:6870:9686:b0:218:5084:bd42 with SMTP id o6-20020a056870968600b002185084bd42mr1910241oaq.29.1707489291277; Fri, 09 Feb 2024 06:34:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707489291; cv=pass; d=google.com; s=arc-20160816; b=kNKuYhOVMYRFXY+ck2j8tP4DYqHOC93lnO2zmAch3tjwppP46hg/H9MWL09NaBnJLP LvJ1BLIpt5iRXvFNaoaXS6dkCpKtr/tIDO5xLwLroWs98qFHtWNPEUqpgBSd1gCkXkui lgHJBx8kjOoyw6lE0Dy7j46fsBwv3pNF5qB3PPLCXZw9LCbtKT1St1mMDL+5xw03+bwT 0YHbDlrwV3nnuvL+EAhnb0IDh8Vqo2xZX+vPYWdLeRGUauT6d+AcytntFlCmTqW+z48b 7wJQs5yyptz5+N+XYtFLwbIFPeONi1U0D8ps5rQyd/QwZtZyIIqjMNYhKeETT/crbOiw 88bw== 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=syaGWASVz7HJ8EsREfptT5dsVQfBdow3w7CFtxWQaiQ=; fh=2aGAoVf4wu9Rf90gxW8CUlFSBcJSFRZc8+mbeJ96lYE=; b=uOPeD/Clz59JXP4HiAMTEcbSCCz6eMOlsV+sU8raBtMc3VV5Bh/+vR2EH54idG0WQ5 MpegXQHia8pMnwuPpLeZwxxLARd/K9y6XBmGz0+JT5Ets+deShs2KsmcIUJZGTTgYtcw PaUDk1F+u7z4WpYPOZUi01O2CFXdZWlz6sWp1VYCP2YN1passjENAWK3qFhJx4MPnp1P pEz5CE/gOV2pdvxtPZXQgBPqPO6Qyl5gkbTKu+XY0aACnk9LAO1dVB10ErLNrAWx8ogW syMjzUXiEk83DYfOAvK8aqggLM8JKY+8ueCt2gpomWb2rE3zblcPZOurzcSfIUHoSpgn PXvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=mxOrYrV8; 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-59467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59467-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=2; AJvYcCUSQceP3hfA6wP2Fiw6LkfWUlpv/5HF21YnEViDhedRSYIxirB8qfB7uSUtvhBziFiLxyb0KaYnFiQ/rebado/XC4EO4dVORVbDp2vWjQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o18-20020ac87c52000000b0042c59612617si1681164qtv.13.2024.02.09.06.34.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 06:34:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=mxOrYrV8; 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-59467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59467-linux.lists.archive=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 E57AF1C2169E for ; Fri, 9 Feb 2024 14:34:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 56AE47D40A; Fri, 9 Feb 2024 14:32:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="mxOrYrV8" Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 8DDE36F06C; Fri, 9 Feb 2024 14:31:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707489119; cv=none; b=aCJ276J6S0STrQPO2gU0/yYnoLcjXuAlKCQbovzdZ1tOZYkyLPS1t0XkjaUoZZjt9iNGvP4V/Tp4z+1/B4uk9dGs3DFNT610jN/LidHfuyFNfZiw4ME4Xsx7BtCRT+0epanCgmB0ce+b/vfpl26fRmZmP3EG9wrrLtSa6cbHMQ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707489119; c=relaxed/simple; bh=e+hmStUrY3u9nabSGW4AZ/zZ6+E5rH8WkoPvGWObM2k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LXljbuURXKyN12zMoH+gPenBNXQ7o0PxyQlWiqSmDlwEO5J737Vpak67HeDbtoatD1Qg+ZwdPwhhddjmTaetvKy3Pu8LnSjP4mkLsfP2SaE6iVLFyrqHHYJotUSgH2v0hImJDezGwPCzutFTawbxgrtwA+2QPIdqCb9zhhWrUaQ= 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=mxOrYrV8; arc=none smtp.client-ip=217.70.183.193 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 422AF24000B; Fri, 9 Feb 2024 14:31:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707489114; 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=syaGWASVz7HJ8EsREfptT5dsVQfBdow3w7CFtxWQaiQ=; b=mxOrYrV8krBhVCmaFuPG2Pof20O2IkcdnW1Mz8felwO3PGPxf0+T5j/4NUde2qvprkllrz T+8z2FFQfpg3uzmYBlDe1EM0d8oMiBHs6TWu2AyAHztcfepQAF7d/Y7i7G/AejLkLUBlqe eO/kkL6Mcj4cThZHhCGgaABN2aPDp4IAkTuxxAU9Oth5jXInNTUWYRvvNne9PLPWwrUeJy Suno5G6h1jWSUOInY2tw4VG2xzhGUA3PQHG5us6LbWKU4Ye6t8eAx4pvoynIsU6HVJjDEA fLbrps+k6nkaJo91h8/95oAYCYU8H/hje5qDYM61kYMhInw+KwjwJ/mQwdQq+g== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Fri, 09 Feb 2024 15:31:42 +0100 Subject: [PATCH v5 06/13] dt-bindings: soc: mobileye: add EyeQ5 OLB system controller Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240209-mbly-clk-v5-6-f094ee5e918a@bootlin.com> References: <20240209-mbly-clk-v5-0-f094ee5e918a@bootlin.com> In-Reply-To: <20240209-mbly-clk-v5-0-f094ee5e918a@bootlin.com> To: Gregory CLEMENT , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , Linus Walleij , =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= , 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 Add documentation to describe the "Other Logic Block" syscon. Signed-off-by: Théo Lebrun --- .../bindings/soc/mobileye/mobileye,eyeq5-olb.yaml | 94 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 95 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-olb.yaml b/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-olb.yaml new file mode 100644 index 000000000000..768ff1aa1db7 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-olb.yaml @@ -0,0 +1,94 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/mobileye/mobileye,eyeq5-olb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mobileye EyeQ5 SoC system controller + +maintainers: + - Grégory Clement + - Théo Lebrun + - Vladimir Kondratiev + +description: + OLB ("Other Logic Block") is a hardware block grouping smaller blocks. Clocks, + resets, pinctrl are being handled from here. + +properties: + compatible: + items: + - const: mobileye,eyeq5-olb + - const: syscon + - const: simple-mfd + + 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# + +required: + - compatible + - reg + - '#address-cells' + - '#size-cells' + - ranges + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + system-controller@e00000 { + compatible = "mobileye,eyeq5-olb", "syscon", "simple-mfd"; + reg = <0x0 0xe00000 0x0 0x400>; + ranges = <0x0 0x0 0xe00000 0x400>; + #address-cells = <1>; + #size-cells = <1>; + + reset: reset-controller@0 { + compatible = "mobileye,eyeq5-reset"; + reg = <0x000 0x0c>, <0x200 0x34>, <0x120 0x04>; + reg-names = "d0", "d1", "d2"; + #reset-cells = <2>; + }; + + clocks: clock-controller@2c { + compatible = "mobileye,eyeq5-clk"; + reg = <0x02c 0x50>, <0x11c 0x04>; + reg-names = "plls", "ospi"; + #clock-cells = <1>; + clocks = <&xtal>; + clock-names = "ref"; + }; + + pinctrl: pinctrl@b0 { + compatible = "mobileye,eyeq5-pinctrl"; + reg = <0x0b0 0x30>; + + uart2_pins: uart2-pins { + function = "uart2"; + pins = "PB8", "PB9"; + }; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index a09899acfa6a..d6e1dacf1c84 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14793,6 +14793,7 @@ F: Documentation/devicetree/bindings/clock/mobileye,eyeq5-clk.yaml F: Documentation/devicetree/bindings/mips/mobileye.yaml F: Documentation/devicetree/bindings/pinctrl/mobileye,eyeq5-pinctrl.yaml F: Documentation/devicetree/bindings/reset/mobileye,eyeq5-reset.yaml +F: Documentation/devicetree/bindings/soc/mobileye/ F: arch/mips/boot/dts/mobileye/ F: arch/mips/configs/eyeq5_defconfig F: arch/mips/mobileye/board-epm5.its.S -- 2.43.0