[libcamera-devel,v3,4/4] android: nautilus: Add camera HAL configuration
diff mbox series

Message ID 20210730110154.181370-5-umang.jain@ideasonboard.com
State Superseded
Delegated to: Umang Jain
Headers show
Series
  • android: Handle internal UVC cameras
Related show

Commit Message

Umang Jain July 30, 2021, 11:01 a.m. UTC
Nautilus has two in-built cameras, one UVC and one attached to IPU3.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 src/android/data/nautilus/camera_hal.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 src/android/data/nautilus/camera_hal.yaml

Comments

Paul Elder Aug. 2, 2021, 7:07 a.m. UTC | #1
Hi Umang,

On Fri, Jul 30, 2021 at 04:31:54PM +0530, Umang Jain wrote:
> Nautilus has two in-built cameras, one UVC and one attached to IPU3.
> 
> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>

> ---
>  src/android/data/nautilus/camera_hal.yaml | 8 ++++++++
>  1 file changed, 8 insertions(+)
>  create mode 100644 src/android/data/nautilus/camera_hal.yaml
> 
> diff --git a/src/android/data/nautilus/camera_hal.yaml b/src/android/data/nautilus/camera_hal.yaml
> new file mode 100644
> index 00000000..faddd29e
> --- /dev/null
> +++ b/src/android/data/nautilus/camera_hal.yaml
> @@ -0,0 +1,8 @@
> +cameras:
> +  "\\_SB_.PCI0.I2C2.CAM0":
> +    location: back
> +    rotation: 0
> +
> +  "\\_SB_.PCI0.XHCI.RHUB.HS09-9:1.0-04f2:b647":
> +    location: front
> +    rotation: 0
> -- 
> 2.31.0
>

Patch
diff mbox series

diff --git a/src/android/data/nautilus/camera_hal.yaml b/src/android/data/nautilus/camera_hal.yaml
new file mode 100644
index 00000000..faddd29e
--- /dev/null
+++ b/src/android/data/nautilus/camera_hal.yaml
@@ -0,0 +1,8 @@ 
+cameras:
+  "\\_SB_.PCI0.I2C2.CAM0":
+    location: back
+    rotation: 0
+
+  "\\_SB_.PCI0.XHCI.RHUB.HS09-9:1.0-04f2:b647":
+    location: front
+    rotation: 0