lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240220-am62p_csi-v2-0-3e71d9945571@ti.com>
Date: Tue, 20 Feb 2024 11:48:01 +0530
From: Jai Luthra <j-luthra@...com>
To: Nishanth Menon <nm@...com>, Vignesh Raghavendra <vigneshr@...com>,
        Tero
 Kristo <kristo@...nel.org>, Rob Herring <robh+dt@...nel.org>,
        Krzysztof
 Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        Conor Dooley
	<conor+dt@...nel.org>, Andrew Davis <afd@...com>,
        Bryan Brattlof <bb@...com>, Dhruva Gole <d-gole@...com>
CC: <linux-arm-kernel@...ts.infradead.org>, <devicetree@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, Vaishnav Achath <vaishnav.a@...com>,
        Devarsh
 Thakkar <devarsht@...com>, Aradhya Bhatia <a-bhatia1@...com>,
        Jai Luthra
	<j-luthra@...com>
Subject: [PATCH v2 0/4] arm64: dts: ti: Enable camera for SK-AM62P

This series enables support for camera sensors using CSI-RX ports on
AM62P family of SoCs.

Particularly, it enables OV5640 and IMX219 sensors via the 22-pin FFC
CSI-RX connector on SK-AM62P [1] using the existing common overlays for
SK-AM62* family of boards.

Capture test:
https://gist.github.com/jailuthra/11f3383ccc0902b9db90d806222597a3

[1]: https://www.ti.com/tool/SK-AM62P-LP

Signed-off-by: Jai Luthra <j-luthra@...com>
---
Changes in v2:
- Rebase on top of ti-k3-dts-next
- Fix commit description of PATCH 3/4 to specify we are keeping the nodes
  disabled
- Link to v1: https://lore.kernel.org/r/20240201-am62p_csi-v1-0-c83bb9eaeb49@ti.com

Range-diff from v1:

1:  646c0b26cee4 ! 1:  61c395edcfd3 arm64: dts: ti: k3-am62p: Fix memory ranges for DMSS
    @@ Commit message
         to enable programming the interrupts correctly.

         Fixes: 29075cc09f43 ("arm64: dts: ti: Introduce AM62P5 family of SoCs")
    +    Reviewed-by: Vaishnav Achath <vaishnav.a@...com>
         Signed-off-by: Jai Luthra <j-luthra@...com>

      ## arch/arm64/boot/dts/ti/k3-am62p.dtsi ##
2:  5d6c41db44e3 ! 2:  2720ce668bf9 arm64: dts: ti: k3-am62p: Add DMASS1 for CSI
    @@ Commit message
         On AM62P, CSI-RX uses a dedicated BCDMA instance (DMASS1) for
         transferring captured camera frames to DDR, so enable it.

    +    Reviewed-by: Vaishnav Achath <vaishnav.a@...com>
         Signed-off-by: Jai Luthra <j-luthra@...com>

      ## arch/arm64/boot/dts/ti/k3-am62p-main.dtsi ##
3:  2896237c1ad1 ! 3:  9853acf0bc6f arm64: dts: ti: k3-am62p: Add nodes for CSI-RX
    @@ Commit message

         AM62P supports image capture via the MIPI CSI-2 protocol, it uses three
         IPs to achieve this: Cadence DPHY, Cadence CSI-RX, and TI's pixelgrabber
    -    wrapper on top. Enable all of these IPs in the devicetree.
    +    wrapper on top. Add nodes for these IPs in the devicetree, and keep them
    +    disabled here, so these may be enabled by the sensor overlays.

    +    Reviewed-by: Vaishnav Achath <vaishnav.a@...com>
         Signed-off-by: Jai Luthra <j-luthra@...com>

      ## arch/arm64/boot/dts/ti/k3-am62p-main.dtsi ##
4:  7a82f73e345d < -:  ------------ arm64: dts: ti: Enable overlays for SK-AM62P
-:  ------------ > 4:  1a5e859dec12 arm64: dts: ti: Enable overlays for SK-AM62P

---
Jai Luthra (4):
      arm64: dts: ti: k3-am62p: Fix memory ranges for DMSS
      arm64: dts: ti: k3-am62p: Add DMASS1 for CSI
      arm64: dts: ti: k3-am62p: Add nodes for CSI-RX
      arm64: dts: ti: Enable overlays for SK-AM62P

 arch/arm64/boot/dts/ti/Makefile           | 10 ++++
 arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 98 +++++++++++++++++++++++++++++++
 arch/arm64/boot/dts/ti/k3-am62p.dtsi      |  2 +-
 3 files changed, 109 insertions(+), 1 deletion(-)
---
base-commit: 0f9eb43f009091501dd0c68232aa6530ba0e0185
change-id: 20240201-am62p_csi-b69d172406ca

Best regards,
-- 
Jai Luthra <j-luthra@...com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