Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
208 commits
Select commit Hold shift + click to select a range
bae242f
[DEBUG] usb: typec: tcpm: also log to dmesg
sre Apr 4, 2025
4daa2ed
[DEBUG] usb: typec: fusb302: also log to dmesg
sre Jul 1, 2025
39da597
math.h: add DIV_ROUND_UP_NO_OVERFLOW
sre Oct 24, 2023
1507c05
clk: divider: Fix divisor masking on 64 bit platforms
sre Oct 24, 2023
a0541ce
clk: composite: replace open-coded abs_diff()
sre Oct 24, 2023
8e8a84a
arm64: dts: rockchip: rk3588-evb1: add bluetooth rfkill
sre Jan 2, 2024
a12ac66
arm64: dts: rockchip: rk3588-evb1: improve PCIe ethernet pin muxing
sre Jan 2, 2024
0d3206b
arm64: dts: rockchip: Slow down EMMC a bit to keep IO stable
rastermann Feb 6, 2024
b9ec399
mfd: rk8xx: Fix shutdown handler
sre Jul 25, 2024
4cbbae3
dt-bindings: display: vop2: Add VP clock resets
cazou Nov 15, 2024
e323ece
drm/rockchip: vop2: Add clock resets support
cazou Nov 15, 2024
270f0aa
arm64: dts: rockchip: Add VOP clock resets for rk3588s
cazou Nov 15, 2024
3e76b9d
arm64: dts: rockchip: rk3588-evb1: add DSI panel
sre Nov 8, 2024
3407a00
drm/rockchip: vop2: Add core reset support
sre Nov 14, 2024
d857639
arm64: dts: rockchip: Fix USB-C description for RK3588 EVB1
sre Jul 29, 2025
82cf52a
arm64: dts: rockchip: enable camera I2C interfaces for ROCK 5B family
sre Mar 15, 2025
c8c5df8
phy: rockchip: inno-usb2: add soft vbusvalid control
Jun 10, 2025
5ef53d1
dt-bindings: input: adc-keys: allow linux,input-type property
Jun 30, 2025
c2b39c6
Input: adc-keys - support types that aren't just keyboard keys
Jun 30, 2025
be3c285
arm64: dts: rockchip: add analog audio to ROCK 4D
Jun 30, 2025
32eb12e
net: phy: realtek: Reset after clock enable
sre Jul 2, 2025
6091327
arm64: dts: rockchip: use MAC TX delay for ROCK 4D
sre Jul 8, 2025
7d23606
PCI: dw-rockchip: Fix LTSSM set functions
sre Nov 21, 2025
33f9717
PCI: dw-rockchip: Restore vpcie3v3 regulator handle
sre Dec 22, 2025
5df82b5
PCI: dw-rockchip: Move devm_phy_get out of phy_init
sre Oct 20, 2025
54472be
PCI: dw-rockchip: Add helper function for enhanced LTSSM control mode
sre Oct 20, 2025
27980ca
PCI: dw-rockchip: Add helper function for controller mode
sre Oct 20, 2025
e43018b
PCI: dw-rockchip: Add helper function for DDL indicator
sre Oct 20, 2025
483e925
PCI: dw-rockchip: Add pme_turn_off support
sre Oct 20, 2025
706129f
PCI: dw-rockchip: Add system PM support
sre Oct 20, 2025
78cf300
[RFC] PCI: dw-rockchip: port some suspend code from vendor kernel
sre Nov 24, 2025
03df8f6
dt-bindings: phy: rockchip-usbdp: add improved ports scheme
sre Aug 22, 2025
6336277
phy: rockchip: usbdp: Do not loose USB3 PHY status
sre Feb 12, 2026
e467c0f
phy: rockchip: usbdp: Keep clocks running on PHY re-init
sre Feb 5, 2026
9250229
phy: rockchip: usbdp: Amend SSC modulation deviation
Jan 16, 2026
9ac07c6
phy: rockchip: usbdp: Fix LFPS detect threshold control
wuliangfeng Jan 16, 2026
90e1e42
phy: rockchip: usbdp: Add missing mode_change update
sre Jan 29, 2026
d0f601b
phy: rockchip: usbdp: Support single-lane DP
Jan 29, 2026
c6c5ab8
phy: rockchip: usbdp: Rename DP lane functions
sre Jan 29, 2026
f149092
phy: rockchip: usbdp: Use FIELD_PREP_WM16_CONST
sre Jan 29, 2026
899ba9c
phy: rockchip: usbdp: Cleanup DP lane selection function
sre Jan 29, 2026
664d3cb
phy: rockchip: usbdp: Register DP aux bridge
sre Mar 5, 2026
8390f57
phy: rockchip: usbdp: Drop DP HPD handling
sre Mar 4, 2026
09a5306
phy: rockchip: usbdp: Rename mode_change to phy_needs_reinit
sre Apr 24, 2026
e9e88ad
phy: rockchip: usbdp: Re-init the PHY on orientation change
sre Apr 24, 2026
fe07af1
phy: rockchip: usbdp: Factor out lane_mux_sel setup
sre Apr 24, 2026
9320448
phy: rockchip: usbdp: Use guard functions for mutex
sre Apr 24, 2026
da8d37d
arm64: dts: rockchip: add USB-C DP AltMode for ROCK 5B family
sre Jul 28, 2025
863904f
media: dt-bindings: add rockchip rk3588 vicap
Sep 1, 2025
13c736d
media: rockchip: rkcif: add support for rk3588 vicap
Sep 1, 2025
a8beb0c
media: dt-bindings: rockchip csi-2: Add RK3588 support
Feb 16, 2026
d810a5a
arm64: dts: rockchip: add mipi csi-2 receiver node to rk356x
mriesch-wv Sep 1, 2025
0ec3522
arm64: dts: rockchip: add mipi csi-2 receiver nodes to rk3588
Sep 1, 2025
1d7cd64
arm64: dts: rockchip: add vicap node to rk3588
Sep 1, 2025
462b2ae
arm64: dts: rockchip: use correct pinctrl for i2c3 on rock 5b family
Sep 1, 2025
69667c1
arm64: dts: rockchip: add radxa camera 4k on rock 5b+ cam0
Sep 1, 2025
f55d921
arm64: dts: rockchip: add radxa camera 4k on rock 5b+ cam1
Sep 1, 2025
f55c7c7
[HACK] disable mipi hosts that are attached to csi dcphy
Sep 1, 2025
f17c875
arm64: dts: rockchip: add missing UFS regulators to ROCK 4D
sre Oct 8, 2025
07e9863
net: phy: realtek: re-init after reset
sre Nov 6, 2025
1bb7d30
arm64: dts: rockchip: Enable ALDPS on both network interfaces of RK35…
sre Nov 5, 2025
35c5f76
arm64: defconfig: enable Rockchip VDEC
sre Jan 10, 2026
4818dc2
dt-bindings: iommu: verisilicon: Add binding for VSI IOMMU
Apr 15, 2026
3f30893
iommu: Add verisilicon IOMMU driver
Apr 15, 2026
660ccf5
arm64: dts: rockchip: Add verisilicon IOMMU node on RK3588
Apr 15, 2026
2c7b348
arm64: defconfig: enable Verisilicon IOMMU for Rockchip RK3588
Apr 15, 2026
fb911d3
[WIP] arm64: dts: rockchip: add USB-C DP AltMode for ArmSom Sige5
Jan 9, 2026
0624fab
PCI: dw-rockchip: Add phy_calibrate() to check PHY lock status
shawn1221 Dec 24, 2025
70805cf
phy: rockchip-snps-pcie3: Add phy_calibrate() support
shawn1221 Dec 24, 2025
5a16745
phy: rockchip-snps-pcie3: Increase sram init timeout
shawn1221 Dec 24, 2025
455392f
phy: rockchip-snps-pcie3: Check more sram init status for RK3588
shawn1221 Dec 24, 2025
d4fa635
phy: rockchip-snps-pcie3: Only check PHY1 status when using it
shawn1221 Dec 24, 2025
3acabda
mmc: sdhci-of-dwcmshc: Reduce clock reduction print level
sre Jan 19, 2026
ed681ea
drm/rockchip: dw_dp: Switch to drmm_kzalloc()
cristicc Jan 21, 2026
47a339e
drm/rockchip: dw_dp: Fix null-ptr-deref in dw_dp_remove()
cristicc Jan 21, 2026
a8e475d
drm/rockchip: dw_hdmi_qp: Switch to drmm_encoder_init()
cristicc Jan 20, 2026
b91981c
thermal/drivers/rockchip: Shut up eFuse prober defer warning
sre Jan 22, 2026
ac676c0
media: synopsys: hdmirx: Fix HPD hold time
digetx Mar 18, 2026
7a4e22f
[RFC] drm/rockchip: vop2: Add clock rate mode check
sre Jan 29, 2026
d29a4c2
[WIP] arm64: dts: rockchip: disable command queue engine for Sige5
sre Mar 17, 2026
374883e
usb: typec: tcpm: Also use SNK_WAIT_CAPABILITIES_TIMEOUT for vbus_nev…
sre Mar 2, 2026
7c6d8c3
usb: typec: tcpm: log when VDM AMS state machine is cancelled
sre Mar 24, 2026
1d5b427
phy: rockchip: samsung-hdptx: Fix rate recalculation for high bpc
cristicc Feb 27, 2026
ce71153
phy: rockchip: samsung-hdptx: Handle uncommitted PHY config changes
cristicc Feb 27, 2026
f4e1730
phy: rockchip: samsung-hdptx: Drop TMDS rate setup workaround
cristicc Feb 27, 2026
97aa423
phy: rockchip: samsung-hdptx: Drop restrict_rate_change handling
cristicc Feb 27, 2026
4395258
phy: rockchip: samsung-hdptx: Simplify GRF access with FIELD_PREP_WM16()
cristicc Feb 27, 2026
94db56c
phy: rockchip: samsung-hdptx: Consistently use bitfield macros
cristicc Feb 27, 2026
70414f9
[DEBUG] phy: rockchip: samsung-hdptx: Add verbose logging
cristicc Feb 17, 2026
7f575d2
drm/rockchip: dw_dp: Simplify error handling
cristicc Jan 21, 2026
b80069f
drm/bridge: synopsys: dw-dp: Support unregistering the AUX channel
cristicc Mar 27, 2026
9fc003f
drm/rockchip: dw_dp: Release core resources
cristicc Mar 27, 2026
7f13937
drm/bridge: synopsys: dw-dp: Drop useless memory allocation
cristicc Mar 9, 2026
0e4b360
[DEBUG] usb: typec: altmode/displayport: print message on probe error
sre Mar 17, 2026
f5d66a6
drm/bridge: synopsys: dw-dp: Simplify driver data setting
sre Feb 19, 2026
7694da6
drm/bridge: synopsys: dw-dp: Support MEDIA_BUS_FMT_FIXED
sre Mar 6, 2026
3e9e728
drm/bridge: synopsys: dw-dp: Add follow-up bridge support
sre Mar 5, 2026
f352c16
drm/bridge: Add out-of-band HPD notify handler
sre Feb 26, 2026
452c6dc
drm/bridge: synopsys: dw-dp: Support software triggered OOB HPD
sre Mar 4, 2026
ed5ee1e
drm/rockchip: dw_dp: Implement out-of-band HPD handling
sre Mar 4, 2026
15e6fd0
drm/bridge: synopsys: dw-dp: Add audio support
sre Jan 21, 2026
5373308
drm/bridge: synopsys: dw-dp: Add Runtime PM support
sre Mar 19, 2026
43f494e
drm/rockchip: dw_dp: Add runtime PM support
sre Mar 19, 2026
49f0c61
[RFC] dt-bindings: display: rockchip: dw-dp: fix sound DAI cells
sre Jan 23, 2026
a3cd3f2
arm64: dts: rockchip: Add DP sound support to RK3576 device tree
sre Jan 21, 2026
4f58ff3
arm64: dts: rockchip: Add DP audio for ArmSom Sige5
sre Jan 21, 2026
05f7ad3
arm64: dts: rockchip: Fix DP sound-dai-cells on RK3588
sre Feb 12, 2026
93dbccb
usb: typec: tcpm: add device managed port registration
sre Apr 21, 2026
e31237d
usb: typec: fusb302: Switch to device managed resources
sre Apr 21, 2026
fc9139a
usb: typec: fusb302: rename init_gpio into fusb302_init_irq
sre Apr 21, 2026
2ded126
usb: typec: fusb302: move gpio_int_n into function local scope
sre Apr 21, 2026
93ce718
usb: typec: fusb302: rework gpio_int_n_irq handling
sre Apr 21, 2026
7ad03b8
usb: typec: fusb302: drop custom gpio interrupt logic
sre Apr 21, 2026
6326472
phy: hdmi: Add optional FRL TxFFE config options
cristicc Mar 17, 2026
9a3f154
phy: rockchip: samsung-hdptx: Add support for FRL TxFFE level control
cristicc Mar 17, 2026
87be3ca
[WIP-update-fixes] phy: rockchip: samsung-hdptx: Handle PHY config af…
cristicc Apr 10, 2026
4553798
[DEBUG] drm/rockchip: vop2: Log DCLK setup
cristicc Mar 2, 2025
5eacf36
drm/bridge: Remove redundant error check in drm_bridge_helper_reset_c…
cristicc Apr 21, 2026
566ddb3
drm/bridge: Add detect_ctx hook and drm_bridge_detect_ctx() helper
cristicc Jan 10, 2025
adae1e6
drm/bridge-connector: Use cached connector status in .get_modes()
cristicc Apr 21, 2026
c85969b
drm/bridge-connector: Switch to .detect_ctx() for connector detection
cristicc Jan 10, 2025
c2a5b26
drm/bridge: dw-hdmi-qp: Add HDMI 2.0 SCDC scrambling and high TMDS cl…
cristicc Sep 13, 2024
545ca98
dt-bindings: pwm: Add a new binding for rockchip,rk3576-pwm
Apr 20, 2026
06ed0b3
mfd: Add Rockchip mfpwm driver
Apr 20, 2026
20eccbd
pwm: Add rockchip PWMv4 driver
Apr 20, 2026
101bd25
counter: Add rockchip-pwm-capture driver
Apr 20, 2026
82deda7
arm64: dts: rockchip: add PWM nodes to RK3576 SoC dtsi
Apr 20, 2026
49b4782
arm64: dts: rockchip: Add cooling fan to ROCK 4D
Apr 20, 2026
27a57b0
drm/bridge: dw-hdmi-qp: Rate limit i2c read error messages
cristicc Apr 21, 2026
83672cc
drm/rockchip: dw_hdmi_qp: Add missing newlines in dev_err_probe() mes…
cristicc Apr 21, 2026
b57340d
drm/rockchip: dw_hdmi_qp: Use local dev variable consistently in bind()
cristicc Apr 21, 2026
67ef4dc
drm/rockchip: dw_hdmi_qp: Register HPD IRQ after connector setup
cristicc Apr 20, 2026
c7cb2ee
drm/rockchip: dw_hdmi_qp: Restrict HPD event to the affected connector
cristicc Apr 20, 2026
84abad5
drm/display: scdc: Convert bit-field macros to use BIT()
cristicc Mar 12, 2026
afc2c67
drm/display: scdc: Add HDMI 2.1 FRL register definitions
cristicc Mar 12, 2026
1fbebe9
drm/display: scdc-helper: Add FRL link training control functions
cristicc Mar 28, 2026
da34a9a
drm/display: hdmi: Provide hook for HDMI 2.1 FRL mode validation
cristicc Mar 24, 2026
7dd6ee4
drm/display: bridge-connector: Wire up rate validation for HDMI 2.1 b…
cristicc Mar 24, 2026
af622c9
drm/rockchip: vop2: Scale ACLK rate up for RK3588 FRL display modes
cristicc Apr 7, 2026
d6ded83
drm/rockchip: dw_hdmi_qp: Consolidate link config into dedicated struct
cristicc Mar 31, 2026
a6e733a
drm/bridge: dw-hdmi-qp: Log resolution and refresh rate in atomic_ena…
cristicc Feb 3, 2026
923622d
drm/bridge: dw-hdmi-qp: Replace sentinel entries with ARRAY_SIZE() it…
cristicc Mar 17, 2026
0b173f5
drm/bridge: dw-hdmi-qp: Add HDMI 2.1 FRL support
cristicc Apr 6, 2026
924e850
drm/bridge: dw-hdmi-qp: Add TxFFE level control support
cristicc Apr 7, 2026
1acbe0f
drm/rockchip: dw_hdmi_qp: Wire up FRL operating mode
cristicc Apr 6, 2026
8133d7c
drm/rockchip: dw_hdmi_qp: Wire up TxFFE level adjustment
cristicc Apr 6, 2026
d9bcaeb
drm/rockchip: Select SND_SOC_HDMI_CODEC for ROCKCHIP_DW_HDMI_QP
sre Jun 1, 2026
73d8107
drm/rockchip: Select SND_SOC_HDMI_CODEC for ROCKCHIP_DW_DP
sre Jun 1, 2026
7aeb7ce
arm64: dts: rockchip: Add frl-enable-gpios to rk3576 boards
cristicc Apr 15, 2026
e58a7ff
arm64: dts: rockchip: Add frl-enable-gpios to rk3576-luckfox-core3576
cristicc Apr 15, 2026
b57d788
arm64: dts: rockchip: Add frl-enable-gpios to rk3576-nanopi-r76s
cristicc Apr 15, 2026
c5e3e58
arm64: dts: rockchip: Add frl-enable-gpios to rk3588 boards
cristicc Apr 14, 2026
1b9ab57
arm64: dts: rockchip: Add frl-enable-gpios to rk3588s boards
cristicc Apr 11, 2026
b493a65
arm64: dts: rockchip: Add frl-enable-gpios to rk3588s-gameforce-ace
cristicc Apr 16, 2026
75019a2
arm64: dts: rockchip: Add frl-enable-gpios to rk3588s-khadas-edge2
cristicc Apr 15, 2026
d7c61bf
arm64: dts: rockchip: Add frl-enable-gpios to rk3588s-orangepi-cm5-base
cristicc Apr 11, 2026
6225b76
arm64: dts: rockchip: Add frl-enable-gpios to rk3588s-roc-pc
cristicc Apr 15, 2026
3acacb2
arm64: dts: rockchip: Drop unnecessary #{address,size}-cells from rk3…
cristicc Apr 27, 2026
b561404
drm/bridge: dw-hdmi-qp: Return -EOPNOTSUPP in HDMI audio functions
cazou May 19, 2026
e041645
drm/bridge: dw-hdmi-qp: Guard clear_audio_infoframe when PHY is down
May 12, 2026
0f4af6c
LIN-14: Use wiphy_dbg instead of bphy_err
ya-mouse Dec 23, 2025
701634b
Hardcode always show single logo regardless of CPU count
zhovner Dec 29, 2025
33e7f8f
arm64: dts: rockchip: Fix Type-C SBU lines bias on ArmSoM Sige5
alchark Jan 14, 2026
d952544
WIP: Link up HUSB311 driver and DP on EVB1
alchark Jan 14, 2026
6444421
arm64: dts: rockchip: Add DP audio on RK3576 EVB1
alchark Jan 26, 2026
fe7c39d
arm64: dts: rockchip: Add Ethernet support for Luckfox Omni3576
alchark Feb 2, 2026
b353265
arm64: dts: rockchip: Drop incorrect eMMC regulators on Luckfox Core3576
alchark Feb 2, 2026
7c89e74
dt-bindings: vendor-prefixes: Add Flipper FZCO
alchark Jan 27, 2026
793becf
dt-bindings: display: Add Flipper One display
alchark Jan 27, 2026
ae18ca9
drm/tiny: Add driver for the Flipper One display
alchark Jan 27, 2026
183c5a5
dt-bindings: arm: rockchip: Add Flipper One
alchark Jan 27, 2026
73b30f9
arm64: dts: rockchip: Add Flipper One rev. F0B0C1
alchark Jan 27, 2026
c23e56a
dt-bindings: mfd: ti,bq25703a: Expand to include BQ25792
alchark Feb 11, 2026
d3b46b1
regulator: bq257xx: Drop the regulator_dev from the driver data
alchark Feb 11, 2026
c99e587
power: supply: bq257xx: Fix VSYSMIN clamping logic
alchark Feb 18, 2026
3f3d1a1
power: supply: bq257xx: Make the default current limit a per-chip att…
alchark Feb 18, 2026
b842dac
power: supply: bq257xx: Consistently use indirect get/set helpers
alchark Feb 18, 2026
b51a289
power: supply: bq257xx: Add fields for 'charging' and 'overvoltage' s…
alchark Feb 18, 2026
110da77
mfd: bq257xx: Add BQ25792 support
alchark Feb 11, 2026
c3e2487
regulator: bq257xx: Add support for BQ25792
alchark Feb 18, 2026
b0128da
power: supply: bq257xx: Add support for BQ25792
alchark Feb 18, 2026
58f2064
dt-bindings: hwmon: Add TI INA4230 4-channel I2C power monitor
alchark Feb 19, 2026
5a3a976
hwmon: Add support for TI INA4230 power monitor
alchark Feb 20, 2026
766b9da
usb: typec: tcpci: add DRM DP HPD bridge support
alchark Mar 13, 2026
75bb60c
WIP: mfd: Add support for Flipper One's MCU
alchark Mar 25, 2026
444751a
WIP: Input: add support for Flipper One buttons and touchpad
alchark Mar 25, 2026
b3e65cc
WIP: leds: rgb: Add support for Flipper One LEDs
alchark Apr 23, 2026
3e6e1d6
ASoC: dt-bindings: nau8822: Add supply regulators
alchark Apr 2, 2026
8b5867f
ASoC: codecs: nau8822: add support for supply regulators
alchark Apr 2, 2026
5229014
arm64: dts: rockchip: rk3576: assign dclk_vp{0,1}_src to VPLL
alchark Apr 15, 2026
2e6b775
clk: rockchip: Fix fractional PLL calculation for RK3588
alchark Apr 21, 2026
41791a2
clk: rockchip: rk3576: add PLL rates for weird display clocks
alchark Apr 21, 2026
2498daf
clk: rockchip: rk3576: allow dclk_vp{0,1}_src to propagate rate to pa…
alchark Apr 15, 2026
cd8a1cb
arm64: dts: rockchip: Add overlay for 4K DP and 2.5K HDMI on RK3576
alchark Apr 20, 2026
f3646ff
Bluetooth: btusb: Enable Mediatek modules to work on USB 3.0 busses
alchark May 19, 2026
dc20b66
drm/rockchip: vop2: honor TV margins from CRTC state for overscan com…
alchark Jun 1, 2026
1309c21
drm/rockchip: dw_hdmi_qp: expose "overscan" property
alchark Jun 2, 2026
c32805c
ASoC: codecs: nau8822: add support for speaker gain boost setting
alchark Apr 9, 2026
9e19452
arm64: dts: rockchip: Revert SD PWREN to SoC default function on Flip…
alchark Jun 10, 2026
0a148c9
arm64: dts: rockchip: Switch Flipper One PD revision to 3.1
alchark Jun 10, 2026
4ec6bdc
phy: rockchip: inno-csidphy: add support for RK3576
hz2 May 22, 2026
a9de343
media: synopsys: dw-mipi-csi2rx: add support for RK3576
hz2 May 22, 2026
f84ad1b
media: rockchip: rkcif: add support for RK3576 VICAP
hz2 May 22, 2026
c1e5a2c
arm64: dts: rockchip: add camera pipeline nodes to rk3576
hz2 May 22, 2026
7ee1920
dt-bindings: phy: rockchip-inno-csi-dphy: add rk3576 support
hz2 May 23, 2026
7a72cdf
dt-bindings: media: rockchip,rk3568-mipi-csi2: add rk3576 support
hz2 May 23, 2026
17e41c2
dt-bindings: media: rockchip,rk3588-vicap: add rk3576 support
hz2 Jun 1, 2026
56c5e08
dt-bindings: soc: rockchip: grf: add rk3576 CSI D-PHY GRF
hz2 Jun 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Documentation/devicetree/bindings/arm/rockchip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ properties:
- const: firefly,rk3568-roc-pc
- const: rockchip,rk3568

