Message ID | 20230327140752.163009-1-krzysztof.kozlowski@linaro.org |
---|---|
Headers | show |
Series | mailbox/arm64: qcom: rework compatibles for fallback | expand |
On Mon, 27 Mar 2023 at 17:17, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > IPQ8074 mailbox is compatible with IPQ6018. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > arch/arm64/boot/dts/qcom/ipq8074.dtsi | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
On Mon, 27 Mar 2023 at 17:17, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > Re-organize the compatible devices and add a comment to avoid unneeded > of_device_id growth with every new SoC. These devices have quite a lot > of similarities and they can use only one compatible fallback for driver > binding. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > drivers/mailbox/qcom-apcs-ipc-mailbox.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
On Mon, 27 Mar 2023 at 17:17, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > Rework the compatibles of IPQ8074, SC7180, SC8180X and SM8150 as > compatible devices (same from Linux driver point of view). This allows > smaller of_device_id table in the Linux driver and smaller > allOf:if:then: constraints. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Acked-by: Rob Herring <robh@kernel.org> > > --- > > Changes since v3: > 1. Narrow the scope of the patch after feedback from Dmitry. > > Depends on (merged to Qualcomm SoC tree): > https://lore.kernel.org/linux-arm-msm/20230322173559.809805-1-krzysztof.kozlowski@linaro.org/T/#t > --- > .../mailbox/qcom,apcs-kpss-global.yaml | 31 ++++++++++--------- > 1 file changed, 16 insertions(+), 15 deletions(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Thank you!