Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: rockchip: Add TPS65185 for PineNote

As the TPS65185 driver is now upsteram, add it to the PineNote devietrees.
This is based on https://ayakael.net/forge/linux-pinenote but modified to
the binding requirements.
Without any other out-of-tree materials applied, this enables the
hwmon temperature reporting and the interrupt counter increments
by one per reading.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://patch.msgid.link/20260121-rk-tps-v1-1-bc867e1dd200@kemnade.info
Signed-off-by: Heiko Stuebner <heiko@sntech.de>

authored by

Andreas Kemnade and committed by
Heiko Stuebner
f1ebfaee b18247f9

+49
+49
arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi
··· 499 499 }; 500 500 }; 501 501 }; 502 + 503 + ebc_pmic: pmic@68 { 504 + compatible = "ti,tps65185"; 505 + reg = <0x68>; 506 + interrupt-parent = <&gpio3>; 507 + interrupts = <RK_PA6 IRQ_TYPE_LEVEL_LOW>; 508 + enable-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>; 509 + pinctrl-0 = <&ebc_pmic_pins>; 510 + pinctrl-names = "default"; 511 + pwr-good-gpios = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>; 512 + vcom-ctrl-gpios = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; 513 + vin-supply = <&vcc_bat>; 514 + wakeup-gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_HIGH>; 515 + 516 + regulators { 517 + v3p3: v3p3 { 518 + regulator-name = "v3p3"; 519 + /* Keep it always on because IRQ is pulled up against this line */ 520 + regulator-always-on; 521 + regulator-min-microvolt = <3300000>; 522 + regulator-max-microvolt = <3300000>; 523 + }; 524 + 525 + vcom: vcom { 526 + regulator-name = "vcom"; 527 + }; 528 + 529 + vposneg: vposneg { 530 + regulator-name = "vposneg"; 531 + regulator-min-microvolt = <15000000>; 532 + regulator-max-microvolt = <15000000>; 533 + }; 534 + }; 535 + }; 502 536 }; 503 537 504 538 &i2c5 { ··· 594 560 595 561 bt_wake_h: bt-wake-h { 596 562 rockchip,pins = <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; 563 + }; 564 + }; 565 + 566 + ebc-pmic { 567 + ebc_pmic_pins: ebc-pmic-pins { 568 + rockchip,pins = /* wakeup */ 569 + <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>, 570 + /* int */ 571 + <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>, 572 + /* pwr_good */ 573 + <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>, 574 + /* pwrup */ 575 + <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>, 576 + /* vcom_ctrl */ 577 + <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 597 578 }; 598 579 }; 599 580