- description: Flipper One rev. F0B0C1
items:
- const: flipper,one-rev-f0b0c1
- const: rockchip,rk3576

- description: Forlinx FET3588-C SoM
items:
- enum:
Expand Down
69 changes: 69 additions & 0 deletions Documentation/devicetree/bindings/display/flipper,one-display.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/flipper,one-display.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Flipper One display

maintainers:
- Alexey Charkov <alchark@flipper.net>

description:
Flipper One is a handheld network multi-tool, which includes a custom
grayscale LCD panel driven by an MCU accepting image contents over a SPI bus.
The image data must consist of a full frame in each transmission, signalled
by the "active" GPIO line. One byte per pixel is used, with 0 representing
black and 255 white, lower two bits are discarded, and the expected frame
size is 258x144 pixels of which the leftmost 256x144 are visible.

The MCU expects SPI mode 3 (CPOL=1, CPHA=1), up to 24MHz frequency.

allOf:
- $ref: /schemas/spi/spi-peripheral-props.yaml#

properties:
compatible:
enum:
- flipper,one-display

reg:
maxItems: 1

spi-cpha: true
spi-cpol: true

spi-max-frequency:
maximum: 24000000

active-gpios:
maxItems: 1
description: Frame data is being transmitted when this line is asserted.
Deassert to signal the end of frame.

