[PATCH v4 1/3] mtd: rawnand: qcom: Pass 18 bit offset from NANDc base to BAM base
Gabor Juhos
j4g8y7 at gmail.com
Fri Apr 25 00:36:16 PDT 2025
2025. 04. 10. 12:00 keltezéssel, Md Sadre Alam írta:
> The BAM command descriptor provides only 18 bits to specify the NAND
> register offset. Additionally, in the BAM command descriptor, the NAND
> register offset is supposed to be specified as "(NANDc base - BAM base)
> + reg_off". Since, the BAM controller expecting the value in the form of
> "NANDc base - BAM base", so that added a new field 'bam_offset' in the NAND
> properties structure and use it while preparing the command descriptor.
>
> Previously, the driver was specifying the NANDc base address in the BAM
> command descriptor.
>
> Cc: stable at vger.kernel.org
> Fixes: 8d6b6d7e135e ("mtd: nand: qcom: support for command descriptor formation")
> Tested-by: Lakshmi Sowjanya D <quic_laksd at quicinc.com>
> Signed-off-by: Md Sadre Alam <quic_mdalam at quicinc.com>
Tested-by: Gabor Juhos <j4g8y7 at gmail.com> # on IPQ9574
More information about the linux-mtd
mailing list