Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
108fea6
[MERGED] drm/bridge: synopsys: dw-dp: Support unregistering the AUX c…
cristicc Mar 27, 2026
6336d35
[DEBUG] usb: typec: tcpm: also log to dmesg
sre Apr 4, 2025
b8ee20e
[DEBUG] usb: typec: fusb302: also log to dmesg
sre Jul 1, 2025
e0177f0
math.h: add DIV_ROUND_UP_NO_OVERFLOW
sre Oct 24, 2023
66132ee
clk: divider: Fix divisor masking on 64 bit platforms
sre Oct 24, 2023
3a18db9
clk: composite: replace open-coded abs_diff()
sre Oct 24, 2023
2991bf6
arm64: dts: rockchip: rk3588-evb1: add bluetooth rfkill
sre Jan 2, 2024
99fe464
arm64: dts: rockchip: rk3588-evb1: improve PCIe ethernet pin muxing
sre Jan 2, 2024
2b594be
arm64: dts: rockchip: Slow down EMMC a bit to keep IO stable
rastermann Feb 6, 2024
c38e8bb
mfd: rk8xx: Fix shutdown handler
sre Jul 25, 2024
6633c85
dt-bindings: display: vop2: Add VP clock resets
cazou Nov 15, 2024
d49a063
drm/rockchip: vop2: Add clock resets support
cazou Nov 15, 2024
6f756eb
arm64: dts: rockchip: Add VOP clock resets for rk3588s
cazou Nov 15, 2024
79d4371
arm64: dts: rockchip: rk3588-evb1: add DSI panel
sre Nov 8, 2024
21aecff
drm/rockchip: vop2: Add core reset support
sre Nov 14, 2024
9f159a7
arm64: dts: rockchip: Fix USB-C description for RK3588 EVB1
sre Jul 29, 2025
ba737b1
arm64: dts: rockchip: enable camera I2C interfaces for ROCK 5B family
sre Mar 15, 2025
a821c99
phy: rockchip: inno-usb2: add soft vbusvalid control
Jun 10, 2025
d37f42d
dt-bindings: input: adc-keys: allow linux,input-type property
Jun 30, 2025
87aa339
Input: adc-keys - support types that aren't just keyboard keys
Jun 30, 2025
d86f972
arm64: dts: rockchip: add analog audio to ROCK 4D
Jun 30, 2025
1adce42
net: phy: realtek: Reset after clock enable
sre Jul 2, 2025
a428062
arm64: dts: rockchip: use MAC TX delay for ROCK 4D
sre Jul 8, 2025
185a587
PCI: dw-rockchip: Fix LTSSM set functions
sre Nov 21, 2025
00c50d5
PCI: dw-rockchip: Restore vpcie3v3 regulator handle
sre Dec 22, 2025
2c6d7d3
PCI: dw-rockchip: Move devm_phy_get out of phy_init
sre Oct 20, 2025
f08a450
PCI: dw-rockchip: Add helper function for enhanced LTSSM control mode
sre Oct 20, 2025
0cd3a10
PCI: dw-rockchip: Add helper function for controller mode
sre Oct 20, 2025
eb83f07
PCI: dw-rockchip: Add helper function for DDL indicator
sre Oct 20, 2025
1e12f45
PCI: dw-rockchip: Add pme_turn_off support
sre Oct 20, 2025
bae2442
PCI: dw-rockchip: Add system PM support
sre Oct 20, 2025
cfb497e
[RFC] PCI: dw-rockchip: port some suspend code from vendor kernel
sre Nov 24, 2025
c33d4c1
dt-bindings: phy: rockchip-usbdp: add improved ports scheme
sre Aug 22, 2025
b0b8d3e
phy: rockchip: usbdp: Update mode_change after error handling
sre Jun 16, 2026
734d5ff
phy: rockchip: usbdp: Do not lose USB3 PHY status
sre Feb 12, 2026
e17be5b
phy: rockchip: usbdp: Fix devm_clk_bulk_get_all check
sre Jun 17, 2026
a298bbd
phy: rockchip: usbdp: Handle missing clock-names DT property gracefully
sre Jun 19, 2026
9c0eea3
phy: rockchip: usbdp: Drop seamless DP takeover
sre Jun 17, 2026
476fc7e
phy: rockchip: usbdp: Keep clocks running on PHY re-init
sre Feb 5, 2026
dd6fa24
phy: rockchip: usbdp: Amend SSC modulation deviation
Jan 16, 2026
40168d9
phy: rockchip: usbdp: Fix LFPS detect threshold control
wuliangfeng Jan 16, 2026
7d8457d
phy: rockchip: usbdp: Add missing mode_change update
sre Jan 29, 2026
f63e503
phy: rockchip: usbdp: Support single-lane DP
Jan 29, 2026
284b05f
phy: rockchip: usbdp: Limit DP lane count to muxed lanes
sre Jun 16, 2026
ae2fb53
phy: rockchip: usbdp: Rename DP lane functions
sre Jan 29, 2026
2f3757e
phy: rockchip: usbdp: Use FIELD_PREP_WM16_CONST
sre Jan 29, 2026
c45725d
phy: rockchip: usbdp: Cleanup DP lane selection function
sre Jan 29, 2026
b545c30
phy: rockchip: usbdp: Register DP aux bridge
sre Mar 5, 2026
c87d435
phy: rockchip: usbdp: Drop DP HPD handling
sre Mar 4, 2026
357c63a
phy: rockchip: usbdp: Rename mode_change to phy_needs_reinit
sre Apr 24, 2026
831617c
phy: rockchip: usbdp: Re-init the PHY on orientation change
sre Apr 24, 2026
522e24c
phy: rockchip: usbdp: Factor out lane_mux_sel setup
sre Apr 24, 2026
3c66635
phy: rockchip: usbdp: Properly handle TYPEC_STATE_SAFE and TYPEC_STAT…
sre Jun 19, 2026
446a893
phy: rockchip: usbdp: Use guard functions for mutex
sre Apr 24, 2026
d20f709
phy: rockchip: usbdp: Hold mutex in DP PHY configure
sre Jun 18, 2026
8e6b6a2
phy: rockchip: usbdp: Add some extra debug messages
sre Jun 11, 2026
604b5e7
phy: rockchip: usbdp: Avoid xHCI SErrors
sre Jun 22, 2026
5e6a6da
phy: rockchip: usbdp: Handle rk_udphy_reset_deassert errors
sre Jun 30, 2026
2c4ab38
phy: rockchip: usbdp: Only enable USB3 when not in high-speed mode
sre Jun 30, 2026
731d398
phy: core: add notifier infrastructure
sre Jun 29, 2026
9eb617a
usb: dwc3: core: support PHY reset notifications
sre Jun 29, 2026
cf4fcec
phy: rockchip: usbdp: Add phy reset notification support
sre Jun 29, 2026
21ecde9
phy: rockchip: usbdp: Drop -EPROBE_DEFER hack
sre Jun 26, 2026
4a05cc6
phy: rockchip: usbdp: Rename mode to hw_mode
sre Jul 1, 2026
235a747
phy: rockchip: usbdp: Fix power state handling
sre Jul 1, 2026
872e391
phy: rockchip: usbdp: Re-init PHY on mux change
sre Jul 1, 2026
90aa077
phy: rockchip: usbdp: Add USB-C state without DP enabled
sre Jul 2, 2026
55a4012
arm64: dts: rockchip: add USB-C DP AltMode for ROCK 5B family
sre Jul 28, 2025
1f35828
arm64: dts: rockchip: add missing UFS regulators to ROCK 4D
sre Oct 8, 2025
6328548
net: phy: realtek: re-init after reset
sre Nov 6, 2025
1b156b8
arm64: dts: rockchip: Enable ALDPS on both network interfaces of RK35…
sre Nov 5, 2025
ec6240a
arm64: defconfig: enable Rockchip VDEC
sre Jan 10, 2026
32211de
arm64: defconfig: enable Verisilicon IOMMU for Rockchip RK3588
Apr 15, 2026
6dc3070
[WIP] arm64: dts: rockchip: add USB-C DP AltMode for ArmSom Sige5
Jan 9, 2026
3d8f3b6
PCI: dw-rockchip: Add phy_calibrate() to check PHY lock status
shawn1221 Dec 24, 2025
f3ba684
phy: rockchip-snps-pcie3: Add phy_calibrate() support
shawn1221 Dec 24, 2025
913432a
phy: rockchip-snps-pcie3: Increase sram init timeout
shawn1221 Dec 24, 2025
c3aa6f1
phy: rockchip-snps-pcie3: Check more sram init status for RK3588
shawn1221 Dec 24, 2025
c4be49b
phy: rockchip-snps-pcie3: Only check PHY1 status when using it
shawn1221 Dec 24, 2025
47193f0
mmc: sdhci-of-dwcmshc: Reduce clock reduction print level
sre Jan 19, 2026
11ef386
thermal/drivers/rockchip: Shut up eFuse prober defer warning
sre Jan 22, 2026
d77a225
drm/rockchip: vop2: Add clock rate mode check
sre Jan 29, 2026
ee7adef
[WIP] arm64: dts: rockchip: disable command queue engine for Sige5
sre Mar 17, 2026
717b42a
usb: typec: tcpm: Also use SNK_WAIT_CAPABILITIES_TIMEOUT for vbus_nev…
sre Mar 2, 2026
06bfd95
usb: typec: tcpm: log when VDM AMS state machine is cancelled
sre Mar 24, 2026
ba0f70e
phy: rockchip: samsung-hdptx: Fix rate recalculation for high bpc
cristicc Feb 27, 2026
e4e3600
phy: rockchip: samsung-hdptx: Handle uncommitted PHY config changes
cristicc Feb 27, 2026
b032e9b
phy: rockchip: samsung-hdptx: Drop TMDS rate setup workaround
cristicc Feb 27, 2026
4816a91
phy: rockchip: samsung-hdptx: Drop restrict_rate_change handling
cristicc Feb 27, 2026
7eae149
phy: rockchip: samsung-hdptx: Simplify GRF access with FIELD_PREP_WM16()
cristicc Feb 27, 2026
64ea0c1
phy: rockchip: samsung-hdptx: Consistently use bitfield macros
cristicc Feb 27, 2026
b5332f3
[DEBUG] phy: rockchip: samsung-hdptx: Add verbose logging
cristicc Feb 17, 2026
3cae805
[DEBUG] usb: typec: altmode/displayport: print message on probe error
sre Mar 17, 2026
5f7ca5e
drm/bridge: synopsys: dw-dp: Fix incorrect resource lifetimes in bind…
sre Jul 16, 2026
4a6374c
drm/bridge: synopsys: dw-dp: Cancel pending HPD work on unbind
sre Jul 23, 2026
a33005e
drm/bridge: synopsys: dw-dp: Add missing mutex cleanups on module rem…
sre Jul 22, 2026
5dc823e
drm/bridge: synopsys: dw-dp: Add missing reinit_completion
sre Jul 24, 2026
11283df
drm/bridge: synopsys: dw-dp: Free output_fmts when none are valid
sre Jul 24, 2026
4a25876
drm/bridge: synopsys: dw-dp: Support MEDIA_BUS_FMT_FIXED
sre Mar 6, 2026
71d272e
drm/bridge: synopsys: dw-dp: Add follow-up bridge support
sre Mar 5, 2026
8126cad
drm/bridge: Add out-of-band HPD notify handler
sre Feb 26, 2026
fd29207
drm/bridge: synopsys: dw-dp: Support software triggered OOB HPD
sre Mar 4, 2026
ee2f75e
drm/rockchip: dw_dp: Implement out-of-band HPD handling
sre Mar 4, 2026
7372662
drm/bridge: synopsys: dw-dp: Add Runtime PM support
sre Mar 19, 2026
61e35ca
drm/rockchip: dw_dp: Add runtime PM support
sre Mar 19, 2026
460bea0
drm/bridge: synopsys: dw-dp: Protect sdp_reg_bank from concurrent access
sre Jul 23, 2026
e474e7c
drm/bridge: synopsys: dw-dp: Use regmap_set_bits in dw_dp_send_sdp
sre Jul 23, 2026
194d863
dt-bindings: display: rockchip: dw-dp: Fix sound DAI cells
sre Jan 23, 2026
5c90c3b
drm/bridge: synopsys: dw-dp: Add audio support
sre Jan 21, 2026
29960f5
arm64: dts: rockchip: Add DP sound support to RK3576 device tree
sre Jan 21, 2026
69692d1
arm64: dts: rockchip: Add DP audio for ArmSom Sige5
sre Jan 21, 2026
7721ea8
arm64: dts: rockchip: Fix DP sound-dai-cells on RK3588
sre Feb 12, 2026
52e2102
drm/bridge: Implement generic USB Type-C DP HPD bridge
windowsair Jul 17, 2026
73d8ab3
usb: typec: tcpm: add device managed port registration
sre Apr 21, 2026
ff34b8b
usb: typec: fusb302: Switch to device managed resources
sre Apr 21, 2026
7696295
usb: typec: fusb302: rename init_gpio into fusb302_init_irq
sre Apr 21, 2026
8a66397
usb: typec: fusb302: move gpio_int_n into function local scope
sre Apr 21, 2026
050f638
usb: typec: fusb302: rework gpio_int_n_irq handling
sre Apr 21, 2026
126928e
usb: typec: fusb302: drop custom gpio interrupt logic
sre Apr 21, 2026
2d00a84
phy: hdmi: Add optional FRL TxFFE config options
cristicc Mar 17, 2026
879b93b
phy: rockchip: samsung-hdptx: Add support for FRL TxFFE level control
cristicc Mar 17, 2026
589a4bb
[WIP-update-fixes] phy: rockchip: samsung-hdptx: Handle PHY config af…
cristicc Apr 10, 2026
b85c7d2
[DEBUG] drm/rockchip: vop2: Log DCLK setup
cristicc Mar 2, 2025
2bc6221
drm/bridge: Remove redundant error check in drm_bridge_helper_reset_c…
cristicc Apr 21, 2026
0c94d25
drm/bridge: Add detect_ctx hook and drm_bridge_detect_ctx() helper
cristicc Jan 10, 2025
0c74cc8
drm/bridge-connector: Use cached connector status in .get_modes()
cristicc Apr 21, 2026
2c6537b
drm/bridge-connector: Switch to .detect_ctx() for connector detection
cristicc Jan 10, 2025
1155354
drm/bridge: dw-hdmi-qp: Add HDMI 2.0 SCDC scrambling and high TMDS cl…
cristicc Sep 13, 2024
6bc4bfc
drm/bridge: dw-hdmi-qp: Rate limit i2c read error messages
cristicc Apr 21, 2026
5b8190a
drm/rockchip: dw_hdmi_qp: Add missing newlines in dev_err_probe() mes…
cristicc Apr 21, 2026
756d4c6
drm/rockchip: dw_hdmi_qp: Use local dev variable consistently in bind()
cristicc Apr 21, 2026
e979f96
drm/rockchip: dw_hdmi_qp: Register HPD IRQ after connector setup
cristicc Apr 20, 2026
44cd2e7
drm/rockchip: dw_hdmi_qp: Restrict HPD event to the affected connector
cristicc Apr 20, 2026
c7990eb
drm/display: scdc: Convert bit-field macros to use BIT()
cristicc Mar 12, 2026
fb21cc7
drm/display: scdc: Add HDMI 2.1 FRL register definitions
cristicc Mar 12, 2026
c93ae5b
drm/display: scdc-helper: Add FRL link training control functions
cristicc Mar 28, 2026
ea3c87c
drm/display: hdmi: Provide hook for HDMI 2.1 FRL mode validation
cristicc Mar 24, 2026
09a782a
drm/display: bridge-connector: Wire up rate validation for HDMI 2.1 b…
cristicc Mar 24, 2026
db7f2ab
drm/rockchip: vop2: Scale ACLK rate up for RK3588 FRL display modes
cristicc Apr 7, 2026
667ef6e
drm/rockchip: dw_hdmi_qp: Consolidate link config into dedicated struct
cristicc Mar 31, 2026
819371a
drm/bridge: dw-hdmi-qp: Log resolution and refresh rate in atomic_ena…
cristicc Feb 3, 2026
bebce38
drm/bridge: dw-hdmi-qp: Replace sentinel entries with ARRAY_SIZE() it…
cristicc Mar 17, 2026
de3f008
drm/bridge: dw-hdmi-qp: Add HDMI 2.1 FRL support
cristicc Apr 6, 2026
419887c
drm/bridge: dw-hdmi-qp: Add TxFFE level control support
cristicc Apr 7, 2026
7e6e724
drm/rockchip: dw_hdmi_qp: Wire up FRL operating mode
cristicc Apr 6, 2026
8db1e3a
drm/rockchip: dw_hdmi_qp: Wire up TxFFE level adjustment
cristicc Apr 6, 2026
6398cd7
drm/rockchip: Select SND_SOC_HDMI_CODEC for ROCKCHIP_DW_HDMI_QP
sre Jun 1, 2026
79e7ebe
drm/rockchip: Select SND_SOC_HDMI_CODEC for ROCKCHIP_DW_DP
sre Jun 1, 2026
4a1e027
arm64: dts: rockchip: Support power sink on USB-C for ArmSom Sige5
sre Jul 2, 2026
21cc103
usb: typec: tcpm: implement retry mechanism for Discover Identity VDMs
Jul 10, 2026
a234ec4
arm64: dts: rockchip: Fix USB-C DP AltMode vdo
sre Jul 27, 2026
ef077d7
dt-bindings: pwm: Add a new binding for rockchip,rk3576-pwm
Apr 20, 2026
7ecd615
mfd: Add Rockchip mfpwm driver
Apr 20, 2026
dc0b3c5
pwm: Add rockchip PWMv4 driver
Apr 20, 2026
486945c
counter: Add rockchip-pwm-capture driver
Apr 20, 2026
66d849f
arm64: dts: rockchip: add PWM nodes to RK3576 SoC dtsi
Apr 20, 2026
c50ebcb
arm64: dts: rockchip: Add cooling fan to ROCK 4D
Apr 20, 2026
b13fb37
LIN-14: Use wiphy_dbg instead of bphy_err
ya-mouse Dec 23, 2025
0a2b74d
Hardcode always show single logo regardless of CPU count
zhovner Dec 29, 2025
cde8f6b
arm64: dts: rockchip: Fix Type-C SBU lines bias on ArmSoM Sige5
alchark Jan 14, 2026
f8fc78a
WIP: Link up HUSB311 driver and DP on EVB1
alchark Jan 14, 2026
6f5d628
arm64: dts: rockchip: Add DP audio on RK3576 EVB1
alchark Jan 26, 2026
54a5f54
arm64: dts: rockchip: Add Ethernet support for Luckfox Omni3576
alchark Feb 2, 2026
fb86c15
arm64: dts: rockchip: Drop incorrect eMMC regulators on Luckfox Core3576
alchark Feb 2, 2026
1e7926f
dt-bindings: vendor-prefixes: Add Flipper FZCO
alchark Jan 27, 2026
4d97665
dt-bindings: display: Add Flipper One display
alchark Jan 27, 2026
4704118
drm/tiny: Add driver for the Flipper One display
alchark Jan 27, 2026
e33fd28
dt-bindings: arm: rockchip: Add Flipper One
alchark Jan 27, 2026
af3cfee
arm64: dts: rockchip: Add Flipper One
alchark Jan 27, 2026
882b929
regulator: bq257xx: Drop the regulator_dev from the driver data
alchark Feb 11, 2026
e35ea23
regulator: bq257xx: Add support for BQ25792
alchark Feb 18, 2026
203c283
power: supply: bq257xx: Add support for BQ25792
alchark Feb 18, 2026
f4a3a11
dt-bindings: hwmon: Add TI INA4230 4-channel I2C power monitor
alchark Feb 19, 2026
9918047
hwmon: Add support for TI INA4230 power monitor
alchark Feb 20, 2026
9c6e6c5
usb: typec: tcpci: add DRM DP HPD bridge support
alchark Mar 13, 2026
05273ac
WIP: mfd: Add support for Flipper One's MCU
alchark Mar 25, 2026
8bed912
Input: add support for Flipper One buttons and touchpad
alchark Mar 25, 2026
4514212
leds: rgb: Add support for Flipper One LEDs
alchark Apr 23, 2026
7b8fafc
Input: add support for Flipper One haptic LRA
alchark Jun 18, 2026
973163c
usb: typec: ucsi: Add support for Flipper One MCU UCSI controller
alchark Jun 18, 2026
401ab11
arm64: dts: rockchip: rk3576: assign dclk_vp{0,1}_src to VPLL
alchark Apr 15, 2026
03310df
clk: rockchip: pll: Fix the fractional part denominator on RK3588/RK3576
alchark Jul 23, 2026
ff23109
clk: rockchip: Fractional PLL coefficient on RK3588/RK3576 is two's c…
alchark Jul 21, 2026
d61a5a9
clk: rockchip: rk3576: add PLL rates for weird display clocks
alchark Apr 21, 2026
dee15b4
clk: rockchip: rk3576: allow dclk_vp{0,1}_src to propagate rate to pa…
alchark Apr 15, 2026
b6c7533
arm64: dts: rockchip: Add overlay for 4K DP and 2.5K HDMI on RK3576
alchark Apr 20, 2026
ef52ad8
Bluetooth: btusb: Enable Mediatek modules to work on USB 3.0 busses
alchark May 19, 2026
e2d9dd3
drm/rockchip: vop2: honor TV margins from CRTC state for overscan com…
alchark Jun 1, 2026
36af36c
drm/rockchip: dw_hdmi_qp: expose "overscan" property
alchark Jun 2, 2026
a5a1385
ASoC: codecs: nau8822: add support for speaker gain boost setting
alchark Apr 9, 2026
3e058a7
media: rkvdec: prime VDPU383 deblock state on RK3576 power-up
SympleNZ Jun 10, 2026
9173af3
arm64: dts: rockchip: add overlay for UART2 on the GPIO header on Fli…
alchark Jul 7, 2026
2085e01
Input: flipper-one-input: add support for SW buttons
alchark Jun 22, 2026
b993431
phy: rockchip: naneng-combphy: Always configure SSC spread direction
alchark Jul 14, 2026
878847a
arm64: dts: rockchip: add "No Graphics" overlay for RK3576 boards
Yury-MonZon Jul 10, 2026
907d363
kbuild: deb-pkg: install kernel image and friends under /lib/modules
alchark Jul 16, 2026
0fa34d1
arm64: dts: rockchip: Increase audio regulator ramp delay for Flipper…
alchark Jul 20, 2026
e846cb3
mfd: flipper-one-mcu: register the SW button interrupt
munzzyy Jul 27, 2026
2e8b959
arm64: dts: rockchip: rk3576-flipper-one: add UART6 overlay
alchark Jul 28, 2026
ffbee6b
arm64: dts: rockchip: rk3576: add cache hierarchy information to CPU …
munzzyy Jul 28, 2026
3b125e5
arm64: dts: rockchip: flipper-one: wire Type-C up port VBUS to the co…
munzzyy Jul 29, 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
33 changes: 33 additions & 0 deletions Documentation/ABI/testing/sysfs-driver-flipper-one-mcu
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
What: /sys/bus/i2c/devices/<mcu_device>/cpustate
Date: July 2026
KernelVersion: 7.1
Contact: Alexey Charkov <alchark@flipper.net>
Description: (RW) Reports the CPU/system power state to the Flipper One MCU
so it can present meaningful on-device feedback to the user.

