Message ID | 20211111031635.3839947-8-danct12@riseup.net (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Improve support for Xiaomi Redmi Note 7 | expand |
On 11.11.2021 04:16, Dang Huynh wrote: > This lets the user sees the framebuffer console. > > Reviewed-by: Caleb Connolly <caleb@connolly.tech> > Reviewed-by: Martin Botka <martin.botka@somainline.org> > Reviewed-by: Konrad Dybcio <konradybcio@gmail.com> Drop. > Signed-off-by: Dang Huynh <danct12@riseup.net> > --- > .../boot/dts/qcom/sdm660-xiaomi-lavender.dts | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts > index 8de3e111f427..712392545c2e 100644 > --- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts > +++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts > @@ -23,7 +23,20 @@ aliases { > }; > > chosen { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > stdout-path = "serial0:115200n8"; > + > + framebuffer0: framebuffer@9d400000 { > + compatible = "simple-framebuffer"; > + reg = <0 0x9d400000 0 (1080 * 2340 * 4)>; > + width = <1080>; > + height = <2340>; > + stride = <(1080 * 4)>; > + format = "a8r8g8b8"; > + }; > }; > > vph_pwr: vph-pwr-regulator { > @@ -61,6 +74,11 @@ ramoops@a0000000 { > ftrace-size = <0x0>; > pmsg-size = <0x20000>; > }; > + > + framebuffer_mem: memory@9d400000 { > + reg = <0x0 0x9d400000 0x0 0x23ff000>; > + no-map; > + }; > }; > }; > Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Konrad
diff --git a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts index 8de3e111f427..712392545c2e 100644 --- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts +++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts @@ -23,7 +23,20 @@ aliases { }; chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + stdout-path = "serial0:115200n8"; + + framebuffer0: framebuffer@9d400000 { + compatible = "simple-framebuffer"; + reg = <0 0x9d400000 0 (1080 * 2340 * 4)>; + width = <1080>; + height = <2340>; + stride = <(1080 * 4)>; + format = "a8r8g8b8"; + }; }; vph_pwr: vph-pwr-regulator { @@ -61,6 +74,11 @@ ramoops@a0000000 { ftrace-size = <0x0>; pmsg-size = <0x20000>; }; + + framebuffer_mem: memory@9d400000 { + reg = <0x0 0x9d400000 0x0 0x23ff000>; + no-map; + }; }; };