完成 #274 » 0001-feat-enable-rockchip-saradc-driver.patch
| sysdrv/source/kernel/arch/arm/boot/dts/rv1106-board.dtsi | ||
|---|---|---|
|
/{
|
||
|
model = "rv1106-board";
|
||
|
compatible = "rockchip,rv1106g-evb1-v11", "rockchip,rv1106";
|
||
|
|
||
|
adc-keys {
|
||
|
compatible = "adc-keys";
|
||
|
io-channels = <&saradc 0>;
|
||
| ... | ... | |
|
// rpdzkj: If the internal rtc is not used, must be disabled it!!! otherwise it will affect the system startup.
|
||
|
&rtc {
|
||
|
status = "disabled";
|
||
|
};
|
||
|
};
|
||
|
/{
|
||
|
vcc_virtual: vcc-virtual {
|
||
|
compatible = "regulator-fixed";
|
||
|
regulator-name = "vcc-virtual";
|
||
|
regulator-min-microvolt = <1800000>;
|
||
|
regulator-max-microvolt = <1800000>;
|
||
|
regulator-boot-on;
|
||
|
regulator-always-on;
|
||
|
status = "okay";
|
||
|
};
|
||
|
};
|
||
|
&saradc {
|
||
|
status = "okay";
|
||
|
vref-supply = <&vcc_virtual>;
|
||
|
};
|
||
| sysdrv/source/kernel/arch/arm/configs/rv1106-evb.config | ||
|---|---|---|
|
# CONFIG_USB_CYTHERM is not set
|
||
|
CONFIG_USB_DEFAULT_PERSIST=y
|
||
|
# CONFIG_USB_DUMMY_HCD is not set
|
||
|
# CONFIG_USB_DWC2 is not set
|
||
|
CONFIG_USB_DWC3=y
|
||
|
CONFIG_USB_DWC3_DUAL_ROLE=y
|
||
|
CONFIG_USB_DWC2 is not set
|
||
|
# CONFIG_USB_DWC3=y
|
||
|
# CONFIG_USB_DWC3_DUAL_ROLE=y
|
||
|
# CONFIG_USB_DWC3_GADGET is not set
|
||
|
# CONFIG_USB_DWC3_HOST is not set
|
||
|
CONFIG_USB_DWC3_OF_SIMPLE=y
|
||
|
# CONFIG_USB_DWC3_OF_SIMPLE=y
|
||
|
# CONFIG_USB_DYNAMIC_MINORS is not set
|
||
|
# CONFIG_USB_EHSET_TEST_FIXTURE is not set
|
||
|
# CONFIG_USB_EMI26 is not set
|
||
| ... | ... | |
|
CONFIG_USB_VIDEO_CLASS=y
|
||
|
CONFIG_SUSPEND=y
|
||
|
CONFIG_REGULATOR_VIRTUAL_CONSUMER=y
|
||
|
CONFIG_ROCKCHIP_SARADC=y
|
||
|
CONFIG_RESET_CONTROLLER=y
|
||
- « Previous
- 1
- 2
- Next »