From patchwork Mon Aug 26 14:43:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 13777990 Received: from fhigh2-smtp.messagingengine.com (fhigh2-smtp.messagingengine.com [103.168.172.153]) (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 8BDEF18D633; Mon, 26 Aug 2024 14:44:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.153 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724683476; cv=none; b=BzH2uQkTiV9Wzz1wlSY5tSL5N1bOLOnh3fR3kQJPAk2uh04isyavTy8666U4NdbgvRh7UyBel4i1pkhdpjUvrMRcZuWsxOtSbHE2kD+SYSlvy7JCDz9JM3vWJQIHa3GD5kLARlUGHbG12n8a3ifC5/jtKYW5ZkIlzqC9fBCy/Gw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724683476; c=relaxed/simple; bh=+8aa664SuBHe1Huyceo+fjt7fClt3Qn0VVlWPeRhZ/w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=nrhX8QWmvyl24tms6nGYVUCJkgN6o5J3bwpsv/Ab7s3IuuWsRYM5vIYr/ioumwMGxnXZwJ3mWymDev2noOeAGz6N2ZZDE254prqGKq8C7peVGw0vLLe5Q8vYR2eCLmqWbAIwXWTqoP6BWOKSQI4gu/W+9k5OgogeSRlNGC27ngs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ragnatech.se; spf=pass smtp.mailfrom=ragnatech.se; dkim=pass (2048-bit key) header.d=ragnatech.se header.i=@ragnatech.se header.b=G5XvwONI; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=T/7ObE9B; arc=none smtp.client-ip=103.168.172.153 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ragnatech.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ragnatech.se Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ragnatech.se header.i=@ragnatech.se header.b="G5XvwONI"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="T/7ObE9B" Received: from phl-compute-05.internal (phl-compute-05.nyi.internal [10.202.2.45]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 79A77114C014; Mon, 26 Aug 2024 10:44:32 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Mon, 26 Aug 2024 10:44:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech.se; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1724683472; x=1724769872; bh=TXPbe5b7RzaBzLfhukzDjYRtEBsCgERphubj+qeOZE8=; b= G5XvwONIXZDgMSxJxhpDCY/Pp2vpLA7DX+rGXct8dxK8E8sdjDD2paHrmNtAT3G3 5GfeDIWFzQg761JfsnnGX25KDjL3Syo5YILhaeLCPCToBa/CcRxDnHIrIJSbj8rt W5h5ez4UMqV33DOojuhAbRhoF20nvdQaLCg1zwhdmXs+Yin1eT/g5Rm/BaknQW0/ DdztHQb45KgqeplVQVhVqtCsMPXcRcnFn2J8j+WEgSOxfJYzEgSTgT4t2gdVeNfm IKa8C+BOj2XcRsKnYfwnU1MFoylWvPbOHMyFsTirozOjZW3Wqua++viEzr3hoQpR zDgpNpFkY6rhbkBeNYwIzw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724683472; x= 1724769872; bh=TXPbe5b7RzaBzLfhukzDjYRtEBsCgERphubj+qeOZE8=; b=T /7ObE9BscFi/SjozRzk5U8QHkD7ecftEBqn1X4QJcUq5MfPXK6qXaI9KSSx0oM06 lEEhl5LP+SzDSIphzMNTynX0EjIA4OFtkoLGO3W7JRjVM+jTWuowUgzvLoB58wN3 X3MUG+IvGCIBd0OqD5xUNqs+gbTtdWsX+pBQVtx3Ry2vpXLEt1LAEYDLoJ1sMsqQ J6vo4KLuODP1xRg2qvFH9bIRXS12+BwcCqG7vjRyO9W5JaHsos/Y7kcNurOd5iEi IoGDzboHB4cdu3gn2sj+8HHPs39N/l8CPt+aFdfIVMy7HSu+LMgRtZ5OAOF+MM5Y MCO/KLtZvVfD7nOynQiKg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddvkedgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdej necuhfhrohhmpefpihhklhgrshcuufpnuggvrhhluhhnugcuoehnihhklhgrshdrshhoug gvrhhluhhnugdorhgvnhgvshgrshesrhgrghhnrghtvggthhdrshgvqeenucggtffrrght thgvrhhnpeehiefgueevuedtfefhheegkeevtdelueeukeevfeduhefhhfejfffggeffle efgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehn ihhklhgrshdrshhouggvrhhluhhnugesrhgrghhnrghtvggthhdrshgvpdhnsggprhgtph htthhopedutddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepmhgthhgvhhgrsges khgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhgruhhrvghnthdrphhinhgthhgrrhhtse hiuggvrghsohhnsghorghrugdrtghomhdprhgtphhtthhopehrohgshheskhgvrhhnvghl rdhorhhgpdhrtghpthhtohepkhhriiihshiithhofhdrkhhoiihlohifshhkihdoughtse hlihhnrghrohdrohhrghdprhgtphhtthhopegtohhnohhrodgutheskhgvrhhnvghlrdho rhhgpdhrtghpthhtohepghgvvghrthdorhgvnhgvshgrshesghhlihguvghrrdgsvgdprh gtphhtthhopehlihhnuhigqdhmvgguihgrsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhr tghpthhtohepuggvvhhitggvthhrvggvsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtg hpthhtoheplhhinhhugidqrhgvnhgvshgrshdqshhotgesvhhgvghrrdhkvghrnhgvlhdr ohhrgh X-ME-Proxy: Feedback-ID: i80c9496c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Aug 2024 10:44:31 -0400 (EDT) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Mauro Carvalho Chehab , Laurent Pinchart , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH v2 1/6] dt-bindings: media: renesas,isp: Add Gen4 family fallback Date: Mon, 26 Aug 2024 16:43:47 +0200 Message-ID: <20240826144352.3026980-2-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240826144352.3026980-1-niklas.soderlund+renesas@ragnatech.se> References: <20240826144352.3026980-1-niklas.soderlund+renesas@ragnatech.se> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The ISP Channel Selector IP is the same for all current Gen4 devices. This was not known when adding support for V3U and V4H and a single SoC specific compatible was used. Before adding more SoC specific bindings for V4M add a family compatible fallback for Gen4. That way the driver only needs to be updated once for Gen4, and we still have the option to fix any problems in the driver if any testable differences between the SoCs are found. There are already DTS files using the V3U and V4H compatibles which needs to be updated to not produce a warning for DTS checks. The driver also needs to kept the compatible values to be backward compatible , but for new Gen4 SoCs such as V4M we can avoid this. Signed-off-by: Niklas Söderlund Reviewed-by: Geert Uytterhoeven --- * Changes since v1 - New in v2. --- Documentation/devicetree/bindings/media/renesas,isp.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/renesas,isp.yaml b/Documentation/devicetree/bindings/media/renesas,isp.yaml index 33650a1ea034..730c86f2d7b1 100644 --- a/Documentation/devicetree/bindings/media/renesas,isp.yaml +++ b/Documentation/devicetree/bindings/media/renesas,isp.yaml @@ -22,6 +22,7 @@ properties: - enum: - renesas,r8a779a0-isp # V3U - renesas,r8a779g0-isp # V4H + - const: renesas,rcar-gen4-isp # Generic R-Car Gen4 reg: maxItems: 1 @@ -116,7 +117,7 @@ examples: #include isp1: isp@fed20000 { - compatible = "renesas,r8a779a0-isp"; + compatible = "renesas,r8a779a0-isp", "renesas,rcar-gen4-isp"; reg = <0xfed20000 0x10000>; interrupts = ; clocks = <&cpg CPG_MOD 613>; From patchwork Mon Aug 26 14:43:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 13777991 Received: from fout7-smtp.messagingengine.com (fout7-smtp.messagingengine.com [103.168.172.150]) (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 5834818FC83; Mon, 26 Aug 2024 14:44:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.150 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724683478; cv=none; b=RdWjDkUUIDdPndeVqHCVVfB8M7sO4ekMQRJIJ+sqQW7wt06xTePCdvJvofdXVwX9uV0B8hIDz2L5+GVqkPHsfnOWN+AOO0yyOMU40gmnv+CTgZQnPQGguwelSCKDHUUfd+ljwjJ+YuonA9+kO2NBpT0aA9Z6LKzlmp4W+MnN8N4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724683478; c=relaxed/simple; bh=xmYzx5VtDeatGchJ5T+SctF9H8ZhBVwhhqEoxa2AY2E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QseF38zTrcAS4+JrlR+wnmMnwmy0tcit8nQUTaDUETKMOWCLkohjK2I64EZad36nxwiJ2PlzCYjI5Dfghg2wYRM+oJ0alB9ioccYs5C3Dq6StohLa/fjwqQ/xsQLA1cDyjxz5Apw1IEKYHdEtF4JIszB5DwFdL3r/URAjMgm/a0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ragnatech.se; spf=pass smtp.mailfrom=ragnatech.se; dkim=pass (2048-bit key) header.d=ragnatech.se header.i=@ragnatech.se header.b=MTFDR2Ga; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=ofaSXFC4; arc=none smtp.client-ip=103.168.172.150 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ragnatech.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ragnatech.se Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ragnatech.se header.i=@ragnatech.se header.b="MTFDR2Ga"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="ofaSXFC4" Received: from phl-compute-05.internal (phl-compute-05.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id 7722F138FF67; Mon, 26 Aug 2024 10:44:34 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Mon, 26 Aug 2024 10:44:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech.se; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1724683474; x=1724769874; bh=FNlKDsgiyJvfuAOhgquaBtEXbykoWDJmot1uG9QHA/s=; b= MTFDR2GaIMHEz84n453DMS9Iv64gaG14PpfFKEoSPMch+dwrdidxv2ALiD1ySsmN epIR+27YRa97i08r2NVapB/e2j4DFEXu6vb353bJKh6BKDDxCJjj+widt3n+hymw jd2wDGsA+2KqmuDO58xNFemTV5XqE6Q8AIrute3yU4nyCmHRTzt1cvxewzBTJlUa XUfhMGSYnownm+8IDZTPSGyHgZ2soT95eZ2w+Qw8EILSzGqDw8bbdMfUBtC5S2N/ Da1/vut3OY5EunkcGfHFgIIw60A+TRJ2f481CQtDuIffCQ21AdpIK62pJ4v2708d sxL9+dpT044Qyfxqk/FR7A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724683474; x= 1724769874; bh=FNlKDsgiyJvfuAOhgquaBtEXbykoWDJmot1uG9QHA/s=; b=o faSXFC4FnGHW/ATzCdtv+v0sw9+sVss1YrYAIx/D3w7f3HMTDyNO3/oE56KdHr64 QaqZqDDxB9RQqI+gkrZ7ICD8UjLWVmMh6l2B8xcmrvQnGiIKEoHs9mK7qe9mE4E5 QpceOI2IxWPqZ3vvPLswQ6sFQ8S9G0U8kzGqkaE9O0V5bX7IGbtx9IAE1+cQOHY8 PKpzfWfRR8WsrmA8UfF/WqpaM4WrxAzFalZUlzwA5kD/D5uLOjUdF8dziSJaU9QV +SSXn5YS5OMpWPqY7Fe3N0VE7zgf+3BqgQzzIQKJQT3q9/jOwJY++J53LotH8H71 yvMERVdhF+TT7iErNp/cw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddvkedgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdej necuhfhrohhmpefpihhklhgrshcuufpnuggvrhhluhhnugcuoehnihhklhgrshdrshhoug gvrhhluhhnugdorhgvnhgvshgrshesrhgrghhnrghtvggthhdrshgvqeenucggtffrrght thgvrhhnpeehiefgueevuedtfefhheegkeevtdelueeukeevfeduhefhhfejfffggeffle efgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehn ihhklhgrshdrshhouggvrhhluhhnugesrhgrghhnrghtvggthhdrshgvpdhnsggprhgtph htthhopedutddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepmhgthhgvhhgrsges khgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhgruhhrvghnthdrphhinhgthhgrrhhtse hiuggvrghsohhnsghorghrugdrtghomhdprhgtphhtthhopehrohgshheskhgvrhhnvghl rdhorhhgpdhrtghpthhtohepkhhriiihshiithhofhdrkhhoiihlohifshhkihdoughtse hlihhnrghrohdrohhrghdprhgtphhtthhopegtohhnohhrodgutheskhgvrhhnvghlrdho rhhgpdhrtghpthhtohepghgvvghrthdorhgvnhgvshgrshesghhlihguvghrrdgsvgdprh gtphhtthhopehlihhnuhigqdhmvgguihgrsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhr tghpthhtohepuggvvhhitggvthhrvggvsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtg hpthhtoheplhhinhhugidqrhgvnhgvshgrshdqshhotgesvhhgvghrrdhkvghrnhgvlhdr ohhrgh X-ME-Proxy: Feedback-ID: i80c9496c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Aug 2024 10:44:33 -0400 (EDT) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Mauro Carvalho Chehab , Laurent Pinchart , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH v2 2/6] arm64: dts: renesas: r8a779g0: Add family fallback for CSISP IP Date: Mon, 26 Aug 2024 16:43:48 +0200 Message-ID: <20240826144352.3026980-3-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240826144352.3026980-1-niklas.soderlund+renesas@ragnatech.se> References: <20240826144352.3026980-1-niklas.soderlund+renesas@ragnatech.se> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 To make it easier to support new Gen4 SoCs add a family fallback compatible similar to what was done for VIN on Gen4. There is no functional change, but the addition of the family fallback in the bindings produces warnings for V4H for DTS checks if they are not added. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart Reviewed-by: Geert Uytterhoeven --- * Changes since v1 - New in v2. --- arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi index ac3d4062c2fa..ded805f0e633 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi @@ -2075,7 +2075,8 @@ du_out_dsi1: endpoint { }; isp0: isp@fed00000 { - compatible = "renesas,r8a779g0-isp"; + compatible = "renesas,r8a779g0-isp", + "renesas,rcar-gen4-isp"; reg = <0 0xfed00000 0 0x10000>; interrupts = ; clocks = <&cpg CPG_MOD 612>; @@ -2158,7 +2159,8 @@ isp0vin07: endpoint { }; isp1: isp@fed20000 { - compatible = "renesas,r8a779g0-isp"; + compatible = "renesas,r8a779g0-isp", + "renesas,rcar-gen4-isp"; reg = <0 0xfed20000 0 0x10000>; interrupts = ; clocks = <&cpg CPG_MOD 613>; From patchwork Mon Aug 26 14:43:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 13777992 Received: from fout7-smtp.messagingengine.com (fout7-smtp.messagingengine.com [103.168.172.150]) (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 4BBF11917E6; Mon, 26 Aug 2024 14:44:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.150 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724683478; cv=none; b=tmPYebHEzHzaM4X18+JLPI5FW+xoQ8XQ1KLHO0ceGVEzPCzw1QBb/HccJikAdpg3QgcllS/i+dcKWdEILKVXWxPPvb8bVYLoE5f62VbhWU/wnij99JK6IDtcyg4n02dKrjMn4HZkTbSI3XXWd0LLHWo8tE97YbJWPToHjVGOC0E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724683478; c=relaxed/simple; bh=h3zBuH7cFf7KPUYiVtfF+R7nok7vhwlmcV4SgCXnoNA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oj60YAHa3IA9O2iOTa/lU1CoDVzIRI9U7BFYXvHiRistIQgCv+XCh8mHtprL2WbFb2wKdx2sA/4qNYa5Lmim2qD7jqKFhilxlzQWwvdWk++j5o9xSdw62bykqcxa607I1BCJWTJK+FV2V+n6KvaTRATX8myIsc3Gl7AlIY9ZuDw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ragnatech.se; spf=pass smtp.mailfrom=ragnatech.se; dkim=pass (2048-bit key) header.d=ragnatech.se header.i=@ragnatech.se header.b=uzjVjyQl; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=tUfJrHsg; arc=none smtp.client-ip=103.168.172.150 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ragnatech.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ragnatech.se Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ragnatech.se header.i=@ragnatech.se header.b="uzjVjyQl"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="tUfJrHsg" Received: from phl-compute-06.internal (phl-compute-06.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id 750B6138FF74; Mon, 26 Aug 2024 10:44:36 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Mon, 26 Aug 2024 10:44:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech.se; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1724683476; x=1724769876; bh=aXHXlYrrWIk0p0HfqQdIzxND2XlGe4S2zSgOp1be3pA=; b= uzjVjyQlouG6rR1a3eOH/DYx2rBouGPZbPRQq6IJ6r571NlwlBtKPu40c6ZgvNhJ vjKvIbNoIFAgwn0bEoi4/Dujh4invFQhLOGV1KM1cmCW/ZgrFAtOTRGHglk4b1OG T/5PiFQvSN43qmUJVAz6o4P/j9nJLp2g9B2dYsZ54pbbaGUcZc2kzQI1RLyLoFmW EJEfi2JCLbKcVPBxawC2a7CgRAqRcdHTAE8i+ERmN6dkewhFN/xEDF33OL97NPSR 09RUCuPRtqZDFeQBNuGrbquQ2hfcRL9UxYHEigNFmVGx6Mej6RPrjrWdgothHF86 CWpTrfuePs5G4KcIARPgVg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724683476; x= 1724769876; bh=aXHXlYrrWIk0p0HfqQdIzxND2XlGe4S2zSgOp1be3pA=; b=t UfJrHsgLSIYegS8X9v6NF878ZEMGMQ9dYFQB9VMHERJsMj5rsKL/FV4otcuxT4/D 8h7YwHpoGfPQ1r+p9uQ8BVn4Bbob5/+UbsmI6zAjRxCxA41s5wbx74IGSjFlgAan es7ThlYwQ+AU2bsUuDj4U/gGdmVoUnUcylTNoSaPknmfOvnZvyUlhIhYQBbJw8Rv V+odi6wRkpyAdwV51ji6tgpQ8d1yTAIehYOGiXiw4rvPAInm9tXBFiQFzl8EQta2 DBFtSziD3ErvBiNZBGhP62/LoAwo2gqPWUltyRBspe4OaEIhTs31+LNv20CkDBWw RrUvIUwwTkg4VTRypl2ZA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddvkedgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdej necuhfhrohhmpefpihhklhgrshcuufpnuggvrhhluhhnugcuoehnihhklhgrshdrshhoug gvrhhluhhnugdorhgvnhgvshgrshesrhgrghhnrghtvggthhdrshgvqeenucggtffrrght thgvrhhnpeehiefgueevuedtfefhheegkeevtdelueeukeevfeduhefhhfejfffggeffle efgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehn ihhklhgrshdrshhouggvrhhluhhnugesrhgrghhnrghtvggthhdrshgvpdhnsggprhgtph htthhopedutddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepmhgthhgvhhgrsges khgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhgruhhrvghnthdrphhinhgthhgrrhhtse hiuggvrghsohhnsghorghrugdrtghomhdprhgtphhtthhopehrohgshheskhgvrhhnvghl rdhorhhgpdhrtghpthhtohepkhhriiihshiithhofhdrkhhoiihlohifshhkihdoughtse hlihhnrghrohdrohhrghdprhgtphhtthhopegtohhnohhrodgutheskhgvrhhnvghlrdho rhhgpdhrtghpthhtohepghgvvghrthdorhgvnhgvshgrshesghhlihguvghrrdgsvgdprh gtphhtthhopehlihhnuhigqdhmvgguihgrsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhr tghpthhtohepuggvvhhitggvthhrvggvsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtg hpthhtoheplhhinhhugidqrhgvnhgvshgrshdqshhotgesvhhgvghrrdhkvghrnhgvlhdr ohhrgh X-ME-Proxy: Feedback-ID: i80c9496c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Aug 2024 10:44:35 -0400 (EDT) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Mauro Carvalho Chehab , Laurent Pinchart , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH v2 3/6] arm64: dts: renesas: r8a779a0: Add family fallback for CSISP IP Date: Mon, 26 Aug 2024 16:43:49 +0200 Message-ID: <20240826144352.3026980-4-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240826144352.3026980-1-niklas.soderlund+renesas@ragnatech.se> References: <20240826144352.3026980-1-niklas.soderlund+renesas@ragnatech.se> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 To make it easier to support new Gen4 SoCs add a family fallback compatible similar to what was done for VIN on Gen4. There is no functional change, but the addition of the family fallback in the bindings produces warnings for V3U for DTS checks if they are not added. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart Reviewed-by: Geert Uytterhoeven --- * Changes since v1 - New in v2. --- arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi index bf23cc1dc7be..1f4ab27acc33 100644 --- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi @@ -2501,7 +2501,8 @@ du_out_dsi1: endpoint { }; isp0: isp@fed00000 { - compatible = "renesas,r8a779a0-isp"; + compatible = "renesas,r8a779a0-isp", + "renesas,rcar-gen4-isp"; reg = <0 0xfed00000 0 0x10000>; interrupts = ; clocks = <&cpg CPG_MOD 612>; @@ -2584,7 +2585,8 @@ isp0vin07: endpoint { }; isp1: isp@fed20000 { - compatible = "renesas,r8a779a0-isp"; + compatible = "renesas,r8a779a0-isp", + "renesas,rcar-gen4-isp"; reg = <0 0xfed20000 0 0x10000>; interrupts = ; clocks = <&cpg CPG_MOD 613>; @@ -2667,7 +2669,8 @@ isp1vin15: endpoint { }; isp2: isp@fed30000 { - compatible = "renesas,r8a779a0-isp"; + compatible = "renesas,r8a779a0-isp", + "renesas,rcar-gen4-isp"; reg = <0 0xfed30000 0 0x10000>; interrupts = ; clocks = <&cpg CPG_MOD 614>; @@ -2750,7 +2753,8 @@ isp2vin23: endpoint { }; isp3: isp@fed40000 { - compatible = "renesas,r8a779a0-isp"; + compatible = "renesas,r8a779a0-isp", + "renesas,rcar-gen4-isp"; reg = <0 0xfed40000 0 0x10000>; interrupts = ; clocks = <&cpg CPG_MOD 615>; From patchwork Mon Aug 26 14:43:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 13777993 Received: from fhigh2-smtp.messagingengine.com (fhigh2-smtp.messagingengine.com [103.168.172.153]) (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 329BB18FDDC; Mon, 26 Aug 2024 14:44:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.153 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724683480; cv=none; b=gbVlzOhEIURk4Vu1/KXLspxXoU/gZ+iV0R6N3PazfZS+9qhR4IbGJmd5itJq9kU3RNbiy2eN+x3Ti9a28lGj23KiDW7+J7FJpy9ztzeGDZNXNIgj0VkNMxCKvnMWOa3LcgagQ6MrU/yNAG8bH8Pmi4hl4DF5y8EGAz83SX8YTSg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724683480; c=relaxed/simple; bh=IrLcXoDBcEDdwhWabg0mmSVT2C2masBDOJpsqxxMvMg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HrhUVIi5Xl0b1zyzb/7d2SR8vtDTyvi8RB2UJNGY56OEksmLAiq2S3n5A6/42rhtj+JZdfJtn1l1rgnofOEfgq280+jRZP9DFHHmPE/HUjZe33Cmw1g0+XkymaxuBjR4mW9j6KJoHxE37aE/jAl0hvTJP1Vx0DFblBP9+W9Hi28= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ragnatech.se; spf=pass smtp.mailfrom=ragnatech.se; dkim=pass (2048-bit key) header.d=ragnatech.se header.i=@ragnatech.se header.b=aB1yCiJw; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=kBWv/ZNI; arc=none smtp.client-ip=103.168.172.153 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ragnatech.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ragnatech.se Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ragnatech.se header.i=@ragnatech.se header.b="aB1yCiJw"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="kBWv/ZNI" Received: from phl-compute-01.internal (phl-compute-01.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 7ED96114C014; Mon, 26 Aug 2024 10:44:38 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Mon, 26 Aug 2024 10:44:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech.se; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1724683478; x=1724769878; bh=yf608CTS1tXlXioRRoDglAiefGxq3jsuKBQNyuK6Vpo=; b= aB1yCiJwxVnihzij6GHv9tuKSXN5jngYwcTCapk61dgWuZRniV9mrO1l5dke1oOL wOAPNJEG6u3BQ2/4lMc+meyjqoB34vtywYYVXAKLnTQLipSkjpvtfEOkvZUUdGc0 PxJnHuYZlVxcoS9TOJCbEd//skVKnKm2wzmwKUJoGJhMqmFE4ZeVQ9f37nTEjp35 YX2dMqa/SzUtd2ti7+qWB0Bv9A/UZC7JkyYcJ3fG6XAeIGPH7ncPt1mmRi6fkxgd Dfk92Co3BLYXEXTl4S91uOjSihs91+OhBt6WhygGu3/o1qeaIwUFcDKyD7qlGLQa Jab+YWAQ5y3RiFcE8QbU1A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724683478; x= 1724769878; bh=yf608CTS1tXlXioRRoDglAiefGxq3jsuKBQNyuK6Vpo=; b=k BWv/ZNI45bfliIL5HXAfdbYFWOl3+PrshBUpSC4Ozb9Yg2nl/B55jqMX/s2/YGEq p1f3o5VXyYcihmhsesn1RhLemKfl4sWcxnLsPTiu7K6zgnRSJ+DiUKe/nQC3/muc AlZXOvDwiFOeMIj5awjfAoyJEcLBROTCSdq0sxO+L4Js1Hq1loRM7abCa86K2L1l HhqDtZUGrdbdBeIizdj+rSDNDTJN1n3h/WcIhKWNbql16hkawECbEl1zRW/G1hHu MJwERhDPTnHTDgm2PyhZyS9G42aebZukC7wEnVSK4BZHe88dlW7xmZNIaIW+I0IP KQfE5k91/BuAGwug8NK2A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddvkedgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdej necuhfhrohhmpefpihhklhgrshcuufpnuggvrhhluhhnugcuoehnihhklhgrshdrshhoug gvrhhluhhnugdorhgvnhgvshgrshesrhgrghhnrghtvggthhdrshgvqeenucggtffrrght thgvrhhnpeehiefgueevuedtfefhheegkeevtdelueeukeevfeduhefhhfejfffggeffle efgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehn ihhklhgrshdrshhouggvrhhluhhnugesrhgrghhnrghtvggthhdrshgvpdhnsggprhgtph htthhopedutddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepmhgthhgvhhgrsges khgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhgruhhrvghnthdrphhinhgthhgrrhhtse hiuggvrghsohhnsghorghrugdrtghomhdprhgtphhtthhopehrohgshheskhgvrhhnvghl rdhorhhgpdhrtghpthhtohepkhhriiihshiithhofhdrkhhoiihlohifshhkihdoughtse hlihhnrghrohdrohhrghdprhgtphhtthhopegtohhnohhrodgutheskhgvrhhnvghlrdho rhhgpdhrtghpthhtohepghgvvghrthdorhgvnhgvshgrshesghhlihguvghrrdgsvgdprh gtphhtthhopehlihhnuhigqdhmvgguihgrsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhr tghpthhtohepuggvvhhitggvthhrvggvsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtg hpthhtoheplhhinhhugidqrhgvnhgvshgrshdqshhotgesvhhgvghrrdhkvghrnhgvlhdr ohhrgh X-ME-Proxy: Feedback-ID: i80c9496c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Aug 2024 10:44:37 -0400 (EDT) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Mauro Carvalho Chehab , Laurent Pinchart , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH v2 4/6] media: rcar-isp: Add family compatible for R-Car Gen4 family Date: Mon, 26 Aug 2024 16:43:50 +0200 Message-ID: <20240826144352.3026980-5-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240826144352.3026980-1-niklas.soderlund+renesas@ragnatech.se> References: <20240826144352.3026980-1-niklas.soderlund+renesas@ragnatech.se> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add the Gen4 family compatible. This will be used instead of a SoC specific compatible for the new Gen4 SoC V4M. Two Gen4 boards (V3U and V4H) have already been added prior and their bindings need to be kept for backward compatibility. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart Reviewed-by: Geert Uytterhoeven --- * Changes since v1 - Reworked to add a family compatible instead of V4M specific one. --- drivers/media/platform/renesas/rcar-isp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/renesas/rcar-isp.c b/drivers/media/platform/renesas/rcar-isp.c index 4512ac338ca5..6504c7025a40 100644 --- a/drivers/media/platform/renesas/rcar-isp.c +++ b/drivers/media/platform/renesas/rcar-isp.c @@ -429,8 +429,11 @@ static int risp_probe_resources(struct rcar_isp *isp, } static const struct of_device_id risp_of_id_table[] = { + /* Keep to be compatible with old DTS files. */ { .compatible = "renesas,r8a779a0-isp" }, + /* Keep to be compatible with old DTS files. */ { .compatible = "renesas,r8a779g0-isp" }, + { .compatible = "renesas,rcar-gen4-isp" }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, risp_of_id_table); From patchwork Mon Aug 26 14:43:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 13777994 Received: from fout7-smtp.messagingengine.com (fout7-smtp.messagingengine.com [103.168.172.150]) (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 7C80F193061; Mon, 26 Aug 2024 14:44:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.150 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724683483; cv=none; b=M6DTKhkKArjf6VXsh6JjI2nENdb5h87Cw3eA984L8vAytthowlU91VgY+ZSwhsHu+lf4naXHYUfQ0hlatRx5iHFjlZBLXVCCSyc0lBergrgklnUYLuxRg3oMmJhTP3z2LhcFGJLsJUEIwuOQVlVu+lqZHBXgKdx6UWxNCJjb81o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724683483; c=relaxed/simple; bh=KQYw51Gt7kg+ABW2zwbnQFXdUJLeroGSlN+Cv/qZgcI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=C3pGnsJ7rkj0YN/4BMqsjrEqz/ZDpQEWXN6e3fpWnrsFuuiPEhPWSYBCy3vR/WhvSN69sHSV0mexg1sSDhvnShnzDDLqw3hyIdQm93wh0IJzsPEU1KR0OYPLNITO4qOoGVycfi//xTU6l8948+E6n/RYy2sOKFpLr19tI9tr/Lw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ragnatech.se; spf=pass smtp.mailfrom=ragnatech.se; dkim=pass (2048-bit key) header.d=ragnatech.se header.i=@ragnatech.se header.b=vMQksTy9; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=fvydt6n2; arc=none smtp.client-ip=103.168.172.150 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ragnatech.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ragnatech.se Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ragnatech.se header.i=@ragnatech.se header.b="vMQksTy9"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="fvydt6n2" Received: from phl-compute-01.internal (phl-compute-01.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id 8E6A1138FF65; Mon, 26 Aug 2024 10:44:40 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Mon, 26 Aug 2024 10:44:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech.se; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1724683480; x=1724769880; bh=a/mA1pMeI5U1vqlceZiMk+v1xyeyRI91H2eFYR1i+KU=; b= vMQksTy92oH1SVf2bGoJkituzpXDNHYrmEk178rdprHbxMCrIMYbrL+r0UlJcCZ/ DuMNN7arJ2udTg6aH8HImJjJNaG1TllslCwYLMxXslq3qRpOss3nRMjHEwjcq+Vf zPP2V5rHIlCuZMq7KeDrp/l5yU2yejYCApFh2RF0OAvPKA1OzZXBANuh+QLcmsMq k2QcU63dIOsds4QvV/tC1JHidIoKjKGOZlarlTFQ0M3HYUCmDYpjEJSBBav5swye IRSArHaTeVdyJhnSUrOwWIMvuWh/YXpL2JCSTEI5v9fl+T6LdFwtSYo36z1106YC z1NQkahaETXRbV6+FnrQBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724683480; x= 1724769880; bh=a/mA1pMeI5U1vqlceZiMk+v1xyeyRI91H2eFYR1i+KU=; b=f vydt6n2yn88d6zR82n08hleGAPtExghZtJSpUffkpCqgSKlvBzJllPkQVIxc2oZb AUkwiJQFqqaVlmbC5XjoD92ZgTV89cYVTlCS2MuCQOuqKS9m7X/WktGa6ZV+BgOg JzMANMiTkFVeGvy7epXDAxiN/6ztIA3OxFaQkSRrNhZdu+kuYVmS1Eg2yoNNDlb/ 8eAMOQxGEKC3gsGT5WcrLX4ro6ykxKH07f0Oyh/r9TP0k7hDmofU75qVH3MnLdBa 8jLOAqaMpd2ojZP6CN9x/dxjWDl/3QUDAxbZ4ELvwb7Y0Uu/p59baNP2rG1TFTjY ecLbNuMBkabHl5UjmGnsQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddvkedgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdej necuhfhrohhmpefpihhklhgrshcuufpnuggvrhhluhhnugcuoehnihhklhgrshdrshhoug gvrhhluhhnugdorhgvnhgvshgrshesrhgrghhnrghtvggthhdrshgvqeenucggtffrrght thgvrhhnpeehiefgueevuedtfefhheegkeevtdelueeukeevfeduhefhhfejfffggeffle efgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehn ihhklhgrshdrshhouggvrhhluhhnugesrhgrghhnrghtvggthhdrshgvpdhnsggprhgtph htthhopedutddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepmhgthhgvhhgrsges khgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhgruhhrvghnthdrphhinhgthhgrrhhtse hiuggvrghsohhnsghorghrugdrtghomhdprhgtphhtthhopehrohgshheskhgvrhhnvghl rdhorhhgpdhrtghpthhtohepkhhriiihshiithhofhdrkhhoiihlohifshhkihdoughtse hlihhnrghrohdrohhrghdprhgtphhtthhopegtohhnohhrodgutheskhgvrhhnvghlrdho rhhgpdhrtghpthhtohepghgvvghrthdorhgvnhgvshgrshesghhlihguvghrrdgsvgdprh gtphhtthhopehlihhnuhigqdhmvgguihgrsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhr tghpthhtohepuggvvhhitggvthhrvggvsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtg hpthhtoheplhhinhhugidqrhgvnhgvshgrshdqshhotgesvhhgvghrrdhkvghrnhgvlhdr ohhrgh X-ME-Proxy: Feedback-ID: i80c9496c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Aug 2024 10:44:39 -0400 (EDT) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Mauro Carvalho Chehab , Laurent Pinchart , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH v2 5/6] dt-bindings: media: renesas,isp: Add binding for V4M Date: Mon, 26 Aug 2024 16:43:51 +0200 Message-ID: <20240826144352.3026980-6-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240826144352.3026980-1-niklas.soderlund+renesas@ragnatech.se> References: <20240826144352.3026980-1-niklas.soderlund+renesas@ragnatech.se> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Document support for the ISP module in the Renesas V4M (r8a779h0) SoC. This device is compatible with the CSISP module on the other Gen4 SoCs. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart Reviewed-by: Geert Uytterhoeven Acked-by: Krzysztof Kozlowski --- * Changes since v1 - Add to commit message that V4M is compatible with other Gen4 SoCs. --- Documentation/devicetree/bindings/media/renesas,isp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/media/renesas,isp.yaml b/Documentation/devicetree/bindings/media/renesas,isp.yaml index 730c86f2d7b1..c4de4555b753 100644 --- a/Documentation/devicetree/bindings/media/renesas,isp.yaml +++ b/Documentation/devicetree/bindings/media/renesas,isp.yaml @@ -22,6 +22,7 @@ properties: - enum: - renesas,r8a779a0-isp # V3U - renesas,r8a779g0-isp # V4H + - renesas,r8a779h0-isp # V4M - const: renesas,rcar-gen4-isp # Generic R-Car Gen4 reg: maxItems: 1 From patchwork Mon Aug 26 14:43:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 13777995 Received: from fhigh2-smtp.messagingengine.com (fhigh2-smtp.messagingengine.com [103.168.172.153]) (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 6C200193089; Mon, 26 Aug 2024 14:44:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.153 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724683485; cv=none; b=RDanBT4/OcgHRweW/RoB80/JSHoVTp/09OpibaiCWkEzAzUDQLBXz23QG/w8l45eUHpSKvObYZrku1Q2izK43pKGBHrL7996Rvdlc8GjIDMYbG6rCgF9SXoAZee0q0jXjstW6Ak39pqsLkI7nClKLsnWU0FeKCgmnIsF+lTCSHA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724683485; c=relaxed/simple; bh=x3pIx0tZnsNu2X1VQ2Kjatp0BgLSNWhWPPMmuyJhDHA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NpDVjWPBBXF59hnny3ITlflzy2VxFYXa86UdSmbRdzWTUGWA2CewjZSFRkPtM/Pr6QBtdD6ig6YTQHgQk9lUGVeaUfq8+HFY5amSYHi8wd/WETiD29zMjSO6rzHN+bBONMdP7awZflkP7AP84/rpvoLzIfckqcCvZd72+6OyUuo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ragnatech.se; spf=pass smtp.mailfrom=ragnatech.se; dkim=pass (2048-bit key) header.d=ragnatech.se header.i=@ragnatech.se header.b=LmNAHm3+; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=M0WxmdTD; arc=none smtp.client-ip=103.168.172.153 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ragnatech.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ragnatech.se Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ragnatech.se header.i=@ragnatech.se header.b="LmNAHm3+"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="M0WxmdTD" Received: from phl-compute-08.internal (phl-compute-08.nyi.internal [10.202.2.48]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 9E0741151B1C; Mon, 26 Aug 2024 10:44:42 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Mon, 26 Aug 2024 10:44:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech.se; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1724683482; x=1724769882; bh=qv8Z4YHfG+TYcyFRDWgQy0o9iy3nI3T0/Vei06MB6HU=; b= LmNAHm3+yjE4KlCp3h4sqe3oq6yqAV6w015hr52qpkkV2Q6Mc9Ho3Kmt7nb5zO2a swi5xPpkOjOFAM18A0lxsv+MJ2WMclp8XdajfkvTUGGhA7ZhJ6Xv7u7DsEK+lTan kAYY8Gt8dGgSn7K+snxFUN3m8E43ih2R4rNPDUaywfGjDCJU1DT2fsk5Gznh97eb mZximaHtQUvHpMwdeAnIKbd0R6TvibkxRLtJa44sFA8+ejN1DgCRlr6/9jkd66Gf V3NCYNebKXDVlSIPE0/OnKhNRmtXbkbzdi9to1CLyIxOuPvD9gGfEuSrW0za+Zb3 Nx8EnHFvDBOqUAhicswdEA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724683482; x= 1724769882; bh=qv8Z4YHfG+TYcyFRDWgQy0o9iy3nI3T0/Vei06MB6HU=; b=M 0WxmdTDYzgTqkXEv/qW6mmSF4q+3Ldp8tTcvoFk/kOpBZmVHNgsgCj2+ihNH4JaZ GpYEN9YoOByfnCMNgI+OVlECFWCWZIRuKaiN92h2qxK4t6TQx8MrAJF3WJxJ9Bl8 h9Bv7szSwsBPIevIy2Q2r+/6TQVHhiSCeCP+DlUi19GwMS4MvCg5ucItlX1mDJSF 0xv1DQES6vFhlDE6YUPZ7eHv7cw0R/pgzd+c6+EGXSPrAdCWrsijoFaOlACbR8Ue VMQIFB5xnTJUBEVF7dL+e9Q4TiWlRAzQdv5GnZ1sZmzYVtJhGTQEuRtBWZe1eirU oopRoEovzXbOf5KFzwW/Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddvkedgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdej necuhfhrohhmpefpihhklhgrshcuufpnuggvrhhluhhnugcuoehnihhklhgrshdrshhoug gvrhhluhhnugdorhgvnhgvshgrshesrhgrghhnrghtvggthhdrshgvqeenucggtffrrght thgvrhhnpeehiefgueevuedtfefhheegkeevtdelueeukeevfeduhefhhfejfffggeffle efgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehn ihhklhgrshdrshhouggvrhhluhhnugesrhgrghhnrghtvggthhdrshgvpdhnsggprhgtph htthhopedutddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepmhgthhgvhhgrsges khgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhgruhhrvghnthdrphhinhgthhgrrhhtse hiuggvrghsohhnsghorghrugdrtghomhdprhgtphhtthhopehrohgshheskhgvrhhnvghl rdhorhhgpdhrtghpthhtohepkhhriiihshiithhofhdrkhhoiihlohifshhkihdoughtse hlihhnrghrohdrohhrghdprhgtphhtthhopegtohhnohhrodgutheskhgvrhhnvghlrdho rhhgpdhrtghpthhtohepghgvvghrthdorhgvnhgvshgrshesghhlihguvghrrdgsvgdprh gtphhtthhopehlihhnuhigqdhmvgguihgrsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhr tghpthhtohepuggvvhhitggvthhrvggvsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtg hpthhtoheplhhinhhugidqrhgvnhgvshgrshdqshhotgesvhhgvghrrdhkvghrnhgvlhdr ohhrgh X-ME-Proxy: Feedback-ID: i80c9496c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Aug 2024 10:44:41 -0400 (EDT) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Mauro Carvalho Chehab , Laurent Pinchart , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH v2 6/6] arm64: dts: renesas: r8a779h0: Add family fallback for CSISP IP Date: Mon, 26 Aug 2024 16:43:52 +0200 Message-ID: <20240826144352.3026980-7-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240826144352.3026980-1-niklas.soderlund+renesas@ragnatech.se> References: <20240826144352.3026980-1-niklas.soderlund+renesas@ragnatech.se> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The usage of the V4M CSISP bindings where merged before the bindings where approved. At that time the family fallback compatible where not part of the bindings, add them. Fixes: 2bb78d9fb7c9 ("arm64: dts: renesas: r8a779h0: Add video capture nodes") Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart Reviewed-by: Geert Uytterhoeven --- * Changes since v1 - New in v2. --- arch/arm64/boot/dts/renesas/r8a779h0.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi index 28ca59e735e5..12d8be3fd579 100644 --- a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi @@ -1829,7 +1829,8 @@ csi41isp1: endpoint { }; isp0: isp@fed00000 { - compatible = "renesas,r8a779h0-isp"; + compatible = "renesas,r8a779h0-isp", + "renesas,rcar-gen4-isp"; reg = <0 0xfed00000 0 0x10000>; interrupts = ; clocks = <&cpg CPG_MOD 612>; @@ -1912,7 +1913,8 @@ isp0vin07: endpoint { }; isp1: isp@fed20000 { - compatible = "renesas,r8a779h0-isp"; + compatible = "renesas,r8a779h0-isp", + "renesas,rcar-gen4-isp"; reg = <0 0xfed20000 0 0x10000>; interrupts = ; clocks = <&cpg CPG_MOD 613>;