[RESEND PATCH v4 2/2] eeprom: at24: Add support for address-width property

2018-07-24 Thread alanx . chiang
From: Alan Chiang Provide a flexible way to determine the addressing bits of eeprom. Pass the addressing bits to driver through address-width property. Signed-off-by: Alan Chiang Signed-off-by: Andy Yeh --- drivers/misc/eeprom/at24.c | 17 + 1 file changed, 17 insertions(+) d

[RESEND PATCH v4 1/2] dt-bindings: at24: Add address-width property

2018-07-24 Thread alanx . chiang
From: Alan Chiang Currently the only way to use a variant of a supported model with a different address with a different address width is to define a new compatible string and the corresponding chip data structure. Provide a flexible way to specify the size of the address pointer by defining a n

[RESEND PATCH v4 0/2] Add aproperty in at24.c

2018-07-24 Thread alanx . chiang
From: Alan Chiang The RESEND PATCH modifies the commit message and adds the Reviewed-by. In at24.c, it uses 8-bit addressing by default. In this patch add a property address-width that provides a flexible method to pass the information to the driver. Alan Chiang (2): dt-bindings: at24: Add ad

[RESEND PATCH v4 1/2] dt-bindings: at24: Add address-width property

2018-07-02 Thread alanx . chiang
From: Alan Chiang The AT24 series chips use 8-bit address by default. If some chips would like to support more than 8 bits, the at24 driver should be added the compatible field for specfic chips. Provide a flexible way to determine the addressing bits through address-width in this patch. Signed

[RESEND PATCH v4 2/2] eeprom: at24: Add support for address-width property

2018-07-02 Thread alanx . chiang
From: Alan Chiang Provide a flexible way to determine the addressing bits of eeprom. Pass the addressing bits to driver through address-width property. Signed-off-by: Alan Chiang Signed-off-by: Andy Yeh Reviewed-by: Andy Shevchenko Acked-by: Sakari Ailus --- since v1 -- Add a warn message f

[RESEND PATCH v4 0/2] Add a property in at24.c

2018-07-02 Thread alanx . chiang
From: Alan Chiang This RESEND PATCH only adds the Acked-by and Reviewed-by, no other patch for the codes. In at24.c, it uses 8-bit addressing by default. In this patch, add a property address-width that provides a flexible method to pass the information to the driver. Alan Chiang (2): dt-bind

[PATCH v4 0/2] Add a property in at24.c

2018-06-29 Thread alanx . chiang
From: Alan Chiang In at24.c, it uses 8-bit addressing by default. In this patch, add a property address-width that provides a flexible method to pass the information to the driver. Alan Chiang (2): dt-bindings: at24: Add address-width property eeprom: at24: Add support for address-width prop

[PATCH v4 1/2] dt-bindings: at24: Add address-width property

2018-06-29 Thread alanx . chiang
From: Alan Chiang The AT24 series chips use 8-bit address by default. If some chips would like to support more than 8 bits, the at24 driver should be added the compatible field for specfic chips. Provide a flexible way to determine the addressing bits through address-width in this patch. Signed

[PATCH v4 2/2] eeprom: at24: Add support for address-width property

2018-06-29 Thread alanx . chiang
From: Alan Chiang Provide a flexible way to determine the addressing bits of eeprom. Pass the addressing bits to driver through address-width property. Signed-off-by: Alan Chiang Signed-off-by: Andy Yeh --- since v1 -- Add a warn message for 8-bit addressing. since v2 -- Modify the warning me

[PATCH v3 0/2] Add a property in at24.c

2018-06-26 Thread alanx . chiang
From: Alan Chiang In at24.c, it uses 8-bit addressing by default. In this patch, add a property address-width that provides a flexible method to pass the information to the driver. Alan Chiang (2): dt-bindings: at24: Add address-width property eeprom: at24: Add support for address-width prop

[PATCH v3 1/2] dt-bindings: at24: Add address-width property

2018-06-26 Thread alanx . chiang
From: Alan Chiang The AT24 series chips use 8-bit address by default. If some chips would like to support more than 8 bits, the at24 driver should be added the compatible field for specfic chips. Provide a flexible way to determine the addressing bits through address-width in this patch. Signed

[PATCH v3 2/2] eeprom: at24: Add support for address-width property

2018-06-26 Thread alanx . chiang
From: Alan Chiang Provide a flexible way to determine the addressing bits of eeprom. Pass the addressing bits to driver through address-width property. Signed-off-by: Alan Chiang Signed-off-by: Andy Yeh --- since v1 -- Add a warn message for 8-bit addressing. since v2 -- Modify the warning me

[PATCH v2 1/2] dt-bindings: at24: Add address-width property

2018-06-25 Thread alanx . chiang
From: "alanx.chiang" The AT24 series chips use 8-bit address by default. If some chips would like to support more than 8 bits, should add the compatible field for specfic chips in the driver. Provide a flexible way to determine the addressing bits through address-width in this patch. Signed-off

[PATCH v2 2/2] eeprom: at24: Add support for address-width property

2018-06-25 Thread alanx . chiang
From: "alanx.chiang" Provide a flexible way to determine the addressing bits of eeprom. Pass the addressing bits to driver through address-width property. Signed-off-by: Alan Chiang Signed-off-by: Andy Yeh --- since v1 -- Add a warn message for 8-bit addressing. --- drivers/misc/eeprom/at24

[PATCH v2 0/2] Add a property in at24.c

2018-06-25 Thread alanx . chiang
From: "alanx.chiang" In at24.c, it uses 8-bit addressing by default. In this patch, add a property address-width that provides a flexible method to pass the information to the driver. alanx.chiang (2): dt-bindings: at24: Add address-width property eeprom: at24: Add support for address-width