Message ID | 20220822091945.21343-4-zheng-yan.chen@mediatek.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add gamma lut support for mt8195 | expand |
On 22/08/2022 12:19, zheng-yan.chen wrote: > Modify gamma compatible for mt8195. > > Signed-off-by: zheng-yan.chen <zheng-yan.chen@mediatek.com> > > --- > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > index a50ebb5d145f..8504d01b103a 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > @@ -2021,8 +2021,8 @@ > mediatek,gce-client-reg = <&gce0 SUBSYS_1c00XXXX 0x5000 0x1000>; > }; > > - gamma0: gamma@1c006000 { > - compatible = "mediatek,mt8195-disp-gamma", "mediatek,mt8183-disp-gamma"; > + gamma0: disp_gamma@1c006000 { No, really, no. Not explained in commit msg, violates naming convention, violates coding style, not related to the patch at all. Best regards, Krzysztof
On Tue, 2022-08-23 at 11:40 +0300, Krzysztof Kozlowski wrote: > On 22/08/2022 12:19, zheng-yan.chen wrote: > > Modify gamma compatible for mt8195. > > > > Signed-off-by: zheng-yan.chen <zheng-yan.chen@mediatek.com> > > > > --- > > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi > > b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > > index a50ebb5d145f..8504d01b103a 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi > > +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > > @@ -2021,8 +2021,8 @@ > > mediatek,gce-client-reg = <&gce0 > > SUBSYS_1c00XXXX 0x5000 0x1000>; > > }; > > > > - gamma0: gamma@1c006000 { > > - compatible = "mediatek,mt8195-disp-gamma", > > "mediatek,mt8183-disp-gamma"; > > + gamma0: disp_gamma@1c006000 { > > No, really, no. > > Not explained in commit msg, violates naming convention, violates > coding > style, not related to the patch at all. > > Best regards, > Krzysztof Sorry about that, I will change this "disp_gamma" back to "gamma". Best Regards, Zheng-Yan Chen
diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index a50ebb5d145f..8504d01b103a 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi @@ -2021,8 +2021,8 @@ mediatek,gce-client-reg = <&gce0 SUBSYS_1c00XXXX 0x5000 0x1000>; }; - gamma0: gamma@1c006000 { - compatible = "mediatek,mt8195-disp-gamma", "mediatek,mt8183-disp-gamma"; + gamma0: disp_gamma@1c006000 { + compatible = "mediatek,mt8195-disp-gamma"; reg = <0 0x1c006000 0 0x1000>; interrupts = <GIC_SPI 642 IRQ_TYPE_LEVEL_HIGH 0>; power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
Modify gamma compatible for mt8195. Signed-off-by: zheng-yan.chen <zheng-yan.chen@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)