* [PATCH mfd v1 2/2] mfd: rsmu: add FemtoClock3 support [not found] <53efc0ac491055cedbef156b3c3410fa5342e637.1712857691.git.lnimi@hotmail.com> @ 2024-04-11 17:52 ` Min Li 2024-04-12 7:42 ` Lee Jones 0 siblings, 1 reply; 5+ messages in thread From: Min Li @ 2024-04-11 17:52 UTC (permalink / raw) To: lee; +Cc: linux-kernel, Min Li From: Min Li <min.li.xe@renesas.com> The RENESAS FemtoClock3 Wireless is a high-performance jitter attenuator, frequency translator, and clock synthesizer. This patch only adds support for I2C. Signed-off-by: Min Li <min.li.xe@renesas.com> --- drivers/mfd/rsmu_core.c | 10 +++++----- drivers/mfd/rsmu_i2c.c | 16 ++++++++-------- include/linux/mfd/rsmu.h | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/mfd/rsmu_core.c b/drivers/mfd/rsmu_core.c index 29437fd0b..951ddd92c 100644 --- a/drivers/mfd/rsmu_core.c +++ b/drivers/mfd/rsmu_core.c @@ -40,12 +40,12 @@ static struct mfd_cell rsmu_sabre_devs[] = { }, }; -static struct mfd_cell rsmu_sl_devs[] = { +static struct mfd_cell rsmu_fc3_devs[] = { [RSMU_PHC] = { - .name = "8v19n85x-phc", + .name = "rc38xxx-phc", }, [RSMU_CDEV] = { - .name = "8v19n85x-cdev", + .name = "rc38xxx-cdev", }, }; @@ -61,8 +61,8 @@ int rsmu_core_init(struct rsmu_ddata *rsmu) case RSMU_SABRE: cells = rsmu_sabre_devs; break; - case RSMU_SL: - cells = rsmu_sl_devs; + case RSMU_FC3: + cells = rsmu_fc3_devs; break; default: dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); diff --git a/drivers/mfd/rsmu_i2c.c b/drivers/mfd/rsmu_i2c.c index cba64f107..a3f50a184 100644 --- a/drivers/mfd/rsmu_i2c.c +++ b/drivers/mfd/rsmu_i2c.c @@ -262,11 +262,11 @@ static const struct regmap_config rsmu_sabre_regmap_config = { .can_multi_write = true, }; -static const struct regmap_config rsmu_sl_regmap_config = { +static const struct regmap_config rsmu_fc3_regmap_config = { .reg_bits = 16, .val_bits = 8, .reg_format_endian = REGMAP_ENDIAN_BIG, - .max_register = 0x340, + .max_register = 0xE88, .cache_type = REGCACHE_NONE, .can_multi_write = true, }; @@ -302,8 +302,8 @@ static int rsmu_i2c_probe(struct i2c_client *client) case RSMU_SABRE: cfg = &rsmu_sabre_regmap_config; break; - case RSMU_SL: - cfg = &rsmu_sl_regmap_config; + case RSMU_FC3: + cfg = &rsmu_fc3_regmap_config; break; default: dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); @@ -336,8 +336,8 @@ static const struct i2c_device_id rsmu_i2c_id[] = { { "8a34001", RSMU_CM }, { "82p33810", RSMU_SABRE }, { "82p33811", RSMU_SABRE }, - { "8v19n850", RSMU_SL }, - { "8v19n851", RSMU_SL }, + { "rc38xxx0", RSMU_FC3 }, + { "rc38xxx1", RSMU_FC3 }, {} }; MODULE_DEVICE_TABLE(i2c, rsmu_i2c_id); @@ -347,8 +347,8 @@ static const struct of_device_id rsmu_i2c_of_match[] = { { .compatible = "idt,8a34001", .data = (void *)RSMU_CM }, { .compatible = "idt,82p33810", .data = (void *)RSMU_SABRE }, { .compatible = "idt,82p33811", .data = (void *)RSMU_SABRE }, - { .compatible = "idt,8v19n850", .data = (void *)RSMU_SL }, - { .compatible = "idt,8v19n851", .data = (void *)RSMU_SL }, + { .compatible = "idt,rc38xxx0", .data = (void *)RSMU_FC3 }, + { .compatible = "idt,rc38xxx1", .data = (void *)RSMU_FC3 }, {} }; MODULE_DEVICE_TABLE(of, rsmu_i2c_of_match); diff --git a/include/linux/mfd/rsmu.h b/include/linux/mfd/rsmu.h index 0379aa207..b4a90fc81 100644 --- a/include/linux/mfd/rsmu.h +++ b/include/linux/mfd/rsmu.h @@ -11,11 +11,11 @@ #define RSMU_MAX_WRITE_COUNT (255) #define RSMU_MAX_READ_COUNT (255) -/* The supported devices are ClockMatrix, Sabre and SnowLotus */ +/* The supported devices are ClockMatrix, Sabre and FemtoClock3 */ enum rsmu_type { RSMU_CM = 0x34000, RSMU_SABRE = 0x33810, - RSMU_SL = 0x19850, + RSMU_FC3 = 0x38312, }; /** -- 2.39.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH mfd v1 2/2] mfd: rsmu: add FemtoClock3 support 2024-04-11 17:52 ` [PATCH mfd v1 2/2] mfd: rsmu: add FemtoClock3 support Min Li @ 2024-04-12 7:42 ` Lee Jones 0 siblings, 0 replies; 5+ messages in thread From: Lee Jones @ 2024-04-12 7:42 UTC (permalink / raw) To: Min Li; +Cc: linux-kernel, Min Li Did you submit this set as --thread? The 2 patches are completely separate in my inbox. On Thu, 11 Apr 2024, Min Li wrote: > From: Min Li <min.li.xe@renesas.com> > > The RENESAS FemtoClock3 Wireless is a high-performance > jitter attenuator, frequency translator, and clock > synthesizer. This patch only adds support for I2C. 54 chars is too short, should be more like 70+. What I2C support is being added here? > Signed-off-by: Min Li <min.li.xe@renesas.com> > --- > drivers/mfd/rsmu_core.c | 10 +++++----- > drivers/mfd/rsmu_i2c.c | 16 ++++++++-------- > include/linux/mfd/rsmu.h | 4 ++-- > 3 files changed, 15 insertions(+), 15 deletions(-) > > diff --git a/drivers/mfd/rsmu_core.c b/drivers/mfd/rsmu_core.c > index 29437fd0b..951ddd92c 100644 > --- a/drivers/mfd/rsmu_core.c > +++ b/drivers/mfd/rsmu_core.c > @@ -40,12 +40,12 @@ static struct mfd_cell rsmu_sabre_devs[] = { > }, > }; > > -static struct mfd_cell rsmu_sl_devs[] = { > +static struct mfd_cell rsmu_fc3_devs[] = { > [RSMU_PHC] = { > - .name = "8v19n85x-phc", > + .name = "rc38xxx-phc", You don't say anything about why 8v19n85x-phc is being removed in the commit message. Please describe the whole change properly. > }, > [RSMU_CDEV] = { > - .name = "8v19n85x-cdev", > + .name = "rc38xxx-cdev", > }, > }; > > @@ -61,8 +61,8 @@ int rsmu_core_init(struct rsmu_ddata *rsmu) > case RSMU_SABRE: > cells = rsmu_sabre_devs; > break; > - case RSMU_SL: > - cells = rsmu_sl_devs; > + case RSMU_FC3: > + cells = rsmu_fc3_devs; > break; > default: > dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); > diff --git a/drivers/mfd/rsmu_i2c.c b/drivers/mfd/rsmu_i2c.c > index cba64f107..a3f50a184 100644 > --- a/drivers/mfd/rsmu_i2c.c > +++ b/drivers/mfd/rsmu_i2c.c > @@ -262,11 +262,11 @@ static const struct regmap_config rsmu_sabre_regmap_config = { > .can_multi_write = true, > }; > > -static const struct regmap_config rsmu_sl_regmap_config = { > +static const struct regmap_config rsmu_fc3_regmap_config = { > .reg_bits = 16, > .val_bits = 8, > .reg_format_endian = REGMAP_ENDIAN_BIG, > - .max_register = 0x340, > + .max_register = 0xE88, > .cache_type = REGCACHE_NONE, > .can_multi_write = true, > }; > @@ -302,8 +302,8 @@ static int rsmu_i2c_probe(struct i2c_client *client) > case RSMU_SABRE: > cfg = &rsmu_sabre_regmap_config; > break; > - case RSMU_SL: > - cfg = &rsmu_sl_regmap_config; > + case RSMU_FC3: > + cfg = &rsmu_fc3_regmap_config; > break; > default: > dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); > @@ -336,8 +336,8 @@ static const struct i2c_device_id rsmu_i2c_id[] = { > { "8a34001", RSMU_CM }, > { "82p33810", RSMU_SABRE }, > { "82p33811", RSMU_SABRE }, > - { "8v19n850", RSMU_SL }, > - { "8v19n851", RSMU_SL }, > + { "rc38xxx0", RSMU_FC3 }, > + { "rc38xxx1", RSMU_FC3 }, > {} > }; > MODULE_DEVICE_TABLE(i2c, rsmu_i2c_id); > @@ -347,8 +347,8 @@ static const struct of_device_id rsmu_i2c_of_match[] = { > { .compatible = "idt,8a34001", .data = (void *)RSMU_CM }, > { .compatible = "idt,82p33810", .data = (void *)RSMU_SABRE }, > { .compatible = "idt,82p33811", .data = (void *)RSMU_SABRE }, > - { .compatible = "idt,8v19n850", .data = (void *)RSMU_SL }, > - { .compatible = "idt,8v19n851", .data = (void *)RSMU_SL }, > + { .compatible = "idt,rc38xxx0", .data = (void *)RSMU_FC3 }, > + { .compatible = "idt,rc38xxx1", .data = (void *)RSMU_FC3 }, > {} > }; > MODULE_DEVICE_TABLE(of, rsmu_i2c_of_match); > diff --git a/include/linux/mfd/rsmu.h b/include/linux/mfd/rsmu.h > index 0379aa207..b4a90fc81 100644 > --- a/include/linux/mfd/rsmu.h > +++ b/include/linux/mfd/rsmu.h > @@ -11,11 +11,11 @@ > #define RSMU_MAX_WRITE_COUNT (255) > #define RSMU_MAX_READ_COUNT (255) > > -/* The supported devices are ClockMatrix, Sabre and SnowLotus */ > +/* The supported devices are ClockMatrix, Sabre and FemtoClock3 */ > enum rsmu_type { > RSMU_CM = 0x34000, > RSMU_SABRE = 0x33810, > - RSMU_SL = 0x19850, > + RSMU_FC3 = 0x38312, > }; > > /** > -- > 2.39.2 > -- Lee Jones [李琼斯] ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20240501160458.27588-1-lnimi@hotmail.com>]
* [PATCH mfd v1 2/2] mfd: rsmu: add FemtoClock3 support [not found] <20240501160458.27588-1-lnimi@hotmail.com> @ 2024-05-01 16:04 ` Min Li 0 siblings, 0 replies; 5+ messages in thread From: Min Li @ 2024-05-01 16:04 UTC (permalink / raw) To: lee; +Cc: linux-kernel, Min Li From: Min Li <min.li.xe@renesas.com> The RENESAS FemtoClock3 Wireless is a high-performance jitter attenuator, frequency translator, and clock synthesizer. This patch only adds I2C bus access for FemtoClock3 through REGMAP. Signed-off-by: Min Li <min.li.xe@renesas.com> --- drivers/mfd/rsmu_core.c | 10 +++++----- drivers/mfd/rsmu_i2c.c | 16 ++++++++-------- include/linux/mfd/rsmu.h | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/mfd/rsmu_core.c b/drivers/mfd/rsmu_core.c index 29437fd0b..951ddd92c 100644 --- a/drivers/mfd/rsmu_core.c +++ b/drivers/mfd/rsmu_core.c @@ -40,12 +40,12 @@ static struct mfd_cell rsmu_sabre_devs[] = { }, }; -static struct mfd_cell rsmu_sl_devs[] = { +static struct mfd_cell rsmu_fc3_devs[] = { [RSMU_PHC] = { - .name = "8v19n85x-phc", + .name = "rc38xxx-phc", }, [RSMU_CDEV] = { - .name = "8v19n85x-cdev", + .name = "rc38xxx-cdev", }, }; @@ -61,8 +61,8 @@ int rsmu_core_init(struct rsmu_ddata *rsmu) case RSMU_SABRE: cells = rsmu_sabre_devs; break; - case RSMU_SL: - cells = rsmu_sl_devs; + case RSMU_FC3: + cells = rsmu_fc3_devs; break; default: dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); diff --git a/drivers/mfd/rsmu_i2c.c b/drivers/mfd/rsmu_i2c.c index cba64f107..a3f50a184 100644 --- a/drivers/mfd/rsmu_i2c.c +++ b/drivers/mfd/rsmu_i2c.c @@ -262,11 +262,11 @@ static const struct regmap_config rsmu_sabre_regmap_config = { .can_multi_write = true, }; -static const struct regmap_config rsmu_sl_regmap_config = { +static const struct regmap_config rsmu_fc3_regmap_config = { .reg_bits = 16, .val_bits = 8, .reg_format_endian = REGMAP_ENDIAN_BIG, - .max_register = 0x340, + .max_register = 0xE88, .cache_type = REGCACHE_NONE, .can_multi_write = true, }; @@ -302,8 +302,8 @@ static int rsmu_i2c_probe(struct i2c_client *client) case RSMU_SABRE: cfg = &rsmu_sabre_regmap_config; break; - case RSMU_SL: - cfg = &rsmu_sl_regmap_config; + case RSMU_FC3: + cfg = &rsmu_fc3_regmap_config; break; default: dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); @@ -336,8 +336,8 @@ static const struct i2c_device_id rsmu_i2c_id[] = { { "8a34001", RSMU_CM }, { "82p33810", RSMU_SABRE }, { "82p33811", RSMU_SABRE }, - { "8v19n850", RSMU_SL }, - { "8v19n851", RSMU_SL }, + { "rc38xxx0", RSMU_FC3 }, + { "rc38xxx1", RSMU_FC3 }, {} }; MODULE_DEVICE_TABLE(i2c, rsmu_i2c_id); @@ -347,8 +347,8 @@ static const struct of_device_id rsmu_i2c_of_match[] = { { .compatible = "idt,8a34001", .data = (void *)RSMU_CM }, { .compatible = "idt,82p33810", .data = (void *)RSMU_SABRE }, { .compatible = "idt,82p33811", .data = (void *)RSMU_SABRE }, - { .compatible = "idt,8v19n850", .data = (void *)RSMU_SL }, - { .compatible = "idt,8v19n851", .data = (void *)RSMU_SL }, + { .compatible = "idt,rc38xxx0", .data = (void *)RSMU_FC3 }, + { .compatible = "idt,rc38xxx1", .data = (void *)RSMU_FC3 }, {} }; MODULE_DEVICE_TABLE(of, rsmu_i2c_of_match); diff --git a/include/linux/mfd/rsmu.h b/include/linux/mfd/rsmu.h index 0379aa207..b4a90fc81 100644 --- a/include/linux/mfd/rsmu.h +++ b/include/linux/mfd/rsmu.h @@ -11,11 +11,11 @@ #define RSMU_MAX_WRITE_COUNT (255) #define RSMU_MAX_READ_COUNT (255) -/* The supported devices are ClockMatrix, Sabre and SnowLotus */ +/* The supported devices are ClockMatrix, Sabre and FemtoClock3 */ enum rsmu_type { RSMU_CM = 0x34000, RSMU_SABRE = 0x33810, - RSMU_SL = 0x19850, + RSMU_FC3 = 0x38312, }; /** -- 2.39.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
[parent not found: <20240416150020.9898-1-lnimi@hotmail.com>]
* [PATCH mfd v1 2/2] mfd: rsmu: add FemtoClock3 support [not found] <20240416150020.9898-1-lnimi@hotmail.com> @ 2024-04-16 15:00 ` Min Li 0 siblings, 0 replies; 5+ messages in thread From: Min Li @ 2024-04-16 15:00 UTC (permalink / raw) To: lee; +Cc: linux-kernel, Min Li From: Min Li <min.li.xe@renesas.com> The RENESAS FemtoClock3 Wireless is a high-performance jitter attenuator, frequency translator, and clock synthesizer. This patch only adds I2C bus access for FemtoClock3 through REGMAP. Signed-off-by: Min Li <min.li.xe@renesas.com> --- drivers/mfd/rsmu_core.c | 10 +++++----- drivers/mfd/rsmu_i2c.c | 16 ++++++++-------- include/linux/mfd/rsmu.h | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/mfd/rsmu_core.c b/drivers/mfd/rsmu_core.c index 29437fd0b..951ddd92c 100644 --- a/drivers/mfd/rsmu_core.c +++ b/drivers/mfd/rsmu_core.c @@ -40,12 +40,12 @@ static struct mfd_cell rsmu_sabre_devs[] = { }, }; -static struct mfd_cell rsmu_sl_devs[] = { +static struct mfd_cell rsmu_fc3_devs[] = { [RSMU_PHC] = { - .name = "8v19n85x-phc", + .name = "rc38xxx-phc", }, [RSMU_CDEV] = { - .name = "8v19n85x-cdev", + .name = "rc38xxx-cdev", }, }; @@ -61,8 +61,8 @@ int rsmu_core_init(struct rsmu_ddata *rsmu) case RSMU_SABRE: cells = rsmu_sabre_devs; break; - case RSMU_SL: - cells = rsmu_sl_devs; + case RSMU_FC3: + cells = rsmu_fc3_devs; break; default: dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); diff --git a/drivers/mfd/rsmu_i2c.c b/drivers/mfd/rsmu_i2c.c index cba64f107..a3f50a184 100644 --- a/drivers/mfd/rsmu_i2c.c +++ b/drivers/mfd/rsmu_i2c.c @@ -262,11 +262,11 @@ static const struct regmap_config rsmu_sabre_regmap_config = { .can_multi_write = true, }; -static const struct regmap_config rsmu_sl_regmap_config = { +static const struct regmap_config rsmu_fc3_regmap_config = { .reg_bits = 16, .val_bits = 8, .reg_format_endian = REGMAP_ENDIAN_BIG, - .max_register = 0x340, + .max_register = 0xE88, .cache_type = REGCACHE_NONE, .can_multi_write = true, }; @@ -302,8 +302,8 @@ static int rsmu_i2c_probe(struct i2c_client *client) case RSMU_SABRE: cfg = &rsmu_sabre_regmap_config; break; - case RSMU_SL: - cfg = &rsmu_sl_regmap_config; + case RSMU_FC3: + cfg = &rsmu_fc3_regmap_config; break; default: dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); @@ -336,8 +336,8 @@ static const struct i2c_device_id rsmu_i2c_id[] = { { "8a34001", RSMU_CM }, { "82p33810", RSMU_SABRE }, { "82p33811", RSMU_SABRE }, - { "8v19n850", RSMU_SL }, - { "8v19n851", RSMU_SL }, + { "rc38xxx0", RSMU_FC3 }, + { "rc38xxx1", RSMU_FC3 }, {} }; MODULE_DEVICE_TABLE(i2c, rsmu_i2c_id); @@ -347,8 +347,8 @@ static const struct of_device_id rsmu_i2c_of_match[] = { { .compatible = "idt,8a34001", .data = (void *)RSMU_CM }, { .compatible = "idt,82p33810", .data = (void *)RSMU_SABRE }, { .compatible = "idt,82p33811", .data = (void *)RSMU_SABRE }, - { .compatible = "idt,8v19n850", .data = (void *)RSMU_SL }, - { .compatible = "idt,8v19n851", .data = (void *)RSMU_SL }, + { .compatible = "idt,rc38xxx0", .data = (void *)RSMU_FC3 }, + { .compatible = "idt,rc38xxx1", .data = (void *)RSMU_FC3 }, {} }; MODULE_DEVICE_TABLE(of, rsmu_i2c_of_match); diff --git a/include/linux/mfd/rsmu.h b/include/linux/mfd/rsmu.h index 0379aa207..b4a90fc81 100644 --- a/include/linux/mfd/rsmu.h +++ b/include/linux/mfd/rsmu.h @@ -11,11 +11,11 @@ #define RSMU_MAX_WRITE_COUNT (255) #define RSMU_MAX_READ_COUNT (255) -/* The supported devices are ClockMatrix, Sabre and SnowLotus */ +/* The supported devices are ClockMatrix, Sabre and FemtoClock3 */ enum rsmu_type { RSMU_CM = 0x34000, RSMU_SABRE = 0x33810, - RSMU_SL = 0x19850, + RSMU_FC3 = 0x38312, }; /** -- 2.39.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
[parent not found: <20240403182436.7353-1-lnimi@hotmail.com>]
* [PATCH mfd v1 2/2] mfd: rsmu: add FemtoClock3 support [not found] <20240403182436.7353-1-lnimi@hotmail.com> @ 2024-04-03 18:24 ` Min Li 0 siblings, 0 replies; 5+ messages in thread From: Min Li @ 2024-04-03 18:24 UTC (permalink / raw) To: lee; +Cc: linux-kernel, Min Li From: Min Li <min.li.xe@renesas.com> The RENESAS FemtoClock3 Wireless is a high-performance jitter attenuator, frequency translator, and clock synthesizer. This patch only adds support for I2C. Signed-off-by: Min Li <min.li.xe@renesas.com> --- drivers/mfd/rsmu_core.c | 10 +++++----- drivers/mfd/rsmu_i2c.c | 16 ++++++++-------- include/linux/mfd/rsmu.h | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/mfd/rsmu_core.c b/drivers/mfd/rsmu_core.c index 29437fd0b..951ddd92c 100644 --- a/drivers/mfd/rsmu_core.c +++ b/drivers/mfd/rsmu_core.c @@ -40,12 +40,12 @@ static struct mfd_cell rsmu_sabre_devs[] = { }, }; -static struct mfd_cell rsmu_sl_devs[] = { +static struct mfd_cell rsmu_fc3_devs[] = { [RSMU_PHC] = { - .name = "8v19n85x-phc", + .name = "rc38xxx-phc", }, [RSMU_CDEV] = { - .name = "8v19n85x-cdev", + .name = "rc38xxx-cdev", }, }; @@ -61,8 +61,8 @@ int rsmu_core_init(struct rsmu_ddata *rsmu) case RSMU_SABRE: cells = rsmu_sabre_devs; break; - case RSMU_SL: - cells = rsmu_sl_devs; + case RSMU_FC3: + cells = rsmu_fc3_devs; break; default: dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); diff --git a/drivers/mfd/rsmu_i2c.c b/drivers/mfd/rsmu_i2c.c index cba64f107..a3f50a184 100644 --- a/drivers/mfd/rsmu_i2c.c +++ b/drivers/mfd/rsmu_i2c.c @@ -262,11 +262,11 @@ static const struct regmap_config rsmu_sabre_regmap_config = { .can_multi_write = true, }; -static const struct regmap_config rsmu_sl_regmap_config = { +static const struct regmap_config rsmu_fc3_regmap_config = { .reg_bits = 16, .val_bits = 8, .reg_format_endian = REGMAP_ENDIAN_BIG, - .max_register = 0x340, + .max_register = 0xE88, .cache_type = REGCACHE_NONE, .can_multi_write = true, }; @@ -302,8 +302,8 @@ static int rsmu_i2c_probe(struct i2c_client *client) case RSMU_SABRE: cfg = &rsmu_sabre_regmap_config; break; - case RSMU_SL: - cfg = &rsmu_sl_regmap_config; + case RSMU_FC3: + cfg = &rsmu_fc3_regmap_config; break; default: dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); @@ -336,8 +336,8 @@ static const struct i2c_device_id rsmu_i2c_id[] = { { "8a34001", RSMU_CM }, { "82p33810", RSMU_SABRE }, { "82p33811", RSMU_SABRE }, - { "8v19n850", RSMU_SL }, - { "8v19n851", RSMU_SL }, + { "rc38xxx0", RSMU_FC3 }, + { "rc38xxx1", RSMU_FC3 }, {} }; MODULE_DEVICE_TABLE(i2c, rsmu_i2c_id); @@ -347,8 +347,8 @@ static const struct of_device_id rsmu_i2c_of_match[] = { { .compatible = "idt,8a34001", .data = (void *)RSMU_CM }, { .compatible = "idt,82p33810", .data = (void *)RSMU_SABRE }, { .compatible = "idt,82p33811", .data = (void *)RSMU_SABRE }, - { .compatible = "idt,8v19n850", .data = (void *)RSMU_SL }, - { .compatible = "idt,8v19n851", .data = (void *)RSMU_SL }, + { .compatible = "idt,rc38xxx0", .data = (void *)RSMU_FC3 }, + { .compatible = "idt,rc38xxx1", .data = (void *)RSMU_FC3 }, {} }; MODULE_DEVICE_TABLE(of, rsmu_i2c_of_match); diff --git a/include/linux/mfd/rsmu.h b/include/linux/mfd/rsmu.h index 0379aa207..b4a90fc81 100644 --- a/include/linux/mfd/rsmu.h +++ b/include/linux/mfd/rsmu.h @@ -11,11 +11,11 @@ #define RSMU_MAX_WRITE_COUNT (255) #define RSMU_MAX_READ_COUNT (255) -/* The supported devices are ClockMatrix, Sabre and SnowLotus */ +/* The supported devices are ClockMatrix, Sabre and FemtoClock3 */ enum rsmu_type { RSMU_CM = 0x34000, RSMU_SABRE = 0x33810, - RSMU_SL = 0x19850, + RSMU_FC3 = 0x38312, }; /** -- 2.39.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-05-01 16:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <53efc0ac491055cedbef156b3c3410fa5342e637.1712857691.git.lnimi@hotmail.com>
2024-04-11 17:52 ` [PATCH mfd v1 2/2] mfd: rsmu: add FemtoClock3 support Min Li
2024-04-12 7:42 ` Lee Jones
[not found] <20240501160458.27588-1-lnimi@hotmail.com>
2024-05-01 16:04 ` Min Li
[not found] <20240416150020.9898-1-lnimi@hotmail.com>
2024-04-16 15:00 ` Min Li
[not found] <20240403182436.7353-1-lnimi@hotmail.com>
2024-04-03 18:24 ` Min Li
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.