Hi Hoegeun,
On 09/13/2017 04:33 AM, Hoegeun Kwon wrote:
I think there is some misunderstanding, mu suggestion was to keep theThank you for your question.@@ -1017,8 +1083,12 @@ static irqreturn_t gsc_irq_handler(int irq,Can you keep the "samsung,exynos5-gsc" entry with the gsc_v_5250_variant
void *priv)
static const struct of_device_id exynos_gsc_match[] = {
{
- .compatible = "samsung,exynos5-gsc",
- .data = &gsc_v_100_drvdata,
data, so that it can work with "samsung,exynos5-gsc" compatible in DT
on both exynos5250 and exynos5420 SoCs?
Exynos 5250 and 5420 have different hardware rotation limits.
Exynos 5250 is '.real_rot_en_w/h = 2016' and 5420 is '.real_rot_en_w/h =
2048'.
So my opinion they must have different compatible.
"samsung,exynos5-gsc" compatible entry in addition to the new introduced
ones: "samsung,exynos5250-gsc" and "samsung,exynos5420-gsc". That's in
order to make your changes possibly backward compatible, in theory
the updated driver should still work without changes in dts.