Reading returns the last logical state name known to the driver.

Writing lets userspace announce transitions that the kernel
cannot observe on its own. Only the following values are
accepted; any other value returns -EINVAL:

- ``online``: boot is complete and userspace is up. This is a
sticky state and is restored automatically after resuming
from suspend.
- ``suspend-request``: userspace is preparing to suspend (for
example, running its pre-suspend hooks). Announced before the
kernel actually enters suspend.
- ``reboot-request``: userspace has begun a reboot and is
stopping services. Announced before the kernel starts its
own shutdown sequence.
- ``poweroff-request``: userspace has begun a power-off and is
stopping services. Announced before the kernel starts its
own shutdown sequence.

The ``*-request`` states are transient announcements and are not
restored after resume.

Other states (bootloader, kernel-init, suspend, shutting-down,
powered-off) are managed by the kernel and cannot be written.

Format: %s.
10 changes: 10 additions & 0 deletions Documentation/devicetree/bindings/arm/rockchip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,16 @@ properties:
- const: firefly,rk3568-roc-pc
- const: rockchip,rk3568

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

- description: Flipper One rev. F0B1C2
items:
- const: flipper,one-rev-f0b1c2
- 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 @@ -25,7 +25,7 @@ description: |
* Supports up to 8/10 bits per color component
* Supports RBG, YCbCr4:4:4, YCbCr4:2:2, YCbCr4:2:0
* Pixel clock up to 594MHz
* I2S, SPDIF audio interface
* I2S, S/PDIF audio interface

properties:
compatible:
Expand All @@ -46,7 +46,7 @@ properties:
- description: DisplayPort AUX clock
- description: HDCP clock
- description: I2S interface clock
- description: SPDIF interfce clock
- description: S/PDIF interfce clock

clock-names:
minItems: 3
Expand Down Expand Up @@ -83,7 +83,8 @@ properties:
maxItems: 1

"#sound-dai-cells":
const: 0
const: 1
description: 0 for I2S, 1 for S/PDIF

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