All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dove: declare all device IDs for module loading
@ 2013-05-16 11:12 Jean-Francois Moine
  2013-05-16 15:28 ` Jason Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Francois Moine @ 2013-05-16 11:12 UTC (permalink / raw)
  To: linux-arm-kernel

When the si5351 driver is a kernel module, it is loaded into memory
from its i2c device IDs, but not from its DT compatible properties.

This patch declares the i2c device IDs of all chip variants.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
--- 
 drivers/clk/clk-si5351.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/clk/clk-si5351.c b/drivers/clk/clk-si5351.c
index 8927284..9ebdddd 100644
--- a/drivers/clk/clk-si5351.c
+++ b/drivers/clk/clk-si5351.c
@@ -1490,7 +1490,10 @@ static int si5351_i2c_probe(struct i2c_client *client,
 }
 
 static const struct i2c_device_id si5351_i2c_ids[] = {
-	{ "silabs,si5351", 0 },
+	{ "si5351a", 0 },
+	{ "si5351a-msop", 0 },
+	{ "si5351b", 0 },
+	{ "si5351c", 0 },
 	{ }
 };
 MODULE_DEVICE_TABLE(i2c, si5351_i2c_ids);


-- 
Ken ar c'henta?	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: dove: declare all device IDs for module loading
  2013-05-16 11:12 [PATCH] ARM: dove: declare all device IDs for module loading Jean-Francois Moine
@ 2013-05-16 15:28 ` Jason Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Cooper @ 2013-05-16 15:28 UTC (permalink / raw)
  To: linux-arm-kernel

Jean-Francois,

Thanks for the patch, but you may want to change the subject "clk:
si5351: ..."  Other than that,

On Thu, May 16, 2013 at 01:12:33PM +0200, Jean-Francois Moine wrote:
> When the si5351 driver is a kernel module, it is loaded into memory
> from its i2c device IDs, but not from its DT compatible properties.
> 
> This patch declares the i2c device IDs of all chip variants.
> 
> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
> --- 
>  drivers/clk/clk-si5351.c |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Acked-by: Jason Cooper <jason@lakedaemon.net>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-16 15:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-16 11:12 [PATCH] ARM: dove: declare all device IDs for module loading Jean-Francois Moine
2013-05-16 15:28 ` Jason Cooper

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.