[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3600c556-ccb3-40a8-9c53-a718a97468ae@linaro.org>
Date: Fri, 16 Feb 2024 09:09:44 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Eddie James <eajames@...ux.ibm.com>, linux-fsi@...ts.ozlabs.org
Cc: linux-kernel@...r.kernel.org, linux-i2c@...r.kernel.org,
linux-clk@...r.kernel.org, devicetree@...r.kernel.org,
andi.shyti@...nel.org, alistair@...ple.id.au, joel@....id.au, jk@...abs.org,
sboyd@...nel.org, mturquette@...libre.com, robh@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org
Subject: Re: [PATCH 10/33] fsi: aspeed: Add AST2700 support
On 15/02/2024 23:07, Eddie James wrote:
> AST2700 requires a few bits set differently in the OPB retry
> counter register, so add some match data and set the register
> accordingly.
>
> Signed-off-by: Eddie James <eajames@...ux.ibm.com>
> ---
> drivers/fsi/fsi-master-aspeed.c | 28 +++++++++++++++++++++++++---
> +
> static const struct of_device_id fsi_master_aspeed_match[] = {
> - { .compatible = "aspeed,ast2600-fsi-master" },
> + {
> + .compatible = "aspeed,ast2600-fsi-master",
> + .data = &fsi_master_ast2600_data,
> + },
> + {
> + .compatible = "aspeed,ast2700-fsi-master",
Undocumented. Really, you do not have checkpatch in IBM?
Please run scripts/checkpatch.pl and fix reported warnings. Some
warnings can be ignored, but the code here looks like it needs a fix.
Feel free to get in touch if the warning is not clear.
Best regards,
Krzysztof
Powered by blists - more mailing lists