From nobody Fri Dec 19 19:16:18 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1A0FC2405F5; Sun, 27 Apr 2025 06:27:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745735245; cv=none; b=BIupG1p1eMk9VfQypWtoVsb/ugd1PNqJFpTja6PnxFuEvJWBs/ss8QKQIBM5UmOUkPb4qJSSDqQ1W8+f3DEliDeoWqONkzFyfe0gNAqJ1LsK0oPybcwj5dx9yx4oi2eIkamXvSxTABqQ44BDYbPzYjXDOMeOXfaz5YQVrrQ2C3U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745735245; c=relaxed/simple; bh=jWtCk7OJxJQP4aFGkbiIAjpWZekDiU1uBW1a10F2xG8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TF7A9qNIepItADE62V0z+X+6vTTcPbUegujmecs2HKZxWyjjMX2gogfvWLbSsTMLdaosFJIeSRAx6blN49nUGzvLgxuWFuZYmICJDzXkaa5YkOVAFCjYFwqc1FNnwa5kBKSrOlz35jF5wFzB7sy4zFpXsX1k2YYkoAs0nRXqswk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bTkEuwO1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bTkEuwO1" Received: by smtp.kernel.org (Postfix) with ESMTPS id 69F56C4CEF6; Sun, 27 Apr 2025 06:27:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1745735244; bh=jWtCk7OJxJQP4aFGkbiIAjpWZekDiU1uBW1a10F2xG8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=bTkEuwO15ymYuQl68J5FUjpvWt7g80+BavxY1iIGfMg3yvoMy8WVXgCWnrRcvx6YP HL3nm2lEKTW9MU76RjViPfRQR0czj1NzXB6LDhSKesvb9IhU5zzPjjUKMISAKE6UKJ aXashXNiPN1reKrqivhbmnT2Xfebaar4ystNFTO/g+g8Zl0CAdKkZADeYwAK/JXz69 rRKGwmBUK7I70nYP2rZTvDa3DC3M0gLagutZ/x1/a3+kSCONBSwA1uZPoqI953mXbW ozDc+dZy+mN8adUnGsUH+yMwg3NqANT97n9IUwg61SUaXD4ZRWfomJkNJ5AFnlzo6r apSXGyTnRq0gQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FBACC3ABA0; Sun, 27 Apr 2025 06:27:24 +0000 (UTC) From: Keke Li via B4 Relay Date: Sun, 27 Apr 2025 14:27:13 +0800 Subject: [PATCH v9 05/10] dt-bindings: media: Add amlogic,c3-isp.yaml 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: quoted-printable Message-Id: <20250427-c3isp-v9-5-e0fe09433d94@amlogic.com> References: <20250427-c3isp-v9-0-e0fe09433d94@amlogic.com> In-Reply-To: <20250427-c3isp-v9-0-e0fe09433d94@amlogic.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kieran.bingham@ideasonboard.com, laurent.pinchart@ideasonboard.com, dan.scally@ideasonboard.com, jacopo.mondi@ideasonboard.com, Keke Li , Krzysztof Kozlowski X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1745735242; l=3274; i=keke.li@amlogic.com; s=20240902; h=from:subject:message-id; bh=DHW5YzMz2Tg8z/3eAjFGTJeeaROJ1MXnWBp20XrExEs=; b=rfY8efsUhL+HuYDu99Ct3r36WBbdofhFJainG4C3SBRUyEEh0Eawekcg0yOcgN4UiJHL+u3Mk tyz4urr2t3HBbC3QmbPe0yZSPYpMOnU3RCjoz5jsb/At+FHDBA88VV+ X-Developer-Key: i=keke.li@amlogic.com; a=ed25519; pk=XxNPTsQ0YqMJLLekV456eoKV5gbSlxnViB1k1DhfRmU= X-Endpoint-Received: by B4 Relay for keke.li@amlogic.com/20240902 with auth_id=204 X-Original-From: Keke Li Reply-To: keke.li@amlogic.com From: Keke Li c3-isp is used to process raw image. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Keke Li --- .../devicetree/bindings/media/amlogic,c3-isp.yaml | 88 ++++++++++++++++++= ++++ MAINTAINERS | 6 ++ 2 files changed, 94 insertions(+) diff --git a/Documentation/devicetree/bindings/media/amlogic,c3-isp.yaml b/= Documentation/devicetree/bindings/media/amlogic,c3-isp.yaml new file mode 100644 index 000000000000..123bf462f098 --- /dev/null +++ b/Documentation/devicetree/bindings/media/amlogic,c3-isp.yaml @@ -0,0 +1,88 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/amlogic,c3-isp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic C3 Image Signal Processing Unit + +maintainers: + - Keke Li + +description: + Amlogic ISP is the RAW image processing module + and supports three channels image output. + +properties: + compatible: + enum: + - amlogic,c3-isp + + reg: + maxItems: 1 + + reg-names: + items: + - const: isp + + power-domains: + maxItems: 1 + + clocks: + maxItems: 2 + + clock-names: + items: + - const: vapb + - const: isp0 + + interrupts: + maxItems: 1 + + port: + $ref: /schemas/graph.yaml#/properties/port + description: input port node. + +required: + - compatible + - reg + - reg-names + - power-domains + - clocks + - clock-names + - interrupts + - port + +additionalProperties: false + +examples: + - | + #include + #include + #include + + soc { + #address-cells =3D <2>; + #size-cells =3D <2>; + + isp: isp@ff000000 { + compatible =3D "amlogic,c3-isp"; + reg =3D <0x0 0xff000000 0x0 0xf000>; + reg-names =3D "isp"; + power-domains =3D <&pwrc PWRC_C3_ISP_TOP_ID>; + clocks =3D <&clkc_periphs CLKID_VAPB>, + <&clkc_periphs CLKID_ISP0>; + clock-names =3D "vapb", "isp0"; + assigned-clocks =3D <&clkc_periphs CLKID_VAPB>, + <&clkc_periphs CLKID_ISP0>; + assigned-clock-rates =3D <0>, <400000000>; + interrupts =3D ; + + port { + c3_isp_in: endpoint { + remote-endpoint =3D <&c3_adap_out>; + }; + }; + }; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index 6f1326bc60fa..a2fed5b24c9a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1258,6 +1258,12 @@ F: Documentation/devicetree/bindings/perf/amlogic,g1= 2-ddr-pmu.yaml F: drivers/perf/amlogic/ F: include/soc/amlogic/ =20 +AMLOGIC ISP DRIVER +M: Keke Li +L: linux-media@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/media/amlogic,c3-isp.yaml + AMLOGIC MIPI ADAPTER DRIVER M: Keke Li L: linux-media@vger.kernel.org --=20 2.49.0