Skip to content

Commit 53e58f1

Browse files
marcanjannau
authored andcommitted
arm64: dts: apple: imx558: Add downscaled resolution presets
To match those from cfg0. The 4:3 crops are different and this also has a 1:1 config, so we might want to unify things at some point... Signed-off-by: Hector Martin <marcan@marcan.st>
1 parent 864a7f3 commit 53e58f1

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

arch/arm64/boot/dts/apple/isp-imx558.dtsi

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,47 @@
4646
apple,output-size = <1152 1152>;
4747
apple,crop = <0 0 1152 1152>;
4848
};
49+
/* 1280x720 */
50+
preset5 {
51+
apple,config-index = <1>;
52+
apple,input-size = <1920 1080>;
53+
apple,output-size = <1280 720>;
54+
apple,crop = <0 0 1920 1080>;
55+
};
56+
/* 720x1280 */
57+
preset6 {
58+
apple,config-index = <2>;
59+
apple,input-size = <1080 1920>;
60+
apple,output-size = <720 1280>;
61+
apple,crop = <0 0 1080 1920>;
62+
};
63+
/* 1280x960 */
64+
preset7 {
65+
apple,config-index = <3>;
66+
apple,input-size = <1760 1328>;
67+
apple,output-size = <1280 960>;
68+
apple,crop = <0 4 1760 1320>;
69+
};
70+
/* 960x1280 */
71+
preset8 {
72+
apple,config-index = <4>;
73+
apple,input-size = <1328 1760>;
74+
apple,output-size = <960 1280>;
75+
apple,crop = <4 0 1320 1760>;
76+
};
77+
/* 640x480 */
78+
preset9 {
79+
apple,config-index = <3>;
80+
apple,input-size = <1760 1328>;
81+
apple,output-size = <640 480>;
82+
apple,crop = <0 4 1760 1320>;
83+
};
84+
/* 480x640 */
85+
preset10 {
86+
apple,config-index = <4>;
87+
apple,input-size = <1328 1760>;
88+
apple,output-size = <480 640>;
89+
apple,crop = <4 0 1320 1760>;
90+
};
4991
};
5092
};

0 commit comments

Comments
 (0)