From nobody Sat Feb 7 17:55:25 2026 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (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 08D3B2F90D8 for ; Sat, 20 Dec 2025 22:03:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766268219; cv=none; b=Kt0DjpdC5N1umv9EZmKdzH2+e0WknBrgLqBjY+Eu7nsTSm5TtTFGFTl+YBlmKlMD8F6ZjEgWpv8pe5z8mpvRrvGpr5ok7Bzjqy/3nao25ADgMA70kN+k5VgKS10GISOLqQ+oqAIAI9XYS/wVKhojhEZtxStuXOY7ZtYl1GZQCuM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766268219; c=relaxed/simple; bh=XeQz5/l3HlxHkhQp/zlzp/IlfIFRa1msrxz47AYFRK4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=b0HGPivx668tMJrp0KGDWf8B+x2f/CLVHo/oJRqYY5EAdMbycMArhq0/zMyIYK8LlyZPhYnqC13XJXH3RLiLi6INkgjpDDRoj0SWNkZ5obeMz0WrdLKaVJ1sKYmYhBHkoaQ4jy8KfD8md8/G4EqOzx3NUA0VGpXrlJCHdS2w0eU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=XMAKZgIO; arc=none smtp.client-ip=209.85.210.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XMAKZgIO" Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-7b89c1ce9easo3280345b3a.2 for ; Sat, 20 Dec 2025 14:03:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1766268217; x=1766873017; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3rICY1Fhpudv9OZIQ1xtxoji87Ec6uah1wEq45r1oWQ=; b=XMAKZgIOB2sLiF2sIB+Y5jRDav52rgN9j19AH7V2FVpJayDrNh5fEDxtok9Pa2WrOO ku6sMw1pqAwU9aNsdmvKY9UzkHvEcltQzStgbCjp2R7ksBfompJSIwf1mCCEPNIn/3Qv JsPRCR5TX+xEYzZ5smFDxtPlWT4PzFP2MF8gwWTSF9jtQ/wqGVeTvvfGyAwk/p4avgUP taxbg4IrOr2xGt3TqO0UJ38UL+VduC4BHAEFqa3K2a7M4sYgV5bUFAb6nllQErMiPqkl jpkM7hzt+kgTOjpgqanbHDqbONoAa+Q3R0SAubyzd6nodDoenkRSAV+IBcaubWhL1A2o 9/Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766268217; x=1766873017; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3rICY1Fhpudv9OZIQ1xtxoji87Ec6uah1wEq45r1oWQ=; b=eg4/8KOS15fnkhUuNnVI4LSMcSqEM6gZ36KWgcvYRPDPMUyppVXVGAu/57viRU1iV7 Ts003D1Rh9LhuMGujU6GwopqcwbRPq8XOSfK/8uLbGOzbX+GewzTEqhYRI3Cw8U0Q9Jp FfziagVIudqJUh8uCVgS5Z6xOslFdvzOVirEE0IeafHkxYJ+QPHhOGsF/91biA5m9QY+ tROsFOIJXNZD5nmexltaryRKzyCm4cDz9OZ4FRkva/t9aNXkNdO1Ph0b+on849Hp0eNf GrgRrum6WkwzcvEkQe6AhwdZhVj1dNDWjA1WEGi+haRpM3Pw7yaVaMWui7IfHEEBQnbI c2Gw== X-Forwarded-Encrypted: i=1; AJvYcCUAyye11raJ+Hif19uGA8i7V740BD/x5uPg1FxUdEimzqEBAbtB3VIj7E4t3majMe32niTa0fdJVlE0JEA=@vger.kernel.org X-Gm-Message-State: AOJu0Yyd9h9ffeNOg6UMJDNCb9RpARVLtIsZSCZTiQeOqtEuegNBVETs Fe1c3SeBThkaBcCTIkG67UQvGWpWW6IOoI/fbVuTZqvXYkqWIbbQxvaM X-Gm-Gg: AY/fxX7tQcxPCJmCjjOYLVJ5ev3OJozskTPR/M7PM0sn8JRDJrDL3zAUq+JgDng2Mgz uMxeBjsgYCsoW2SarNfOLsxOSn1D+8rWxWRc8T+4KTh2i/47oWb6sAFmZEwfGum42Vo7k2Lnzwb dD24fuvScAQ31mH4JQjVkg6TzGSczesM0LmG+K21YpihdrGmdur4DBV9LfCMXv+fBM0Zwh9Dfje x3aee1FOnFvaI5N7diAmU93V5dUg1kr8+ePtP5yiDbYG9YvYlwrdECwXHRYwdrtbMJFQeYMpnl6 qT7qUntTrOTowecs+Tie0fRsmR2oCfywJxEzQCvtDmNuLBc5RC+WrPXM4vCOYRnqbK+3DVx8PEr SxcvmhGc2Aa/GWquM2NY/dNauEf+5fDI0fyHhy6HzQWh+4+Xaa3cp+OM3v1h2xorSR6sIDQxDUY Q9JiatGjTZ/wk= X-Google-Smtp-Source: AGHT+IFrJ5P9UnBTKtA2lgtVNG5e6XfaPOR7fvP14/7jkIZvsB9Heckugmw7rTZyPRS5c+2zYErztQ== X-Received: by 2002:a05:7022:f401:b0:11b:9386:a3c0 with SMTP id a92af1059eb24-121722fd5cfmr7534721c88.43.1766268217274; Sat, 20 Dec 2025 14:03:37 -0800 (PST) Received: from fedora ([172.59.162.202]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1217254cd77sm25010164c88.14.2025.12.20.14.03.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Dec 2025 14:03:37 -0800 (PST) From: Alex Tran To: mchehab@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: pavel@kernel.org, sakari.ailus@linux.intel.com, mehdi.djait@linux.intel.com, alex.t.tran@gmail.com, laurent.pinchart@ideasonboard.com, hverkuil+cisco@kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/2] media: dt-bindings: i2c: toshiba,et8ek8: Convert to DT schema Date: Sat, 20 Dec 2025 14:03:24 -0800 Message-ID: <6f34ec79ac21d5ab9ad3fafe34a0bf6aca49a10d.1766123192.git.alex.t.tran@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert binding for toshiba,et8ek8 from TXT to YAML format. Update MAINTAINERS file accordingly. Signed-off-by: Alex Tran --- .../bindings/media/i2c/toshiba,et8ek8.txt | 55 ----------- .../bindings/media/i2c/toshiba,et8ek8.yaml | 91 +++++++++++++++++++ MAINTAINERS | 1 + 3 files changed, 92 insertions(+), 55 deletions(-) delete mode 100644 Documentation/devicetree/bindings/media/i2c/toshiba,et8= ek8.txt create mode 100644 Documentation/devicetree/bindings/media/i2c/toshiba,et8= ek8.yaml diff --git a/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt= b/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt deleted file mode 100644 index 8d8e40c56872..000000000000 --- a/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt +++ /dev/null @@ -1,55 +0,0 @@ -Toshiba et8ek8 5MP sensor - -Toshiba et8ek8 5MP sensor is an image sensor found in Nokia N900 device - -More detailed documentation can be found in -Documentation/devicetree/bindings/media/video-interfaces.txt . - - -Mandatory properties --------------------- - -- compatible: "toshiba,et8ek8" -- reg: I2C address (0x3e, or an alternative address) -- vana-supply: Analogue voltage supply (VANA), 2.8 volts -- clocks: External clock to the sensor -- reset-gpios: XSHUTDOWN GPIO. The XSHUTDOWN signal is active low. The sen= sor - is in hardware standby mode when the signal is in the low state. - - -Optional properties -------------------- - -- flash-leds: See ../video-interfaces.txt -- lens-focus: See ../video-interfaces.txt - - -Endpoint node mandatory properties ----------------------------------- - -- remote-endpoint: A phandle to the bus receiver's endpoint node. - - -Example -------- - -&i2c3 { - clock-frequency =3D <400000>; - - cam1: camera@3e { - compatible =3D "toshiba,et8ek8"; - reg =3D <0x3e>; - vana-supply =3D <&vaux4>; - - clocks =3D <&isp 0>; - assigned-clocks =3D <&isp 0>; - assigned-clock-rates =3D <9600000>; - - reset-gpio =3D <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 */ - port { - csi_cam1: endpoint { - remote-endpoint =3D <&csi_out1>; - }; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.yam= l b/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.yaml new file mode 100644 index 000000000000..68a8134df8fc --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.yaml @@ -0,0 +1,91 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/toshiba,et8ek8.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Toshiba et8ek8 5MP sensor + +maintainers: + - Pavel Machek + - Sakari Ailus + +description: + Toshiba et8ek8 5MP sensor is an image sensor found in Nokia N900 device + +properties: + compatible: + const: toshiba,et8ek8 + + reg: + description: + I2C address (0x3e, or an alternative address) + maxItems: 1 + + vana-supply: + description: + Analogue voltage supply (VANA), 2.8 volts + + clocks: + description: + External clock to the sensor + maxItems: 1 + + reset-gpios: + description: + XSHUTDOWN GPIO. The XSHUTDOWN signal is active low. The sensor + is in hardware standby mode when the signal is in the low state. + maxItems: 1 + + flash-leds: + $ref: /schemas/media/video-interfaces.yaml# + + lens-focus: + $ref: /schemas/media/video-interfaces.yaml# + + port: + $ref: /schemas/graph.yaml#/$defs/port-base + additionalProperties: false + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + remote-endpoint: true + +required: + - compatible + - reg + - vana-supply + - clocks + - reset-gpios + - port + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + camera@3e { + compatible =3D "toshiba,et8ek8"; + reg =3D <0x3e>; + vana-supply =3D <&vaux4>; + clocks =3D <&isp 0>; + assigned-clocks =3D <&isp 0>; + assigned-clock-rates =3D <9600000>; + reset-gpios =3D <&gpio4 6 GPIO_ACTIVE_HIGH>; + + port { + csi_cam1: endpoint { + remote-endpoint =3D <&csi_out1>; + }; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index dc731d37c8fe..50722537d548 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -18582,6 +18582,7 @@ M: Sakari Ailus L: linux-media@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/media/i2c/adi,ad5820.yaml +F: Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.yaml F: drivers/media/i2c/ad5820.c F: drivers/media/i2c/et8ek8 =20 --=20 2.51.0 From nobody Sat Feb 7 17:55:25 2026 Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (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 9DAFD2FDC2C for ; Sat, 20 Dec 2025 22:03:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766268221; cv=none; b=XCtShje69I/wV/bRYGGnNw3HrspssGAVSpAynceE8aTjyFHOy09e7UY54qOrxND503EEunEFIQOmRJAXzbcOYZ/2KtbJFbljX6Kft8wiJ7BJQorO3XRjsCOxQjDmZVtogbTYm0nZCusjw9wAOfoQbni1zF0DjflS2236TEjHAxM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766268221; c=relaxed/simple; bh=GSKFnpxSXVsqbfKAdV5IWaf20H7hq0L5b5alyeT5tf0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gL/bCkqWWFlZEzW5KeK4PE7wA0iPaRqbuVlTUiaHm0XeUnmhOuS+WY9q4iqE1S8SMZhjpChLhhstT4kLI+vyVncsO4m2kXlEaUflA8A0FhB5V9H5o8Q0tU2n6ziYit3C1iBwSUasc7xPMYk9dQ0OS5V64ByuvRQ8etLhMVkCZ0o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=HcqPRXlz; arc=none smtp.client-ip=209.85.214.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HcqPRXlz" Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-2a07fac8aa1so30614245ad.1 for ; Sat, 20 Dec 2025 14:03:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1766268219; x=1766873019; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=o1gn5oD3hXl18WHBxvxdIuEL4NyVJgXGPq7DVV2iXzI=; b=HcqPRXlzcLiLSnpkZYR80HR1Khm+awopq/tERVYRRjMpeaI+F9j5Obi3Pu65DBljlt 7GDOOUeyb74ZT01RfTyPVH+5h+/1miBQVwayQfXbOm4PFhEvZT7EsR2bldloU9L+o1TX wOQrsAJNznO0bYLnDMKLePjek/Ql8tZHBLrbx6UomNAsfVSaUszB+6KPGXkcRkauhYuZ NonkUPL8HAprAzQFHIHX1ys3XtZfBGTL5RPBQ6hpFHvPAMb9FhCzFncnEEamejXx8HyT h6NQvJOdmjS6UESaakSWF3b2/jaybd1p474GG6cuImAr31aioQ/1mZN99I9XGBY9wkS1 GCnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766268219; x=1766873019; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=o1gn5oD3hXl18WHBxvxdIuEL4NyVJgXGPq7DVV2iXzI=; b=dbyFBE7Ag9M1gC5XhUzbvKiEyr4LCaNzwiGKy39gaWR5Lx1DT04of6J15k8Fgyzyfq 092Q+O1/LSqTBjc/DKMcAHqc1kMnwTYMSuOStJ/H+Df4YMdgqK3iayYodmXSlhC4RPOr rS68oxHoxTcH03/7VNAaNlSTwYAIPd1reouyddxiEqGA6fYQv40N7ondx+OeWNRrzb3m A+b4NIvNzFDK1zQNLZK0ESJ9a81NSaSfdWmxl0oO0hltAmcv+YwkEXdcS+j95M5Yr6+s erM2vlMIpT3M774ANig0oOdTNWwRTu5vt5929hp7Pqiqn6gJr+xyO0c3ewmgXPkm7etZ DjMA== X-Forwarded-Encrypted: i=1; AJvYcCWtyNcX4YHsDCGPIxD8ov4tdl5npN8/GXCbNYs54X4AFw25tEryIaDZ4dhc/8y2ww2vQc4JcKGCE7q3SFU=@vger.kernel.org X-Gm-Message-State: AOJu0YzlvNmrWB8nKUqVJGgBaiOUDKhEqbZ/20ZuFr6n+wm2fRd9RfxH 7XjVDSCq6Y4tvv54RwlvgBkaj7XFrn5OP45SimBhl+53WhN+HMuNu/OW X-Gm-Gg: AY/fxX43WCAYM7G6UtTaPWaga+Bm2mPi8rqL19WGxKIdfCHfvkoI/cJvrS76VL1Z+ME 4JQFNbj4vPyamFdv04D4s9VBMJykxr3DnwNQQRKX7rk0ezNSgK7MskEFbd1hl+01EBj6TDc+cbn OuRBPiqVeQNAjHAebvF8hvUam1GFMno1A0V/K1GClnI4/IqWRX4mjPsEPo241TwkRcB77cbEklx 6fSQMZJaZMbRJ/HGM1TimiCW3qQ70c/A0MfvQEBal+2Zn12gB0BdiCG7923+1iY4wmkfw01YSiL ReDy2/VLlRpa23J1UB4jw0lnXjJR80eVZ/NwzbJZTFmGFJrfsA4u4eMRdb5c17BpSYQZqmp6iAF 6mQoM3rOerpSqT5rUm/hHVhDOKMvtmSnmmnLOEDj0jPXtWHX6OtykndQZbU9YPr/jB9Dq42xJpK BF+pflBqGOMIc= X-Google-Smtp-Source: AGHT+IHq2wXI8+sl3brXpkHT8REvcb99HRHtlliE2n790sCVIY8XwlHbujd7ntvN4tpiCxDHn0zeBA== X-Received: by 2002:a05:7022:e981:b0:11b:9386:a38b with SMTP id a92af1059eb24-121722fcdadmr7816422c88.46.1766268218815; Sat, 20 Dec 2025 14:03:38 -0800 (PST) Received: from fedora ([172.59.162.202]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1217254cd77sm25010164c88.14.2025.12.20.14.03.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Dec 2025 14:03:38 -0800 (PST) From: Alex Tran To: mchehab@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: pavel@kernel.org, sakari.ailus@linux.intel.com, mehdi.djait@linux.intel.com, alex.t.tran@gmail.com, laurent.pinchart@ideasonboard.com, hverkuil+cisco@kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/2] media: dt-bindings: ti,omap3isp: Convert to DT schema Date: Sat, 20 Dec 2025 14:03:25 -0800 Message-ID: <3c5a55cc5873e8d16bd25c5968a0d8b36e180325.1766123192.git.alex.t.tran@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert binding for ti,omap3isp from TXT to YAML format. Signed-off-by: Alex Tran --- .../devicetree/bindings/media/ti,omap3isp.txt | 71 ------- .../bindings/media/ti,omap3isp.yaml | 182 ++++++++++++++++++ 2 files changed, 182 insertions(+), 71 deletions(-) delete mode 100644 Documentation/devicetree/bindings/media/ti,omap3isp.txt create mode 100644 Documentation/devicetree/bindings/media/ti,omap3isp.yaml diff --git a/Documentation/devicetree/bindings/media/ti,omap3isp.txt b/Docu= mentation/devicetree/bindings/media/ti,omap3isp.txt deleted file mode 100644 index ac23de855641..000000000000 --- a/Documentation/devicetree/bindings/media/ti,omap3isp.txt +++ /dev/null @@ -1,71 +0,0 @@ -OMAP 3 ISP Device Tree bindings -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D - -The DT definitions can be found in include/dt-bindings/media/omap3-isp.h. - -Required properties -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D - -compatible : must contain "ti,omap3-isp" - -reg : the two registers sets (physical address and length) for the - ISP. The first set contains the core ISP registers up to - the end of the SBL block. The second set contains the - CSI PHYs and receivers registers. -interrupts : the ISP interrupt specifier -iommus : phandle and IOMMU specifier for the IOMMU that serves the ISP -syscon : the phandle and register offset to the Complex I/O or CSI-PHY - register -ti,phy-type : 0 -- OMAP3ISP_PHY_TYPE_COMPLEX_IO (e.g. 3430) - 1 -- OMAP3ISP_PHY_TYPE_CSIPHY (e.g. 3630) -#clock-cells : Must be 1 --- the ISP provides two external clocks, - cam_xclka and cam_xclkb, at indices 0 and 1, - respectively. Please find more information on common - clock bindings in ../clock/clock-bindings.txt. - -Port nodes (optional) ---------------------- - -More documentation on these bindings is available in -video-interfaces.txt in the same directory. - -reg : The interface: - 0 - parallel (CCDC) - 1 - CSIPHY1 -- CSI2C / CCP2B on 3630; - CSI1 -- CSIb on 3430 - 2 - CSIPHY2 -- CSI2A / CCP2B on 3630; - CSI2 -- CSIa on 3430 - -Optional properties -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D - -vdd-csiphy1-supply : voltage supply of the CSI-2 PHY 1 -vdd-csiphy2-supply : voltage supply of the CSI-2 PHY 2 - -Endpoint nodes --------------- - -lane-polarities : lane polarity (required on CSI-2) - 0 -- not inverted; 1 -- inverted -data-lanes : an array of data lanes from 1 to 3. The length can - be either 1 or 2. (required on CSI-2) -clock-lanes : the clock lane (from 1 to 3). (required on CSI-2) - - -Example -=3D=3D=3D=3D=3D=3D=3D - - isp@480bc000 { - compatible =3D "ti,omap3-isp"; - reg =3D <0x480bc000 0x12fc - 0x480bd800 0x0600>; - interrupts =3D <24>; - iommus =3D <&mmu_isp>; - syscon =3D <&scm_conf 0x2f0>; - ti,phy-type =3D ; - #clock-cells =3D <1>; - ports { - #address-cells =3D <1>; - #size-cells =3D <0>; - }; - }; diff --git a/Documentation/devicetree/bindings/media/ti,omap3isp.yaml b/Doc= umentation/devicetree/bindings/media/ti,omap3isp.yaml new file mode 100644 index 000000000000..3f3b0c0f46e5 --- /dev/null +++ b/Documentation/devicetree/bindings/media/ti,omap3isp.yaml @@ -0,0 +1,182 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/ti,omap3isp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments OMAP 3 Image Signal Processor (ISP) + +maintainers: + - Laurent Pinchart + - Sakari Ailus + +description: + The OMAP 3 ISP is an image signal processor present in OMAP 3 SoCs. + +properties: + compatible: + const: ti,omap3-isp + + reg: + items: + - description: Core ISP registers up to the end of the SBL block + - description: CSI PHYs and receivers registers + + interrupts: + maxItems: 1 + description: the ISP interrupt specifier + + iommus: + maxItems: 1 + description: phandle and IOMMU specifier for the IOMMU that serves the= ISP + + syscon: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to System Control Module + - description: register offset to Complex I/O or CSI-PHY register + description: + Phandle and register offset to the Complex I/O or CSI-PHY register + + ti,phy-type: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1] + description: + 0 - OMAP3ISP_PHY_TYPE_COMPLEX_IO (e.g. OMAP 3430) + 1 - OMAP3ISP_PHY_TYPE_CSIPHY (e.g. OMAP 3630) + + '#clock-cells': + const: 1 + description: + The ISP provides two external clocks, cam_xclka and cam_xclkb, + at indices 0 and 1 respectively. + + vdd-csiphy1-supply: + description: Voltage supply of the CSI-2 PHY 1 + + vdd-csiphy2-supply: + description: Voltage supply of the CSI-2 PHY 2 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: Parallel (CCDC) interface + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + port@1: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: | + CSIPHY1 interface: + OMAP 3630: CSI2C / CCP2B + OMAP 3430: CSI1 (CSIb) + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + lane-polarities: + description: | + The lane polarity (required on CSI-2): + 0 - not inverted + 1 - inverted + minItems: 2 + maxItems: 3 + items: + enum: [0, 1] + + data-lanes: + description: Data lanes (required on CSI-2) + minItems: 1 + maxItems: 2 + items: + minimum: 1 + maximum: 3 + + clock-lanes: + description: The clock lane (required on CSI-2) + maxItems: 1 + items: + minimum: 1 + maximum: 3 + + port@2: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: | + CSIPHY2 interface: + OMAP 3630: CSI2A / CCP2B + OMAP 3430: CSI2 (CSIa) + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + lane-polarities: + description: | + The lane polarity (required on CSI-2): + 0 - not inverted + 1 - inverted + minItems: 2 + maxItems: 3 + items: + enum: [0, 1] + + data-lanes: + description: Data lanes (required on CSI-2) + minItems: 1 + maxItems: 2 + items: + minimum: 1 + maximum: 3 + + clock-lanes: + description: The clock lane (required on CSI-2) + maxItems: 1 + items: + minimum: 1 + maximum: 3 + +required: + - compatible + - reg + - interrupts + - iommus + - syscon + - ti,phy-type + - '#clock-cells' + +additionalProperties: false + +examples: + - | + #include + + isp@480bc000 { + compatible =3D "ti,omap3-isp"; + reg =3D <0x480bc000 0x12fc>, + <0x480bd800 0x0600>; + interrupts =3D <24>; + iommus =3D <&mmu_isp>; + syscon =3D <&scm_conf 0x2f0>; + ti,phy-type =3D ; + #clock-cells =3D <1>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + }; --=20 2.51.0