[PATCH v1 1/2] dt-bindings: reset: mt8188: Add reset control for DSI0
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Wed Mar 22 02:27:25 PDT 2023
Il 22/03/23 09:34, Krzysztof Kozlowski ha scritto:
> On 22/03/2023 04:22, Shawn Sung wrote:
>> Add reset control for DSI0.
>>
>> Signed-off-by: Shawn Sung <shawn.sung at mediatek.com>
>> ---
>> include/dt-bindings/reset/mt8188-resets.h | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/include/dt-bindings/reset/mt8188-resets.h b/include/dt-bindings/reset/mt8188-resets.h
>> index 377cdfda82a9..5c9e74130ef0 100644
>> --- a/include/dt-bindings/reset/mt8188-resets.h
>> +++ b/include/dt-bindings/reset/mt8188-resets.h
>> @@ -33,4 +33,7 @@
>>
>> #define MT8188_TOPRGU_SW_RST_NUM 24
>>
>> +/* VDOSYS0 */
>> +#define MT8188_VDO0_RST_DSI0 21
>
> Why this is not 0? IDs start from 0.
>
Because mtk-mmsys needs to be fixed, bindings IDs are *again* 1:1 with HW bits,
there's no mapping like the one that was "recently" done in clk/mediatek resets.
Since VDO0/1 have got lots of holes in reset bit mapping, it's definitely time
to fix this situation now.....
Shawn, please fix.
For your reference, look at [1] and [2].
[1]: https://lore.kernel.org/all/20220523060056.24396-9-rex-bc.chen@mediatek.com/
[2]: https://lore.kernel.org/all/20220523060056.24396-15-rex-bc.chen@mediatek.com/
Regards,
Angelo
>
More information about the linux-arm-kernel
mailing list