diff mbox

[2/2] dt-bindings: move trivial devices out of i2c subdir

Message ID 20170126225544.5431-3-wsa@the-dreams.de
State Changes Requested, archived
Headers show

Commit Message

Wolfram Sang Jan. 26, 2017, 10:55 p.m. UTC
The i2c folder is for i2c bus drivers, not clients. Move the now
deprecated trivial devices file to the bindings base directory, so it
can be refactored from there to proper bindings in the relevant
subdirectories. This will ease maintenance for the I2C subsystem (less
irrelevant patches automatically CCed by get_maintainer.pl) and it will
make aware that we deal with the file differently now.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
---
 .../bindings/{i2c/trivial-devices.txt => i2c-trivial-devices.txt}         | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename Documentation/devicetree/bindings/{i2c/trivial-devices.txt => i2c-trivial-devices.txt} (100%)

Comments

Rob Herring Feb. 1, 2017, 1:50 p.m. UTC | #1
On Thu, Jan 26, 2017 at 11:55:44PM +0100, Wolfram Sang wrote:
> The i2c folder is for i2c bus drivers, not clients. Move the now
> deprecated trivial devices file to the bindings base directory, so it
> can be refactored from there to proper bindings in the relevant
> subdirectories. This will ease maintenance for the I2C subsystem (less
> irrelevant patches automatically CCed by get_maintainer.pl) and it will
> make aware that we deal with the file differently now.
> 
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
> ---
>  .../bindings/{i2c/trivial-devices.txt => i2c-trivial-devices.txt}         | 0
>  1 file changed, 0 insertions(+), 0 deletions(-)
>  rename Documentation/devicetree/bindings/{i2c/trivial-devices.txt => i2c-trivial-devices.txt} (100%)

Just keep the same name. We can use it for SPI too at least.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Wolfram Sang Feb. 1, 2017, 6:35 p.m. UTC | #2
> >  .../bindings/{i2c/trivial-devices.txt => i2c-trivial-devices.txt}         | 0
> >  1 file changed, 0 insertions(+), 0 deletions(-)
> >  rename Documentation/devicetree/bindings/{i2c/trivial-devices.txt => i2c-trivial-devices.txt} (100%)
> 
> Just keep the same name. We can use it for SPI too at least.

OK, will resend with your requested changes.

Thanks!

   Wolfram
Wolfram Sang Feb. 7, 2017, 11:08 a.m. UTC | #3
On Wed, Feb 01, 2017 at 07:35:40PM +0100, Wolfram Sang wrote:
> 
> > >  .../bindings/{i2c/trivial-devices.txt => i2c-trivial-devices.txt}         | 0
> > >  1 file changed, 0 insertions(+), 0 deletions(-)
> > >  rename Documentation/devicetree/bindings/{i2c/trivial-devices.txt => i2c-trivial-devices.txt} (100%)
> > 
> > Just keep the same name. We can use it for SPI too at least.
> 
> OK, will resend with your requested changes.

Thinking about it some more:

Shall I resend now or won't it be easier if I resend at the end of the
next merge window to reduce merge conflicts?
Rob Herring Feb. 7, 2017, 3:46 p.m. UTC | #4
On Tue, Feb 7, 2017 at 5:08 AM, Wolfram Sang <wsa@the-dreams.de> wrote:
> On Wed, Feb 01, 2017 at 07:35:40PM +0100, Wolfram Sang wrote:
>>
>> > >  .../bindings/{i2c/trivial-devices.txt => i2c-trivial-devices.txt}         | 0
>> > >  1 file changed, 0 insertions(+), 0 deletions(-)
>> > >  rename Documentation/devicetree/bindings/{i2c/trivial-devices.txt => i2c-trivial-devices.txt} (100%)
>> >
>> > Just keep the same name. We can use it for SPI too at least.
>>
>> OK, will resend with your requested changes.
>
> Thinking about it some more:
>
> Shall I resend now or won't it be easier if I resend at the end of the
> next merge window to reduce merge conflicts?

Yes, that sounds good.

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c-trivial-devices.txt
similarity index 100%
rename from Documentation/devicetree/bindings/i2c/trivial-devices.txt
rename to Documentation/devicetree/bindings/i2c-trivial-devices.txt