Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
realsenseai
/
realsense_mipi_platform_driver
Public
Notifications
You must be signed in to change notification settings
Fork
30
Star
48
Code
Issues
20
Pull requests
19
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Files
Expand file tree
21a5c33bda44f1d070eb0e1aaa7fdc025f47a325
Breadcrumbs
realsense_mipi_platform_driver
/
kernel
/
nvidia
/
5.0.2
/
0016-Add-max9296-GPIO-tunneling-for-the-external-sync-support.patch
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
49 lines (41 loc) · 1.48 KB
21a5c33
Breadcrumbs
realsense_mipi_platform_driver
/
kernel
/
nvidia
/
5.0.2
/
0016-Add-max9296-GPIO-tunneling-for-the-external-sync-support.patch
Copy path
Top
File metadata and controls
Code
Blame
49 lines (41 loc) · 1.48 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
From 02da8355b18c65518c9a181473cbc646cdc84f9f Mon Sep 17 00:00:00 2001
From: ejgoldik <ehud.joseph.goldik@realsenseai.com>
Date: Wed, 25 Mar 2026 09:39:42 +0200
Subject: [PATCH] Add max9296 GPIO tunneling for the external sync support
Signed-off-by: ejgoldik <ehud.joseph.goldik@realsenseai.com>
---
drivers/media/i2c/max9296.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/media/i2c/max9296.c b/drivers/media/i2c/max9296.c
index 87f9dcf7a..829657bca 100644
--- a/drivers/media/i2c/max9296.c
+++ b/drivers/media/i2c/max9296.c
@@ -26,6 +26,10 @@
#include <media/max9296.h>
/* register specifics */
+
#define MAX9296_2C5_ADDR 0x2C5
+
#define MAX9296_2C6_ADDR 0x2C6
+
#define MAX9296_2C7_ADDR 0x2C7
+
#define MAX9296_DST_CSI_MODE_ADDR 0x330
#define MAX9296_LANE_MAP1_ADDR 0x333
#define MAX9296_LANE_MAP2_ADDR 0x334
@@ -54,6 +58,10 @@
#define MAX9296_CTRL0_ADDR 0x10
/* data defines */
+
#define MAX9296_2C5_ESYNC 0xAA
+
#define MAX9296_2C6_ESYNC 0x17
+
#define MAX9296_2C7_ESYNC 0x47
+
#define MAX9296_CSI_MODE_4X2 0x1
#define MAX9296_CSI_MODE_2X4 0x4
#define MAX9296_LANE_MAP1_4X2 0x44
@@ -364,6 +372,9 @@
int max9296_setup_control(struct device *dev, struct device *s_dev)
max9296_write_reg(dev,
MAX9296_PWDN_PHYS_ADDR, MAX9296_ALLPHYS_NOSTDBY);
+
max9296_write_reg(dev, MAX9296_2C5_ADDR, MAX9296_2C5_ESYNC);
+
max9296_write_reg(dev, MAX9296_2C6_ADDR, MAX9296_2C6_ESYNC);
+
max9296_write_reg(dev, MAX9296_2C7_ADDR, MAX9296_2C7_ESYNC);
priv->sdev_ref++;
-
-
2.43.0
You can’t perform that action at this time.