Re: [PATCH v2] pinctrl: qcom: restrict drivers per ARM/ARM64

From: Krzysztof Kozlowski
Date: Sun Sep 25 2022 - 07:54:40 EST


On 25/09/2022 13:43, Dmitry Baryshkov wrote:
>
>
> On 25 September 2022 14:21:03 GMT+03:00, Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> wrote:
>> There is no point to allow selecting pin-controller drivers for Qualcomm
>> ARMv7 SoCs when building ARM64 kernel, and vice versa. This makes
>> kernel configuration more difficult as many do not remember the Qualcomm
>> SoCs. There won't be a single image for ARMv7 and ARMv8/9 SoCs, so no
>> features/options are lost.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
>
> I haven't checked which restrictions apply to msm8916 at this moment, but it might be worth adding 'depends on ARM || ARM64 || COMPILE_TEST'

This is limited by ARCH_QCOM (top-level if in the file), so I am not
sure what would be benefits.

Best regards,
Krzysztof