Re: [PATCH 1/2] soc: qcom: geni-se: Add M_TX_FIFO_NOT_EMPTY bit definition
From: Bjorn Andersson
Date: Sat Jan 27 2024 - 22:10:20 EST
On Fri, Jan 12, 2024 at 03:03:07PM -0800, Douglas Anderson wrote:
> According to the docs I have, bit 21 of the status register is
> asserted when the FIFO is _not_ empty. Add the definition.
>
> Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
Acked-by: Bjorn Andersson <andersson@xxxxxxxxxx>
Regards,
Bjorn
> ---
>
> include/linux/soc/qcom/geni-se.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/soc/qcom/geni-se.h b/include/linux/soc/qcom/geni-se.h
> index 29e06905bc1f..0f038a1a0330 100644
> --- a/include/linux/soc/qcom/geni-se.h
> +++ b/include/linux/soc/qcom/geni-se.h
> @@ -178,6 +178,7 @@ struct geni_se {
> #define M_GP_IRQ_3_EN BIT(12)
> #define M_GP_IRQ_4_EN BIT(13)
> #define M_GP_IRQ_5_EN BIT(14)
> +#define M_TX_FIFO_NOT_EMPTY_EN BIT(21)
> #define M_IO_DATA_DEASSERT_EN BIT(22)
> #define M_IO_DATA_ASSERT_EN BIT(23)
> #define M_RX_FIFO_RD_ERR_EN BIT(24)
> --
> 2.43.0.275.g3460e3d667-goog
>