Skip to content

Commit f0e5e18

Browse files
Marek Vasutbebarino
authored andcommitted
clk: rs9: Add support for 9FGV0841
This model is similar to 9FGV0441, the DIFx bits start at bit 0 again, except this chip has 8 outputs. Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Link: https://lore.kernel.org/r/20231113221949.111964-4-marek.vasut+renesas@mailbox.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent cd9a5c9 commit f0e5e18

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

drivers/clk/clk-renesas-pcie.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Currently supported:
88
* - 9FGV0241
99
* - 9FGV0441
10+
* - 9FGV0841
1011
*
1112
* Copyright (C) 2022 Marek Vasut <marex@denx.de>
1213
*/
@@ -385,16 +386,24 @@ static const struct rs9_chip_info renesas_9fgv0441_info = {
385386
.did = RS9_REG_DID_TYPE_FGV | 0x04,
386387
};
387388

389+
static const struct rs9_chip_info renesas_9fgv0841_info = {
390+
.num_clks = 8,
391+
.outshift = 0,
392+
.did = RS9_REG_DID_TYPE_FGV | 0x08,
393+
};
394+
388395
static const struct i2c_device_id rs9_id[] = {
389396
{ "9fgv0241", .driver_data = (kernel_ulong_t)&renesas_9fgv0241_info },
390397
{ "9fgv0441", .driver_data = (kernel_ulong_t)&renesas_9fgv0441_info },
398+
{ "9fgv0841", .driver_data = (kernel_ulong_t)&renesas_9fgv0841_info },
391399
{ }
392400
};
393401
MODULE_DEVICE_TABLE(i2c, rs9_id);
394402

395403
static const struct of_device_id clk_rs9_of_match[] = {
396404
{ .compatible = "renesas,9fgv0241", .data = &renesas_9fgv0241_info },
397405
{ .compatible = "renesas,9fgv0441", .data = &renesas_9fgv0441_info },
406+
{ .compatible = "renesas,9fgv0841", .data = &renesas_9fgv0841_info },
398407
{ }
399408
};
400409
MODULE_DEVICE_TABLE(of, clk_rs9_of_match);

0 commit comments

Comments
 (0)