-
Notifications
You must be signed in to change notification settings - Fork 5.4k
edatec Open Source HMI for 7 inches panel driver #7361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
spp-bruk
wants to merge
1
commit into
raspberrypi:rpi-6.18.y
Choose a base branch
from
edatec:edatec_7
base: rpi-6.18.y
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
107 changes: 107 additions & 0 deletions
107
arch/arm/boot/dts/overlays/vc4-kms-dsi-edatec-panel-070c-overlay.dts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,107 @@ | ||
| /dts-v1/; | ||
| /plugin/; | ||
|
|
||
| / { | ||
| compatible = "brcm,bcm2835"; | ||
|
|
||
| i2c_frag: fragment@0 { | ||
| target = <&i2c_csi_dsi>; | ||
| __overlay__ { | ||
| #gpio-cells = <2>; | ||
| #address-cells = <1>; | ||
| #size-cells = <0>; | ||
| status = "okay"; | ||
|
|
||
| reg_display: reg_display@27 { | ||
| reg = <0x27>; | ||
| compatible = "rzw,t70p383rk-v2"; | ||
|
|
||
| gpio-controller; | ||
| #gpio-cells = <2>; | ||
|
|
||
| port { | ||
| panel_in: endpoint { | ||
| remote-endpoint = <&dsi_out>; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| gt911: gt911@14 { | ||
| compatible = "goodix,gt911"; | ||
| reg = <0x14>; | ||
| pinctrl-names = "default"; | ||
| pinctrl-0 = <>911_pins>; | ||
|
|
||
| reset-gpios = <®_display 3 0>; | ||
| interrupt-parent = <&gpio>; | ||
| interrupts = <2 2>; | ||
| irq-gpios = <&gpio 2 0>; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| fragment@1 { | ||
| target = <&dsi1>; | ||
| __overlay__ { | ||
| status = "okay"; | ||
| port { | ||
| dsi_out: endpoint { | ||
| remote-endpoint = <&panel_in>; | ||
| }; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| fragment@2 { | ||
| target = <&i2c0if>; | ||
| __overlay__ { | ||
| status = "okay"; | ||
| }; | ||
| }; | ||
|
|
||
| fragment@3 { | ||
| target = <&i2c0mux>; | ||
| __overlay__ { | ||
| status = "okay"; | ||
| }; | ||
| }; | ||
|
|
||
| fragment@4 { | ||
| target = <&i2c1>; | ||
| __dormant__ { | ||
| status = "okay"; | ||
| }; | ||
| }; | ||
|
|
||
| fragment@5 { | ||
| target = <&gpio>; | ||
| __overlay__ { | ||
| gt911_pins: gt911_pins { | ||
| brcm,pins = <2>; | ||
| brcm,function = <0>; | ||
| brcm,pull = <2>; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| fragment@6 { | ||
| target = <®_display>; | ||
| __dormant__ { | ||
| compatible = "rzw,t70p383rk-lite"; | ||
| }; | ||
| }; | ||
|
|
||
| __overrides__ { | ||
| i2c1 = <&i2c_frag>, "target:0=",<&i2c1>, | ||
| <0>,"-2-3+4"; | ||
| interrupt = <>911_pins>,"brcm,pins:0", | ||
| <>911>,"interrupts:0", | ||
| <>911>,"irq-gpios:4"; | ||
|
|
||
| pi4 = <&i2c_frag>, "target:0=",<&i2c_csi_dsi>; | ||
| cm4 = <&i2c_frag>, "target:0=",<&i2c_csi_dsi>; | ||
| pi5 = <&i2c_frag>, "target:0=",<&i2c_csi_dsi>; | ||
| cm5 = <&i2c_frag>, "target:0=",<&i2c_csi_dsi0>; | ||
| cm0 = <&i2c_frag>, "target:0=",<&i2c_csi_dsi>,<0>, "+6"; | ||
| }; | ||
| }; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,182 @@ | ||
| # CONFIG_LOCALVERSION_AUTO is not set | ||
| CONFIG_SYSVIPC=y | ||
| CONFIG_NO_HZ_IDLE=y | ||
| CONFIG_HIGH_RES_TIMERS=y | ||
| CONFIG_PREEMPT_VOLUNTARY=y | ||
| CONFIG_BSD_PROCESS_ACCT=y | ||
| CONFIG_BSD_PROCESS_ACCT_V3=y | ||
| CONFIG_LOG_BUF_SHIFT=18 | ||
| CONFIG_CFS_BANDWIDTH=y | ||
| CONFIG_CGROUP_FREEZER=y | ||
| CONFIG_CGROUP_DEVICE=y | ||
| CONFIG_CGROUP_CPUACCT=y | ||
| CONFIG_CGROUP_PERF=y | ||
| CONFIG_NAMESPACES=y | ||
| CONFIG_SCHED_AUTOGROUP=y | ||
| CONFIG_RELAY=y | ||
| CONFIG_BLK_DEV_INITRD=y | ||
| CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
| CONFIG_EXPERT=y | ||
| CONFIG_KALLSYMS_ALL=y | ||
| CONFIG_PROFILING=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_ARCH_MULTI_V6=y | ||
| CONFIG_ARCH_BCM=y | ||
| CONFIG_ARCH_BCM2835=y | ||
| CONFIG_CPU_FREQ=y | ||
| CONFIG_CPU_FREQ_STAT=y | ||
| CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y | ||
| CONFIG_CPU_FREQ_GOV_POWERSAVE=y | ||
| CONFIG_CPU_FREQ_GOV_USERSPACE=y | ||
| CONFIG_CPU_FREQ_GOV_ONDEMAND=y | ||
| CONFIG_CPUFREQ_DT=y | ||
| CONFIG_ARM_RASPBERRYPI_CPUFREQ=y | ||
| CONFIG_VFP=y | ||
| # CONFIG_SUSPEND is not set | ||
| CONFIG_PM=y | ||
| CONFIG_JUMP_LABEL=y | ||
| CONFIG_MODULES=y | ||
| CONFIG_MODULE_UNLOAD=y | ||
| # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
| # CONFIG_COMPAT_BRK is not set | ||
| CONFIG_KSM=y | ||
| CONFIG_CMA=y | ||
| CONFIG_NET=y | ||
| CONFIG_PACKET=y | ||
| CONFIG_UNIX=y | ||
| CONFIG_INET=y | ||
| CONFIG_IP_PNP=y | ||
| CONFIG_IP_PNP_DHCP=y | ||
| CONFIG_NETWORK_SECMARK=y | ||
| CONFIG_NETFILTER=y | ||
| CONFIG_BT=y | ||
| CONFIG_BT_HCIUART=m | ||
| CONFIG_BT_HCIUART_BCM=y | ||
| CONFIG_CFG80211=y | ||
| CONFIG_MAC80211=y | ||
| CONFIG_DEVTMPFS=y | ||
| CONFIG_DEVTMPFS_MOUNT=y | ||
| # CONFIG_STANDALONE is not set | ||
| CONFIG_RASPBERRYPI_FIRMWARE=y | ||
| CONFIG_SCSI=y | ||
| CONFIG_BLK_DEV_SD=y | ||
| CONFIG_SCSI_CONSTANTS=y | ||
| CONFIG_SCSI_SCAN_ASYNC=y | ||
| CONFIG_NETDEVICES=y | ||
| CONFIG_BCMGENET=y | ||
| CONFIG_USB_LAN78XX=y | ||
| CONFIG_USB_USBNET=y | ||
| CONFIG_USB_NET_SMSC95XX=y | ||
| CONFIG_BRCMFMAC=m | ||
| CONFIG_ZD1211RW=y | ||
| CONFIG_INPUT_EVDEV=y | ||
| # CONFIG_LEGACY_PTYS is not set | ||
| CONFIG_SERIAL_8250=y | ||
| CONFIG_SERIAL_8250_CONSOLE=y | ||
| CONFIG_SERIAL_8250_EXTENDED=y | ||
| CONFIG_SERIAL_8250_SHARE_IRQ=y | ||
| CONFIG_SERIAL_8250_BCM2835AUX=y | ||
| CONFIG_SERIAL_AMBA_PL011=y | ||
| CONFIG_SERIAL_AMBA_PL011_CONSOLE=y | ||
| CONFIG_SERIAL_DEV_BUS=y | ||
| CONFIG_TTY_PRINTK=y | ||
| CONFIG_I2C_CHARDEV=y | ||
| CONFIG_I2C_BCM2835=y | ||
| CONFIG_SPI=y | ||
| CONFIG_SPI_BCM2835=y | ||
| CONFIG_SPI_BCM2835AUX=y | ||
| CONFIG_GPIO_SYSFS=y | ||
| CONFIG_SENSORS_RASPBERRYPI_HWMON=m | ||
| CONFIG_THERMAL=y | ||
| CONFIG_BCM2711_THERMAL=y | ||
| CONFIG_BCM2835_THERMAL=y | ||
| CONFIG_WATCHDOG=y | ||
| CONFIG_BCM2835_WDT=y | ||
| CONFIG_REGULATOR=y | ||
| CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
| CONFIG_REGULATOR_GPIO=y | ||
| CONFIG_MEDIA_SUPPORT=y | ||
| CONFIG_DRM=y | ||
| CONFIG_DRM_SIMPLEDRM=y | ||
| CONFIG_DRM_PANEL_EDATEC_7INCH=m | ||
| CONFIG_DRM_V3D=y | ||
| CONFIG_DRM_VC4=y | ||
| CONFIG_FB=y | ||
| CONFIG_BACKLIGHT_CLASS_DEVICE=m | ||
| CONFIG_SOUND=y | ||
| CONFIG_SND=y | ||
| CONFIG_SND_SOC=y | ||
| CONFIG_SND_BCM2835_SOC_I2S=y | ||
| CONFIG_USB=y | ||
| CONFIG_USB_OTG=y | ||
| CONFIG_USB_STORAGE=y | ||
| CONFIG_USB_DWC2=y | ||
| CONFIG_NOP_USB_XCEIV=y | ||
| CONFIG_USB_GADGET=y | ||
| CONFIG_USB_ETH=m | ||
| CONFIG_USB_ETH_EEM=y | ||
| CONFIG_USB_G_SERIAL=m | ||
| CONFIG_MMC=y | ||
| CONFIG_MMC_SDHCI=y | ||
| CONFIG_MMC_SDHCI_PLTFM=y | ||
| CONFIG_MMC_SDHCI_IPROC=y | ||
| CONFIG_MMC_BCM2835=y | ||
| CONFIG_NEW_LEDS=y | ||
| CONFIG_LEDS_CLASS=y | ||
| CONFIG_LEDS_GPIO=y | ||
| CONFIG_LEDS_TRIGGERS=y | ||
| CONFIG_LEDS_TRIGGER_TIMER=y | ||
| CONFIG_LEDS_TRIGGER_ONESHOT=y | ||
| CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
| CONFIG_LEDS_TRIGGER_CPU=y | ||
| CONFIG_LEDS_TRIGGER_GPIO=y | ||
| CONFIG_LEDS_TRIGGER_DEFAULT_ON=y | ||
| CONFIG_LEDS_TRIGGER_TRANSIENT=y | ||
| CONFIG_LEDS_TRIGGER_CAMERA=y | ||
| CONFIG_DMADEVICES=y | ||
| CONFIG_DMA_BCM2835=y | ||
| CONFIG_STAGING=y | ||
| CONFIG_SND_BCM2835=m | ||
| CONFIG_VIDEO_BCM2835=m | ||
| CONFIG_CLK_RASPBERRYPI=y | ||
| CONFIG_MAILBOX=y | ||
| CONFIG_BCM2835_MBOX=y | ||
| # CONFIG_IOMMU_SUPPORT is not set | ||
| CONFIG_RASPBERRYPI_POWER=y | ||
| CONFIG_PWM=y | ||
| CONFIG_PWM_BCM2835=y | ||
| CONFIG_EXT2_FS=y | ||
| CONFIG_EXT2_FS_XATTR=y | ||
| CONFIG_EXT2_FS_POSIX_ACL=y | ||
| CONFIG_EXT4_FS=y | ||
| CONFIG_EXT4_FS_POSIX_ACL=y | ||
| CONFIG_FANOTIFY=y | ||
| CONFIG_MSDOS_FS=y | ||
| CONFIG_VFAT_FS=y | ||
| CONFIG_TMPFS=y | ||
| CONFIG_TMPFS_POSIX_ACL=y | ||
| # CONFIG_MISC_FILESYSTEMS is not set | ||
| CONFIG_NFS_FS=y | ||
| CONFIG_ROOT_NFS=y | ||
| CONFIG_NFSD=y | ||
| CONFIG_NLS_CODEPAGE_437=y | ||
| CONFIG_NLS_ASCII=y | ||
| CONFIG_NLS_ISO8859_1=y | ||
| CONFIG_NLS_UTF8=y | ||
| # CONFIG_XZ_DEC_ARM is not set | ||
| # CONFIG_XZ_DEC_ARMTHUMB is not set | ||
| CONFIG_DMA_CMA=y | ||
| CONFIG_CMA_SIZE_MBYTES=32 | ||
| CONFIG_PRINTK_TIME=y | ||
| CONFIG_BOOT_PRINTK_DELAY=y | ||
| CONFIG_DYNAMIC_DEBUG=y | ||
| CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y | ||
| CONFIG_DEBUG_FS=y | ||
| CONFIG_KGDB=y | ||
| CONFIG_KGDB_KDB=y | ||
| CONFIG_DEBUG_MEMORY_INIT=y | ||
| CONFIG_FUNCTION_PROFILER=y | ||
| CONFIG_STACK_TRACER=y | ||
| CONFIG_SCHED_TRACER=y | ||
| CONFIG_STRICT_DEVMEM=y | ||
| CONFIG_TEST_KSTRTOX=y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2c_frag target defaults to i2c_csi_dsi, so why do we need the
pi4,cm4andpi5overrides? Just document that the defaults work for those platforms?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i will ask former colleague . if this is any other use, i will delete them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i asked former colleague, he tell me that : our product support multiple platforms PI4/CM4 PI5/CM5 CM0 ,we put them in one dts config