Skip to content

dts: ite: it8xxx2: Add pinctrl extend setting of CEC alternate function #89006

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

Merged
merged 1 commit into from
Apr 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions dts/riscv/ite/it81xx2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@
NO_FUNC NO_FUNC 0xf016f1 0xf016f1>;
func3-en-mask = <0 0 0x02 0x02
0 0 0x10 0x10 >;
func4-gcr = <NO_FUNC NO_FUNC 0xf02046 0xf02046
NO_FUNC NO_FUNC NO_FUNC NO_FUNC >;
func4-en-mask = <0 0 0x40 0x40
0 0 0 0 >;
func4-gcr = <0xf016f7 NO_FUNC 0xf02046 0xf02046
NO_FUNC NO_FUNC NO_FUNC NO_FUNC >;
func4-en-mask = <0x20 0 0x40 0x40
0 0 0 0 >;
volt-sel = <0xf016d4 0xf016d4 0xf016e5 0xf016e5
0xf016e5 0xf016e6 0xf016e6 0xf016e6>;
volt-sel-mask = <0x10 0x20 0x04 0x02
Expand Down
8 changes: 4 additions & 4 deletions dts/riscv/ite/it82xx2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -561,10 +561,10 @@
NO_FUNC NO_FUNC 0xf03e11 NO_FUNC>;
func3-en-mask = <0x04 0x08 0x02 0x02
0 0 0x10 0 >;
func4-gcr = <NO_FUNC NO_FUNC NO_FUNC NO_FUNC
NO_FUNC NO_FUNC NO_FUNC NO_FUNC>;
func4-en-mask = <0 0 0 0
0 0 0 0 >;
func4-gcr = <0xf03e17 NO_FUNC NO_FUNC NO_FUNC
NO_FUNC NO_FUNC NO_FUNC NO_FUNC>;
func4-en-mask = <BIT(5) 0 0 0
0 0 0 0 >;
volt-sel = <0xf0164d 0xf0164d 0xf0164d 0xf0164d
0xf0164d 0xf0164d 0xf0164d 0xf0164d>;
volt-sel-mask = <BIT(0) BIT(1) BIT(2) BIT(3)
Expand Down
9 changes: 9 additions & 0 deletions dts/riscv/ite/it8xxx2-pinctrl-map.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@
pinmuxs = <&pinctrll 3 IT8XXX2_ALT_FUNC_1>;
};

/* CEC alternate function */
cec_gpf0_default: cec_gpf0_default {
pinmuxs = <&pinctrlf 0 IT8XXX2_ALT_FUNC_4>;
};

cec_gpf0_sleep: cec_gpf0_sleep {
pinmuxs = <&pinctrlf 0 IT8XXX2_ALT_DEFAULT>;
};

/* I2C alternate function */
i2c0_clk_gpb3_default: i2c0_clk_gpb3_default {
pinmuxs = <&pinctrlb 3 IT8XXX2_ALT_FUNC_1>;
Expand Down