required:
- compatible
- reg
- active-gpios
- spi-max-frequency

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/gpio/gpio.h>
spi {
#address-cells = <1>;
#size-cells = <0>;

display@0 {
compatible = "flipper,one-display";
reg = <0>;
active-gpios = <&gpio4 6 GPIO_ACTIVE_LOW>;
spi-max-frequency = <20000000>;
spi-cpha;
spi-cpol;
spi-rx-bus-width = <0>;
};
};
...
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ properties:
maxItems: 1

"#sound-dai-cells":
const: 0
const: 1
description: 0 for I2S, 1 for SPDIF

required:
- compatible
Expand Down Expand Up @@ -144,7 +145,7 @@ examples:
resets = <&cru SRST_DP0>;
phys = <&usbdp_phy0 PHY_TYPE_DP>;
power-domains = <&power RK3588_PD_VO0>;
#sound-dai-cells = <0>;
#sound-dai-cells = <1>;

ports {
#address-cells = <1>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,26 @@ properties:
- {}
- {}

resets:
minItems: 5
items:
- description: AXI clock reset.
- description: AHB clock reset.
- description: Pixel clock reset for video port 0.
- description: Pixel clock reset for video port 1.
- description: Pixel clock reset for video port 2.
- description: Pixel clock reset for video port 3.

reset-names:
minItems: 5
items:
- const: aclk
- const: hclk
- const: dclk_vp0
- const: dclk_vp1
- const: dclk_vp2
- const: dclk_vp3

rockchip,grf:
$ref: /schemas/types.yaml#/definitions/phandle
description:
Expand Down Expand Up @@ -153,6 +173,12 @@ allOf:

interrupt-names: false

resets:
maxItems: 5

reset-names:
maxItems: 5

ports:
required:
- port@0
Expand Down Expand Up @@ -200,6 +226,12 @@ allOf:
interrupt-names:
minItems: 4

resets:
maxItems: 5

reset-names:
maxItems: 5

ports:
required:
- port@0
Expand Down Expand Up @@ -251,6 +283,12 @@ allOf:

interrupt-names: false

resets:
minItems: 6

reset-names:
minItems: 6

ports:
required:
- port@0
Expand Down Expand Up @@ -289,6 +327,16 @@ examples:
"dclk_vp0",
"dclk_vp1",
"dclk_vp2";
resets = <&cru SRST_A_VOP>,
<&cru SRST_H_VOP>,
<&cru SRST_VOP0>,
<&cru SRST_VOP1>,
<&cru SRST_VOP2>;
reset-names = "aclk",
"hclk",
"dclk_vp0",
"dclk_vp1",
"dclk_vp2";
power-domains = <&power RK3568_PD_VO>;
rockchip,grf = <&grf>;
iommus = <&vop_mmu>;
Expand Down
134 changes: 134 additions & 0 deletions Documentation/devicetree/bindings/hwmon/ti,ina4230.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwmon/ti,ina4230.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments INA4230 quad-channel power monitors

maintainers:
- Alexey Charkov <alchark@flipper.net>

description: |
The INA4230 is a 48V quad-channel 16-bit current, voltage, power and energy
monitor with an I2C interface.

Datasheet:
https://www.ti.com/product/INA4230

properties:
compatible:
enum:
- ti,ina4230

reg:
maxItems: 1

"#address-cells":
description: Required only if a child node is present.
const: 1

"#size-cells":
description: Required only if a child node is present.
const: 0

vs-supply:
description: phandle to the regulator that provides the VS supply typically
in range from 1.7 V to 5.5 V.

ti,alert-polarity-active-high:
description: Alert pin is asserted based on the value of Alert polarity Bit
of the CONFIG2 register. Default value is 0, for which the alert pin
toggles from high to low during faults. When this property is set, the
corresponding register bit is set to 1, and the alert pin toggles from
low to high during faults.
$ref: /schemas/types.yaml#/definitions/flag

patternProperties:
"^input@[0-3]$":
description: The node contains optional child nodes for four channels.
Each child node describes the information of input source. Input channels
default to enabled in the chip. Unless channels are explicitly disabled
in device-tree, input channels will be enabled.
type: object
additionalProperties: false
properties:
reg:
description: Must be 0, 1, 2 or 3, corresponding to the IN1, IN2, IN3
or IN4 ports of the INA4230, respectively.
enum: [ 0, 1, 2, 3 ]

label:
description: name of the input source

shunt-resistor-micro-ohms:
description: shunt resistor value in micro-Ohm

ti,maximum-expected-current-microamp:
description: |
This value indicates the maximum current in microamps that you can
expect to measure with ina4230 in your circuit.

This value will be used to calculate the Current_LSB to maximize the
available precision while ensuring your expected maximum current fits
within the chip's ADC range. It will also enable built-in shunt gain
to increase ADC granularity by a factor of 4 if the provided maximum
current / shunt resistance combination does not produce more than
20.48 mV drop at the shunt.
minimum: 32768
maximum: 4294967295
default: 32768000

required:
- reg

required:
- compatible
- reg

allOf:
- $ref: hwmon-common.yaml#

unevaluatedProperties: false

examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;

power-sensor@44 {
compatible = "ti,ina4230";
reg = <0x44>;
vs-supply = <&vdd_3v0>;
ti,alert-polarity-active-high;
#address-cells = <1>;
#size-cells = <0>;

input@0 {
reg = <0x0>;
/*
* Input channels are enabled by default in the device and so
* to disable, must be explicitly disabled in device-tree.
*/
status = "disabled";
};

input@1 {
reg = <0x1>;
shunt-resistor-micro-ohms = <50000>;
ti,maximum-expected-current-microamp = <300000>;
};

input@2 {
reg = <0x2>;
label = "VDD_5V";
shunt-resistor-micro-ohms = <10000>;
ti,maximum-expected-current-microamp = <5000000>;
};

input@3 {
reg = <0x3>;
};
};
};
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/input/adc-keys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ patternProperties:

linux,code: true

linux,input-type:
default: 1 # EV_KEY

press-threshold-microvolt:
description:
Voltage above or equal to which this key is considered pressed. No
Expand Down
Loading