From: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Magnus Damm <magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>,
Laurent Pinchart
<laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org>,
Geert Uytterhoeven
<geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>,
Andrey Danin <danindrey-JGs/UdohzUI@public.gmane.org>,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [RFC 0/9] i2c: slave: improve i2c client address spaces and their DT support
Date: Tue, 21 Jul 2015 09:00:56 +0200 [thread overview]
Message-ID: <20150721070056.GB1537@katana> (raw)
In-Reply-To: <55AD7279.5090203-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1933 bytes --]
On Mon, Jul 20, 2015 at 04:13:13PM -0600, Stephen Warren wrote:
> On 07/17/2015 08:08 AM, Wolfram Sang wrote:
> >As promised here is my RFC to improve address spaces for I2C. This should give
> >i2c seperate address spaces for standard clients, 10 bit clients, and our own
> >slave clients. So, you can now have a 7 bit slave at 0x50 and a 10 bit slave at
> >0x050. Or, you can have a slave driver listening at some address and at the
> >same time have a client driver talking to this address. Note that this is only
> >the core support for that separation, I am still not sure if there is hardware
> >being able talking to its own slave address, but we will see.
> >
> >This RFC and while I did some quick tests, it is not thoroughly tested. But I
> >wanted to push it out before I leave the computer for the weekend. It still
> >shows what path I chose to solve the problem. So, comments on that and further
> >testing are more than welcome!
> >
> >BTW Andrey, I did not modify your patch and couldn't get the i2c-slave-eeprom driver
> >to work with my Jetson TK1. Does this work for you?
>
> This approach makes sense to me.
\o/
> I'd expect patch 2/9 "dt-bindings: add header for generic I2C flags in
> bindings" to document the flags (or at least mention their existence, and
> point at the new header file) in the core I2C bindings document.
Yes. I forgot to say that docs are missing. I wanted to get some
feedback first. This series is a good reason to finally start the core
I2C binding document.
> Please consider the series,
> Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>
> (ack rather than review since I didn't review patch 1, and mostly
> concentrated on reviewing the concepts of how slaves were represented rather
> than the coding details).
Thanks, exactly that I was looking for this RFC. Will try to send out
proper patches this week.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Wolfram Sang <wsa@the-dreams.de>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Magnus Damm <magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>,
Laurent Pinchart
<laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org>,
Geert Uytterhoeven
<geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>,
Andrey Danin <danindrey-JGs/UdohzUI@public.gmane.org>,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [RFC 0/9] i2c: slave: improve i2c client address spaces and their DT support
Date: Tue, 21 Jul 2015 07:00:56 +0000 [thread overview]
Message-ID: <20150721070056.GB1537@katana> (raw)
In-Reply-To: <55AD7279.5090203-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1904 bytes --]
On Mon, Jul 20, 2015 at 04:13:13PM -0600, Stephen Warren wrote:
> On 07/17/2015 08:08 AM, Wolfram Sang wrote:
> >As promised here is my RFC to improve address spaces for I2C. This should give
> >i2c seperate address spaces for standard clients, 10 bit clients, and our own
> >slave clients. So, you can now have a 7 bit slave at 0x50 and a 10 bit slave at
> >0x050. Or, you can have a slave driver listening at some address and at the
> >same time have a client driver talking to this address. Note that this is only
> >the core support for that separation, I am still not sure if there is hardware
> >being able talking to its own slave address, but we will see.
> >
> >This RFC and while I did some quick tests, it is not thoroughly tested. But I
> >wanted to push it out before I leave the computer for the weekend. It still
> >shows what path I chose to solve the problem. So, comments on that and further
> >testing are more than welcome!
> >
> >BTW Andrey, I did not modify your patch and couldn't get the i2c-slave-eeprom driver
> >to work with my Jetson TK1. Does this work for you?
>
> This approach makes sense to me.
\o/
> I'd expect patch 2/9 "dt-bindings: add header for generic I2C flags in
> bindings" to document the flags (or at least mention their existence, and
> point at the new header file) in the core I2C bindings document.
Yes. I forgot to say that docs are missing. I wanted to get some
feedback first. This series is a good reason to finally start the core
I2C binding document.
> Please consider the series,
> Acked-by: Stephen Warren <swarren@nvidia.com>
>
> (ack rather than review since I didn't review patch 1, and mostly
> concentrated on reviewing the concepts of how slaves were represented rather
> than the coding details).
Thanks, exactly that I was looking for this RFC. Will try to send out
proper patches this week.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-07-21 7:00 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-17 14:08 [RFC 0/9] i2c: slave: improve i2c client address spaces and their DT support Wolfram Sang
2015-07-17 14:08 ` Wolfram Sang
[not found] ` <1437142109-31975-1-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2015-07-17 14:08 ` [RFC 1/9] i2c: tegra: implement slave mode Wolfram Sang
2015-07-17 14:08 ` Wolfram Sang
2015-07-17 14:08 ` [RFC 2/9] dt-bindings: add header for generic I2C flags in bindings Wolfram Sang
2015-07-17 14:08 ` Wolfram Sang
2015-07-17 14:08 ` [RFC 3/9] i2c: add a flag to mark clients as slaves Wolfram Sang
2015-07-17 14:08 ` Wolfram Sang
2015-07-17 14:08 ` [RFC 6/9] i2c: make address check indpendent from client struct Wolfram Sang
2015-07-17 14:08 ` Wolfram Sang
2015-07-17 14:08 ` [RFC 8/9] i2c: take address space into account when checking for used addresses Wolfram Sang
2015-07-17 14:08 ` Wolfram Sang
2015-07-17 14:08 ` [RFC 9/9] dts: tegra: WIP: hack dts to test new dt flags for i2c Wolfram Sang
2015-07-17 14:08 ` Wolfram Sang
2015-07-17 14:11 ` Wolfram Sang
2015-07-17 14:11 ` Wolfram Sang
2015-07-20 7:28 ` Andrey Danin
2015-07-20 7:28 ` Andrey Danin
2015-07-20 9:03 ` Wolfram Sang
2015-07-20 9:03 ` Wolfram Sang
[not found] ` <1437142109-31975-10-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2015-07-20 7:53 ` Laurent Pinchart
2015-07-20 7:53 ` Laurent Pinchart
2015-07-20 8:45 ` Wolfram Sang
2015-07-20 8:45 ` Wolfram Sang
2015-07-20 16:10 ` Rob Herring
2015-07-20 16:10 ` Rob Herring
2015-07-20 22:09 ` Stephen Warren
2015-07-20 22:09 ` Stephen Warren
[not found] ` <55AD71A6.4030105-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-07-21 6:55 ` Wolfram Sang
2015-07-21 6:55 ` Wolfram Sang
2015-07-20 22:13 ` [RFC 0/9] i2c: slave: improve i2c client address spaces and their DT support Stephen Warren
2015-07-20 22:13 ` Stephen Warren
[not found] ` <55AD7279.5090203-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-07-21 7:00 ` Wolfram Sang [this message]
2015-07-21 7:00 ` Wolfram Sang
2015-07-17 14:08 ` [RFC 4/9] i2c: apply address offset for slaves, too Wolfram Sang
2015-07-17 14:08 ` Wolfram Sang
2015-07-17 14:08 ` [RFC 5/9] i2c: rename address check functions Wolfram Sang
2015-07-17 14:08 ` Wolfram Sang
2015-07-17 14:08 ` [RFC 7/9] i2c: apply DT flags when probing Wolfram Sang
2015-07-17 14:08 ` Wolfram Sang
2015-07-20 7:23 ` [RFC 0/9] i2c: slave: improve i2c client address spaces and their DT support Andrey Danin
2015-07-20 7:23 ` Andrey Danin
[not found] ` <55ACA1D8.6010403-JGs/UdohzUI@public.gmane.org>
2015-07-20 8:52 ` Wolfram Sang
2015-07-20 8:52 ` Wolfram Sang
2015-07-20 8:59 ` Andrey Danin
2015-07-20 8:59 ` Andrey Danin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150721070056.GB1537@katana \
--to=wsa-z923lk4zbo2bacvfa/9k2g@public.gmane.org \
--cc=danindrey-JGs/UdohzUI@public.gmane.org \
--cc=geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org \
--cc=horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org \
--cc=laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.