// SPDX-License-Identifier: GPL-2.0-only /* * Project Aurora - B10B-2 (RAM test only) = B10B-1 DTB + upstream PM8916 LBC charger (pm8916_lbc). * USB extcon has exactly one owner: pm8916_charger (LBC driver registers EXTCON_USB from the usb_vbus IRQ 0x13 bit1). * pm8916_usbin (qcom,pm8941-misc on the same IRQ) is disabled; usb + usb_hs_phy point to pm8916_charger (as msm8916-longcheer-l8150). * Temporary B10 limits: safe voltage 4.20 V, safe current request 500 mA (hardware step 90 mA -> IBAT_SAFE/IBAT_MAX field 4 = 450 mA); * VDD_MAX comes from simple-battery voltage-max-design 4.20 V (cell allows 4.35 V - deliberately not used). */ #include "msm8916-jz08-aurora-b10b1.dts" / { model = "JZ08AU Aurora (RAM boot B10B-2)"; }; &pm8916_usbin { status = "disabled"; }; &pm8916_charger { status = "okay"; monitored-battery = <&battery>; qcom,fast-charge-safe-voltage = <4200000>; qcom,fast-charge-safe-current = <500000>; }; &pm8916_bms { power-supplies = <&pm8916_charger>; }; &usb { extcon = <&pm8916_charger>; }; &usb_hs_phy { extcon = <&pm8916_charger>; };