From: Cezary Rojewski <cezary.rojewski@intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: linux-spi@vger.kernel.org, broonie@kernel.org
Subject: Re: [PATCH] spi: pxa2xx: Add SSC2 and SSPSP2 SSP registers
Date: Tue, 25 Aug 2020 22:22:51 +0200 [thread overview]
Message-ID: <7eff0658-dd7a-6fac-6de0-b865e458411f@intel.com> (raw)
In-Reply-To: <20200825193817.GR1891694@smile.fi.intel.com>
On 2020-08-25 9:38 PM, Andy Shevchenko wrote:
> On Tue, Aug 25, 2020 at 07:17:30PM +0200, Cezary Rojewski wrote:
>> Update list of SSP registers with SSC2 and SSPSP2. These registers are
>> utilized by LPT/WPT AudioDSP architecture.
>>
>> While SSC2 shares the same offset (0x40) as SSACDD, description of this
>> register for SSP device present on mentioned AudioDSP is different so
>> define separate constant to avoid any ambiguity.
>
> In general it's okay, couple of nit-picks, though. After addressing,
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
Thanks for quick review, Andy.
>> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>> Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
>> ---
>> include/linux/pxa2xx_ssp.h | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/include/linux/pxa2xx_ssp.h b/include/linux/pxa2xx_ssp.h
>> index 6facf27865f9..935d7db5bc32 100644
>> --- a/include/linux/pxa2xx_ssp.h
>> +++ b/include/linux/pxa2xx_ssp.h
>> @@ -41,6 +41,8 @@
>> #define SSTSS (0x38) /* SSP Timeslot Status */
>> #define SSACD (0x3C) /* SSP Audio Clock Divider */
>> #define SSACDD (0x40) /* SSP Audio Clock Dither Divider */
>> +#define SSC2 (0x40) /* SSP Command / Status 2 */
>
> Is it the same as been called SSCR2 in Tangier? (Also called SSP Command
> Status register 2) I guess we may name it with R applied.
>
It seems there is discrepancy in registers naming. LPT/ WPT specs have
all 'R'(s) removed. Don't mind appending it - aligns with existing SSCR0
& SSCR1.
Know nothing about Tangier, though : )
>> +#define SSPSP2 (0x44) /* SSP Programmable Serial Protocol 2 */
>
> Also, please move them below with a comment like LPSS SSP block:
> https://elixir.bootlin.com/linux/latest/source/include/linux/pxa2xx_ssp.h#L181
>
Added in v2 as requested.
prev parent reply other threads:[~2020-08-25 20:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-25 17:17 [PATCH] spi: pxa2xx: Add SSC2 and SSPSP2 SSP registers Cezary Rojewski
2020-08-25 19:38 ` Andy Shevchenko
2020-08-25 20:22 ` Cezary Rojewski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7eff0658-dd7a-6fac-6de0-b865e458411f@intel.com \
--to=cezary.rojewski@intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=broonie@kernel.org \
--cc=linux-spi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).