Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1274637

Re: [PATCH 1/3] i2c: xlr: add support for Sigma Designs controller variant

From Måns Rullgård <mans@mansr.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] i2c: xlr: add support for Sigma Designs controller variant
Date 2015-11-21 13:10 +0100
Message-ID <qxf9n-55a-3@gated-at.bofh.it> (permalink)
References <qqcJj-7S9-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Mans Rullgard <mans@mansr.com> writes:

> Sigma Designs chips use a variant of this controller with the following
> differences:
>
> - The BUSY bit in the STATUS register is inverted
> - Bit 8 of the CONFIG register must be set
> - The controller can generate interrupts
>
> This patch adds support for the first two of these.  It also calculates
> and sets the correct clock divisor if a clk is provided.  The bus
> frequency is optionally speficied in the device tree node.
>
> Signed-off-by: Mans Rullgard <mans@mansr.com>
> ---
>  drivers/i2c/busses/Kconfig   |  6 ++--
>  drivers/i2c/busses/i2c-xlr.c | 81 +++++++++++++++++++++++++++++++++++++++++---
>  2 files changed, 80 insertions(+), 7 deletions(-)

Any comments on these patches?

-- 
Måns Rullgård
mans@mansr.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 1/3] i2c: xlr: add support for Sigma Designs controller variant Måns Rullgård <mans@mansr.com> - 2015-11-21 13:10 +0100

csiph-web