Messages in this thread | | | Date | Tue, 29 Aug 2023 15:20:46 +0530 | Subject | Re: [PATCH v3 1/2] irqchip/qcom-pdc: Add support for v3.2 HW | From | "Maulik Shah (mkshah)" <> |
| |
Hi,
On 8/29/2023 2:51 PM, Dmitry Baryshkov wrote: > From: Neil Armstrong <neil.armstrong@linaro.org> > > Starting from HW version 3.2 the IRQ_ENABLE bit has moved to the > IRQ_i_CFG register and requires a change of the driver to avoid > writing into an undefined register address. > > Get the HW version from registers and set the IRQ_ENABLE bit to the > correct register depending on the HW version. > > Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> > [DB: fix crash on sm8150 DTs which listed short PDC region] > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- > drivers/irqchip/qcom-pdc.c | 73 ++++++++++++++++++++++++++++++-------- > 1 file changed, 59 insertions(+), 14 deletions(-)
Reviewed-by: Maulik Shah <quic_mkshah@quicinc.com>
Thanks, Maulik
| |