Files
android/arch/arm64/boot/dts/mediatek/sia81xx.dtsi
T
threeeye bc1d038eac REVVL 6 Pro kernel bring-up: full working tree snapshot (2026-09-12)
Squashed backup commit (no shallow-clone history issues) of
xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream
commit 9eece662e) plus all fixes applied to get everpal_defconfig building
clean against a modern (GCC 15.2.0) toolchain -- see the previous commit
message on the lineage-23.2 branch (also in this repo history is not
available here since this is a squashed snapshot; full incremental history
lives in the local DL380 checkout and the upstream GitHub remote).

Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
2026-09-12 13:36:46 +00:00

105 lines
2.3 KiB
Devicetree

/*
* Copyright (c) 2020 MediaTek Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
&pio {
/*
sia81xx_gpio_R: sia81xx_gpio_R {
pins_cmd_dat {
pinmux = <PINMUX_GPIO3__FUNC_GPIO3>;
slew-rate = <1>;
bias-disable;
};
};
*/
sia81xx_gpio_L: sia81xx_gpio_L {
pins_cmd_dat {
pinmux = <PINMUX_GPIO131__FUNC_GPIO131>;
slew-rate = <1>;
bias-disable;
};
};
};
&odm {
sia81xx_R: sia81xx@R {
compatible = "si,sia8152";
si,sia81xx_type = "sia8152";
// si,sia81xx_reset = <&pio 3 0>;
// si,sia81xx_owi = <&pio 3 0>;
// pinctrl-names = "sia81xx_gpio";
// pinctrl-0 = <&sia81xx_gpio_R>;
si,sia81xx_disable_pin = <1>;
/* the same value share a same task
* valid value range : 0 ~ 7 */
timer_task_hdl = <0>;
channel_num = <0>;
owi_mode = <1>;
en_x_filter = <0>;
en_dynamic_updata_vdd = <1>;
en_dynamic_updata_pvdd = <1>;
dynamic_updata_vdd_port = <0x2>;
};
sia81xx_L: sia81xx@L {
compatible = "si,sia8109";
si,sia81xx_type = "sia81x9";
si,sia81xx_reset = <&pio 131 0>;
si,sia81xx_owi = <&pio 131 0>;
pinctrl-names = "sia81xx_gpio";
pinctrl-0 = <&sia81xx_gpio_L>;
si,sia81xx_disable_pin = <0>;
/* the same value share a same task
* valid value range : 0 ~ 7 */
timer_task_hdl = <0>;
channel_num = <1>;
owi_mode = <1>;
en_x_filter = <0>;
en_dynamic_updata_vdd = <1>;
en_dynamic_updata_pvdd = <0>;
dynamic_updata_vdd_port = <0x2>;
};
};
&sound {
si,sia81xx-max-num = <2>;
si,sia81xx-aux-devs = <&sia81xx_R>, <&sia81xx_L>;
si,sia81xx-aux-devs-prefix = "SpkrRight", "SpkrLeft";
};
&i2c6 {
#address-cells = <1>;
#size-cells = <0>;
clock-frequency = <400000>;
mediatek,use-open-drain;
sia81xx_i2c_R: sia81xx_i2c@R {
compatible = "si,sia8152-i2c";
reg = <0x58>;
si,sia81xx-dev = <&sia81xx_R>;
};
sia81xx_i2c_L: sia81xx_i2c@L {
compatible = "si,sia8109-i2c";
reg = <0x2a>;
si,sia81xx-dev = <&sia81xx_L>;
};
};