On Thu, 2018-09-06 at 20:31 +0200, Wolfram Sang wrote:
> On Thu, Sep 06, 2018 at 09:15:28PM +0800, Jun Gao wrote:
> > From: Jun Gao
> >
> > In order not to block the initializations of some i2c devices.
> > Register i2c adapter driver at appropriate time.
>
On Thu, 2018-09-06 at 20:31 +0200, Wolfram Sang wrote:
> On Thu, Sep 06, 2018 at 09:15:28PM +0800, Jun Gao wrote:
> > From: Jun Gao
> >
> > In order not to block the initializations of some i2c devices.
> > Register i2c adapter driver at appropriate time.
>
the initializations for DMA safe buffer pointers
Jun Gao (2):
i2c: mediatek: Register i2c adapter driver earlier
i2c: mediatek: Use DMA safe buffers for i2c transactions
drivers/i2c/busses/i2c-mt65xx.c | 74 -
1 file changed, 66 insertions(+), 8
the initializations for DMA safe buffer pointers
Jun Gao (2):
i2c: mediatek: Register i2c adapter driver earlier
i2c: mediatek: Use DMA safe buffers for i2c transactions
drivers/i2c/busses/i2c-mt65xx.c | 74 -
1 file changed, 66 insertions(+), 8
From: Jun Gao
In order not to block the initializations of some i2c devices.
Register i2c adapter driver at appropriate time.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c
From: Jun Gao
DMA mode will always be used in i2c transactions, try to allocate
a DMA safe buffer if the buf of struct i2c_msg used is not DMA safe.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 62 -
1 file changed, 55 insertions(+), 7
From: Jun Gao
In order not to block the initializations of some i2c devices.
Register i2c adapter driver at appropriate time.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c
From: Jun Gao
DMA mode will always be used in i2c transactions, try to allocate
a DMA safe buffer if the buf of struct i2c_msg used is not DMA safe.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 62 -
1 file changed, 55 insertions(+), 7
From: Jun Gao
DMA mode will always be used in i2c transactions, try to allocate
a DMA safe buffer if the buf of struct i2c_msg used is not DMA safe.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 62 -
1 file changed, 55 insertions(+), 7
From: Jun Gao
DMA mode will always be used in i2c transactions, try to allocate
a DMA safe buffer if the buf of struct i2c_msg used is not DMA safe.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 62 -
1 file changed, 55 insertions(+), 7
This patch series based on v4.18-rc1, include i2c adapter driver register time
modification, DMA safe buffer free function and DMA safe buffers used for i2c
transactions.
changes since v1:
- Add the initializations for DMA safe buffer pointers
Jun Gao (3):
i2c: mediatek: Register i2c adapter
This patch series based on v4.18-rc1, include i2c adapter driver register time
modification, DMA safe buffer free function and DMA safe buffers used for i2c
transactions.
changes since v1:
- Add the initializations for DMA safe buffer pointers
Jun Gao (3):
i2c: mediatek: Register i2c adapter
From: Jun Gao
This function is needed by i2c_get_dma_safe_msg_buf() potentially.
It is used to free DMA safe buffer when DMA operation fails.
Signed-off-by: Jun Gao
---
drivers/i2c/i2c-core-base.c | 14 ++
include/linux/i2c.h | 1 +
2 files changed, 15 insertions(+)
diff
From: Jun Gao
As i2c adapter, i2c slave devices will depend on it. In order not to
block the initializations of i2c slave devices, register i2c adapter
driver at appropriate time.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 12 +++-
1 file changed, 11 insertions(+), 1
From: Jun Gao
As i2c adapter, i2c slave devices will depend on it. In order not to
block the initializations of i2c slave devices, register i2c adapter
driver at appropriate time.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 12 +++-
1 file changed, 11 insertions(+), 1
From: Jun Gao
This function is needed by i2c_get_dma_safe_msg_buf() potentially.
It is used to free DMA safe buffer when DMA operation fails.
Signed-off-by: Jun Gao
---
drivers/i2c/i2c-core-base.c | 14 ++
include/linux/i2c.h | 1 +
2 files changed, 15 insertions(+)
diff
From: Jun Gao
DMA mode will always be used in i2c transactions, try to allocate
a DMA safe buffer if the buf of struct i2c_msg used is not DMA safe.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 62 -
1 file changed, 55 insertions(+), 7
This patch series based on v4.18-rc1, include i2c adapter driver register time
modification, DMA safe buffer free function and DMA safe buffers used for i2c
transactions.
Jun Gao (3):
i2c: mediatek: Register i2c adapter driver earlier
i2c: Add helper to ease DMA handling
i2c: mediatek: Use
From: Jun Gao
DMA mode will always be used in i2c transactions, try to allocate
a DMA safe buffer if the buf of struct i2c_msg used is not DMA safe.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 62 -
1 file changed, 55 insertions(+), 7
This patch series based on v4.18-rc1, include i2c adapter driver register time
modification, DMA safe buffer free function and DMA safe buffers used for i2c
transactions.
Jun Gao (3):
i2c: mediatek: Register i2c adapter driver earlier
i2c: Add helper to ease DMA handling
i2c: mediatek: Use
From: Jun Gao
This function is needed by i2c_get_dma_safe_msg_buf() potentially.
It is used to free DMA safe buffer when DMA operation fails.
Signed-off-by: Jun Gao
---
drivers/i2c/i2c-core-base.c | 14 ++
include/linux/i2c.h | 1 +
2 files changed, 15 insertions(+)
diff
From: Jun Gao
As i2c adapter, i2c slave devices will depend on it. In order not to
block the initializations of i2c slave devices, register i2c adapter
driver at appropriate time.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 12 +++-
1 file changed, 11 insertions(+), 1
From: Jun Gao
As i2c adapter, i2c slave devices will depend on it. In order not to
block the initializations of i2c slave devices, register i2c adapter
driver at appropriate time.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 12 +++-
1 file changed, 11 insertions(+), 1
From: Jun Gao
This function is needed by i2c_get_dma_safe_msg_buf() potentially.
It is used to free DMA safe buffer when DMA operation fails.
Signed-off-by: Jun Gao
---
drivers/i2c/i2c-core-base.c | 14 ++
include/linux/i2c.h | 1 +
2 files changed, 15 insertions(+)
diff
From: Jun Gao <jun@mediatek.com>
Make sure i2c module clock has been enabled before i2c registers
access.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
drivers/i2c/busses/i2c-mt65xx.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/i2c/busses/i2c-mt65xx
From: Jun Gao
Make sure i2c module clock has been enabled before i2c registers
access.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/i2c/busses/i2c-mt65xx.c b/drivers/i2c/busses/i2c-mt65xx.c
index 58d6401
This patch series based on v4.15-rc1, include MT2712 i2c dt-binding, compatible
and i2c module clock enable.
Jun Gao (3):
dt-bindings: i2c: Add MediaTek MT2712 i2c binding
i2c: mediatek: Add i2c compatible for MediaTek MT2712
i2c: mediatek: Enable i2c module clock before i2c registers
From: Jun Gao <jun@mediatek.com>
Add MT2712 i2c binding to binding file. Compare to MT8173 i2c
controller, MT2712 has timing adjust registers which can adjust
the internal divider of i2c source clock, SCL duty cycle, SCL
compare point, start(repeated start) and stop time, SDA chang
This patch series based on v4.15-rc1, include MT2712 i2c dt-binding, compatible
and i2c module clock enable.
Jun Gao (3):
dt-bindings: i2c: Add MediaTek MT2712 i2c binding
i2c: mediatek: Add i2c compatible for MediaTek MT2712
i2c: mediatek: Enable i2c module clock before i2c registers
From: Jun Gao
Add MT2712 i2c binding to binding file. Compare to MT8173 i2c
controller, MT2712 has timing adjust registers which can adjust
the internal divider of i2c source clock, SCL duty cycle, SCL
compare point, start(repeated start) and stop time, SDA change
time.
Signed-off-by: Jun Gao
From: Jun Gao <jun@mediatek.com>
Add i2c compatible for MT2712. Compare to MT8173 i2c controller,
internal divider of i2c source clock need to be configured for
MT2712 i2c speed calculation.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
drivers/i2c/busses/i2c-m
From: Jun Gao
Add i2c compatible for MT2712. Compare to MT8173 i2c controller,
internal divider of i2c source clock need to be configured for
MT2712 i2c speed calculation.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 31 +++
1 file changed, 27
On Sat, 2017-09-02 at 23:58 +0200, Wolfram Sang wrote:
> Hi,
>
> nice to see someone else interested in the I2C & DMA topic.
>
> Please check this series which I sent out recently:
>
> "[RFC PATCH v4 0/6] i2c: document DMA handling and add helpers for it"
>
> In that series, I proposed...
>
>
On Sat, 2017-09-02 at 23:58 +0200, Wolfram Sang wrote:
> Hi,
>
> nice to see someone else interested in the I2C & DMA topic.
>
> Please check this series which I sent out recently:
>
> "[RFC PATCH v4 0/6] i2c: document DMA handling and add helpers for it"
>
> In that series, I proposed...
>
>
Dear Wolfram,
When we use i2c-tools command 'i2cset -y -f 0 0x50 0x00 0x11'(0:i2c bus
number; 0x50:eeprom device addr; 0x00:device register addr; 0x11:write
data)to write data, a warning appears as below if enable kernel config
CONFIG_DMA_API_DEBUG=y.
[ 11.872860] i2c-mt65xx 11007000.i2c:
Dear Wolfram,
When we use i2c-tools command 'i2cset -y -f 0 0x50 0x00 0x11'(0:i2c bus
number; 0x50:eeprom device addr; 0x00:device register addr; 0x11:write
data)to write data, a warning appears as below if enable kernel config
CONFIG_DMA_API_DEBUG=y.
[ 11.872860] i2c-mt65xx 11007000.i2c:
:
- Modify commit message
- Revise dt-binding documentation
Jun Gao (3):
dt-bindings: i2c: modify information formats
dt-bindings: i2c: Add MediaTek MT7622 i2c binding
i2c: mediatek: Add i2c compatible for MediaTek MT7622
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 15
From: Jun Gao <jun@mediatek.com>
Use common name MediaTek and modify the compatible information
formats of all SoCs to the same.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 14 +++---
1 file changed, 7 inse
From: Jun Gao <jun@mediatek.com>
Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
MT7622 limits message numbers to 255, and does not support 4GB
DMA mode.
Signed-off-by: Jun Gao <jun@mediatek.com>
Reviewed-by: Yingjoe Chen <yingjoe.c...@mediatek.com>
:
- Modify commit message
- Revise dt-binding documentation
Jun Gao (3):
dt-bindings: i2c: modify information formats
dt-bindings: i2c: Add MediaTek MT7622 i2c binding
i2c: mediatek: Add i2c compatible for MediaTek MT7622
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 15
From: Jun Gao
Use common name MediaTek and modify the compatible information
formats of all SoCs to the same.
Signed-off-by: Jun Gao
---
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/Documentation
From: Jun Gao
Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
MT7622 limits message numbers to 255, and does not support 4GB
DMA mode.
Signed-off-by: Jun Gao
Reviewed-by: Yingjoe Chen
---
drivers/i2c/busses/i2c-mt65xx.c | 14 ++
1 file changed, 14 insertions
From: Jun Gao <jun@mediatek.com>
Add MT7622 i2c binding to binding file. Compare to MT8173 i2c
controller, MT7622 limits message numbers to 255, and does not
support 4GB DMA mode.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
Documentation/devicetree/bindings/i2c/i2c-mtk.
From: Jun Gao
Add MT7622 i2c binding to binding file. Compare to MT8173 i2c
controller, MT7622 limits message numbers to 255, and does not
support 4GB DMA mode.
Signed-off-by: Jun Gao
---
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 1 +
1 file changed, 1 insertion(+)
diff --git
This patch series based on v4.13-rc1, include MT7622 i2c dt-binding
and compatible.
changes since v2:
- Remove all the length settings from mt7622_i2c_quirks
changes since v1:
- Modify commit message
- Revise dt-binding documentation
Jun Gao (2):
dt-bindings: i2c: Add MediaTek MT7622 i2c
This patch series based on v4.13-rc1, include MT7622 i2c dt-binding
and compatible.
changes since v2:
- Remove all the length settings from mt7622_i2c_quirks
changes since v1:
- Modify commit message
- Revise dt-binding documentation
Jun Gao (2):
dt-bindings: i2c: Add MediaTek MT7622 i2c
From: Jun Gao <jun@mediatek.com>
Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
MT7622 limits message numbers to 255, and does not support 4GB
DMA mode.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
drivers/i2c/busses/i2c-mt65xx.c | 14 ++
1
From: Jun Gao
Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
MT7622 limits message numbers to 255, and does not support 4GB
DMA mode.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/i2c
From: Jun Gao <jun@mediatek.com>
Add MT7622 i2c binding to binding file and change the compatible
information formats of all SoCs to the same.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++-
1 file changed,
From: Jun Gao
Add MT7622 i2c binding to binding file and change the compatible
information formats of all SoCs to the same.
Signed-off-by: Jun Gao
---
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git
On Mon, 2017-08-14 at 11:36 +0200, Matthias Brugger wrote:
>
> On 08/09/2017 09:43 AM, Jun Gao wrote:
> > From: Jun Gao <jun@mediatek.com>
> >
> > Add MT7622 i2c binding to binding file. Compare to MT8173 i2c
> > controller, MT7622 limit message size to 2
On Mon, 2017-08-14 at 11:36 +0200, Matthias Brugger wrote:
>
> On 08/09/2017 09:43 AM, Jun Gao wrote:
> > From: Jun Gao
> >
> > Add MT7622 i2c binding to binding file. Compare to MT8173 i2c
> > controller, MT7622 limit message size to 255, and not support
> &g
On Sat, 2017-08-12 at 16:44 +0200, Wolfram Sang wrote:
> > +static const struct i2c_adapter_quirks mt7622_i2c_quirks = {
> > + .max_num_msgs = 255,
> > + .max_write_len = 65535,
> > + .max_read_len = 65535,
> > + .max_comb_1st_msg_len = 65535,
> > + .max_comb_2nd_msg_len = 65535,
> > +};
On Sat, 2017-08-12 at 16:44 +0200, Wolfram Sang wrote:
> > +static const struct i2c_adapter_quirks mt7622_i2c_quirks = {
> > + .max_num_msgs = 255,
> > + .max_write_len = 65535,
> > + .max_read_len = 65535,
> > + .max_comb_1st_msg_len = 65535,
> > + .max_comb_2nd_msg_len = 65535,
> > +};
This patch series based on v4.13-rc1, include MT7622 i2c dt-binding
and compatible.
changes since v1:
- Modify commit message
- Revise dt-binding documentation
Jun Gao (2):
dt-bindings: i2c: Add MediaTek MT7622 i2c binding
i2c: mediatek: Add i2c compatible for MediaTek MT7622
Documentation
From: Jun Gao <jun@mediatek.com>
Add MT7622 i2c binding to binding file and change the compatible
information formats of all SoCs to the same.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++-
1 file changed,
This patch series based on v4.13-rc1, include MT7622 i2c dt-binding
and compatible.
changes since v1:
- Modify commit message
- Revise dt-binding documentation
Jun Gao (2):
dt-bindings: i2c: Add MediaTek MT7622 i2c binding
i2c: mediatek: Add i2c compatible for MediaTek MT7622
Documentation
From: Jun Gao
Add MT7622 i2c binding to binding file and change the compatible
information formats of all SoCs to the same.
Signed-off-by: Jun Gao
---
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git
From: Jun Gao <jun@mediatek.com>
Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
MT7622 limits message numbers to 255, and does not support 4GB
DMA mode.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
drivers/i2c/busses/i2c-mt65xx.c | 18 ++
From: Jun Gao
Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
MT7622 limits message numbers to 255, and does not support 4GB
DMA mode.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers
On Thu, 2017-08-10 at 16:19 +0800, Honghui Zhang wrote:
> On Thu, 2017-08-10 at 10:27 +0800, Jun Gao wrote:
> > From: Jun Gao <jun@mediatek.com>
> >
> > Add MT7622 i2c binding to binding file. Compare to MT8173 i2c
> > controller, MT7622 limits message numbers
On Thu, 2017-08-10 at 16:19 +0800, Honghui Zhang wrote:
> On Thu, 2017-08-10 at 10:27 +0800, Jun Gao wrote:
> > From: Jun Gao
> >
> > Add MT7622 i2c binding to binding file. Compare to MT8173 i2c
> > controller, MT7622 limits message numbers to 255, and does n
On Thu, 2017-08-10 at 10:27 +0800, Jun Gao wrote:
> From: Jun Gao <jun@mediatek.com>
>
> Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
> MT7622 limits message numbers to 255, and does not support 4GB
> DMA mode.
>
These two resend patches on
On Thu, 2017-08-10 at 10:27 +0800, Jun Gao wrote:
> From: Jun Gao
>
> Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
> MT7622 limits message numbers to 255, and does not support 4GB
> DMA mode.
>
These two resend patches only modify commit message.
Thanks!
From: Jun Gao <jun@mediatek.com>
Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
MT7622 limits message numbers to 255, and does not support 4GB
DMA mode.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
drivers/i2c/busses/i2c-mt65xx.c | 18 ++
From: Jun Gao
Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
MT7622 limits message numbers to 255, and does not support 4GB
DMA mode.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers
From: Jun Gao <jun@mediatek.com>
Add MT7622 i2c binding to binding file. Compare to MT8173 i2c
controller, MT7622 limits message numbers to 255, and does not
support 4GB DMA mode.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
Documentation/devicetree/bindings/i2c/i2c-
From: Jun Gao
Add MT7622 i2c binding to binding file. Compare to MT8173 i2c
controller, MT7622 limits message numbers to 255, and does not
support 4GB DMA mode.
Signed-off-by: Jun Gao
---
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++-
1 file changed, 6 insertions(+), 5
This patch series based on v4.13-rc1, include MT7622 i2c dt-binding
and compatible.
Jun Gao (2):
dt-bindings: i2c: Add MediaTek MT7622 i2c binding
i2c: mediatek: Add i2c compatible for MediaTek MT7622
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++-
drivers/i2c/busses/i2c
This patch series based on v4.13-rc1, include MT7622 i2c dt-binding
and compatible.
Jun Gao (2):
dt-bindings: i2c: Add MediaTek MT7622 i2c binding
i2c: mediatek: Add i2c compatible for MediaTek MT7622
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++-
drivers/i2c/busses/i2c
On Wed, 2017-08-09 at 17:40 +0800, Yingjoe Chen wrote:
> On Wed, 2017-08-09 at 15:43 +0800, Jun Gao wrote:
> > From: Jun Gao <jun@mediatek.com>
> >
> > Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
> > MT7622 limit message size to
On Wed, 2017-08-09 at 17:40 +0800, Yingjoe Chen wrote:
> On Wed, 2017-08-09 at 15:43 +0800, Jun Gao wrote:
> > From: Jun Gao
> >
> > Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
> > MT7622 limit message size to 255, and not support 4GB DMA mode.
&g
This patch series based on v4.13-rc1, include MT7622 i2c dt-binding
and compatible.
Jun Gao (2):
dt-bindings: i2c: Add MediaTek MT7622 i2c binding
i2c: mediatek: Add i2c compatible for MediaTek MT7622
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++-
drivers/i2c/busses/i2c
This patch series based on v4.13-rc1, include MT7622 i2c dt-binding
and compatible.
Jun Gao (2):
dt-bindings: i2c: Add MediaTek MT7622 i2c binding
i2c: mediatek: Add i2c compatible for MediaTek MT7622
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++-
drivers/i2c/busses/i2c
From: Jun Gao <jun@mediatek.com>
Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
MT7622 limit message size to 255, and not support 4GB DMA mode.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
drivers/i2c/busses/i2c-mt65xx.c | 18 ++
1 file
From: Jun Gao
Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
MT7622 limit message size to 255, and not support 4GB DMA mode.
Signed-off-by: Jun Gao
---
drivers/i2c/busses/i2c-mt65xx.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/i2c/busses
From: Jun Gao <jun@mediatek.com>
Add MT7622 i2c binding to binding file. Compare to MT8173 i2c
controller, MT7622 limit message size to 255, and not support
4GB DMA mode.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++
From: Jun Gao
Add MT7622 i2c binding to binding file. Compare to MT8173 i2c
controller, MT7622 limit message size to 255, and not support
4GB DMA mode.
Signed-off-by: Jun Gao
---
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++-
1 file changed, 6 insertions(+), 5 deletions
From: Jun Gao <jun@mediatek.com>
The speed of sending i2c master code in high-speed mode depends on
source clock, clock-div and TIMING register. The source clock and
clock-div of different SoC are not all the same. In order to send
i2c master code at 400k in high-speed mode, a appro
From: Jun Gao
The speed of sending i2c master code in high-speed mode depends on
source clock, clock-div and TIMING register. The source clock and
clock-div of different SoC are not all the same. In order to send
i2c master code at 400k in high-speed mode, a appropriate value
should be set
From: Jun Gao <jun@mediatek.com>
The speed of sending i2c master code in high-speed mode depends on
source clock, clock-div and TIMING register. The source clock and
clock-div of different SoC are not all the same. In order to send
i2c master code at 400k in high-speed mode, a appro
From: Jun Gao
The speed of sending i2c master code in high-speed mode depends on
source clock, clock-div and TIMING register. The source clock and
clock-div of different SoC are not all the same. In order to send
i2c master code at 400k in high-speed mode, a appropriate value
should be set
On Wed, 2017-06-14 at 11:24 +0200, Matthias Brugger wrote:
>
> On 14/06/17 03:11, Jun Gao wrote:
> > On Tue, 2017-06-13 at 15:45 +0200, Matthias Brugger wrote:
> >>
> >> On 13/06/17 15:23, Jun Gao wrote:
> >>> On Tue, 2017-06-13 at 14:52 +0200, Matthias B
On Wed, 2017-06-14 at 11:24 +0200, Matthias Brugger wrote:
>
> On 14/06/17 03:11, Jun Gao wrote:
> > On Tue, 2017-06-13 at 15:45 +0200, Matthias Brugger wrote:
> >>
> >> On 13/06/17 15:23, Jun Gao wrote:
> >>> On Tue, 2017-06-13 at 14:52 +0200, Matthias B
On Tue, 2017-06-13 at 15:45 +0200, Matthias Brugger wrote:
>
> On 13/06/17 15:23, Jun Gao wrote:
> > On Tue, 2017-06-13 at 14:52 +0200, Matthias Brugger wrote:
> >>
> >> On 13/06/17 12:24, Jun Gao wrote:
> >>> On Tue, 2017-06-13 at 11:36 +0200, Matthias B
On Tue, 2017-06-13 at 15:45 +0200, Matthias Brugger wrote:
>
> On 13/06/17 15:23, Jun Gao wrote:
> > On Tue, 2017-06-13 at 14:52 +0200, Matthias Brugger wrote:
> >>
> >> On 13/06/17 12:24, Jun Gao wrote:
> >>> On Tue, 2017-06-13 at 11:36 +0200, Matthias B
On Tue, 2017-06-13 at 14:52 +0200, Matthias Brugger wrote:
>
> On 13/06/17 12:24, Jun Gao wrote:
> > On Tue, 2017-06-13 at 11:36 +0200, Matthias Brugger wrote:
> >>
> >> On 12/06/17 13:54, Jun Gao wrote:
> >>> On Fri, 2017-05-26 at 15:35 +0800
On Tue, 2017-06-13 at 14:52 +0200, Matthias Brugger wrote:
>
> On 13/06/17 12:24, Jun Gao wrote:
> > On Tue, 2017-06-13 at 11:36 +0200, Matthias Brugger wrote:
> >>
> >> On 12/06/17 13:54, Jun Gao wrote:
> >>> On Fri, 2017-05-26 at 15:35
On Tue, 2017-06-13 at 11:36 +0200, Matthias Brugger wrote:
>
> On 12/06/17 13:54, Jun Gao wrote:
> > On Fri, 2017-05-26 at 15:35 +0800, Jun Gao wrote:
> >> From: Jun Gao <jun@mediatek.com>
> >>
> >> Add MT2701 i2c device node.
> >
On Tue, 2017-06-13 at 11:36 +0200, Matthias Brugger wrote:
>
> On 12/06/17 13:54, Jun Gao wrote:
> > On Fri, 2017-05-26 at 15:35 +0800, Jun Gao wrote:
> >> From: Jun Gao
> >>
> >> Add MT2701 i2c device node.
> >>
> >> Signed-off-by: Jun G
On Fri, 2017-05-26 at 15:35 +0800, Jun Gao wrote:
> From: Jun Gao <jun@mediatek.com>
>
> Add MT2701 i2c device node.
>
> Signed-off-by: Jun Gao <jun@mediatek.com>
> ---
> arch/arm/boot/dts/mt2701-evb.dts | 42
> +
On Fri, 2017-05-26 at 15:35 +0800, Jun Gao wrote:
> From: Jun Gao
>
> Add MT2701 i2c device node.
>
> Signed-off-by: Jun Gao
> ---
> arch/arm/boot/dts/mt2701-evb.dts | 42
>
> arch/arm/b
On Tue, 2017-05-30 at 16:38 -0500, Rob Herring wrote:
> On Mon, May 29, 2017 at 05:30:26PM +0200, Matthias Brugger wrote:
> g>
> >
> > On 26/05/17 09:35, Jun Gao wrote:
> > > From: Jun Gao <jun@mediatek.com>
> > >
> > > Add MT2
On Tue, 2017-05-30 at 16:38 -0500, Rob Herring wrote:
> On Mon, May 29, 2017 at 05:30:26PM +0200, Matthias Brugger wrote:
> g>
> >
> > On 26/05/17 09:35, Jun Gao wrote:
> > > From: Jun Gao
> > >
> > > Add MT2701 i2c binding to i2c-mt6577.txt
From: Jun Gao <jun@mediatek.com>
Add MT2701 i2c device node.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
arch/arm/boot/dts/mt2701-evb.dts | 42
arch/arm/boot/dts/mt2701.dtsi| 42
2 files
From: Jun Gao
Add MT2701 i2c device node.
Signed-off-by: Jun Gao
---
arch/arm/boot/dts/mt2701-evb.dts | 42
arch/arm/boot/dts/mt2701.dtsi| 42
2 files changed, 84 insertions(+)
diff --git a/arch/arm/boot
From: Jun Gao <jun@mediatek.com>
Add MT2701 i2c binding to i2c-mt6577.txt and there is no need to
modify i2c driver.
Signed-off-by: Jun Gao <jun@mediatek.com>
---
Documentation/devicetree/bindings/i2c/i2c-mt6577.txt | 11 ++-
1 file changed, 6 insertions(+), 5 deleti
From: Jun Gao
Add MT2701 i2c binding to i2c-mt6577.txt and there is no need to
modify i2c driver.
Signed-off-by: Jun Gao
---
Documentation/devicetree/bindings/i2c/i2c-mt6577.txt | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings
power domain DT nodes for Mediatek MT2701"[1].
[1]
http://lists.infradead.org/pipermail/linux-mediatek/2016-December/007637.html
Jun Gao (2):
dt-bindings: i2c: Add Mediatek MT2701 i2c binding
arm: dts: Add Mediatek MT2701 i2c device node
.../devicetree/bindings/i2c/i2c-mt6577.txt
power domain DT nodes for Mediatek MT2701"[1].
[1]
http://lists.infradead.org/pipermail/linux-mediatek/2016-December/007637.html
Jun Gao (2):
dt-bindings: i2c: Add Mediatek MT2701 i2c binding
arm: dts: Add Mediatek MT2701 i2c device node
.../devicetree/bindings/i2c/i2c-mt6577.txt
1 - 100 of 128 matches
Mail list logo