Re: [PATCH 4/4] rtc:abx80x: Enable xt digital calibration

2021-04-09 Thread Kirill Kapranov
Hi Pavel, Thank you very much for pointing out the issues. I redesign all the code deeply, as Alexandre Belloni suggested [1], and the lines you have mentioned are to be fixed too. Unfortunately, it takes more time than I supposed. Thank you again! -- Best Regards, Kirill Kapranov Software

Re: [PATCH 2/4] rtc: abx80x: Enable SQW output

2021-03-30 Thread Kirill Kapranov
Hi Dan, Thank you very much for pointing out the issues. However, I'm not sure that the code, you have analyzed, will be a part of final patch set. I intend to redesign all the code deeply, as Alexandre Belloni suggested [1]. Thank you again! -- Best Regards, Kirill Kapranov Software

[PATCH 0/4] rtc:abx80x: Enable distributed digital calibration

2021-03-28 Thread Kirill Kapranov
for usage of this feature. TIA! Kirill Kirill Kapranov (4): dt-bindings: rtc: abracon,abx80x: Add sqw property rtc:abx80x: Enable SQW output dt-bindings: rtc: abracon,abx80x: Add xt-frequency property rtc:abx80x: Enable xt digital calibration .../devicetree/bindings/rtc/abracon,abx80x.txt | 25

[PATCH 4/4] rtc:abx80x: Enable xt digital calibration

2021-03-28 Thread Kirill Kapranov
The XT digital calibration feature allows to improve the RTC accuracy, using a Distributed Digital Calibration function. See ch. 5.9.1 of AB08XX Series Ultra Low Power RTC IC User's Guide https://abracon.com/realtimeclock/AB08XX-Application-Manual.pdf Signed-off-by: Kirill Kapranov --- drivers

[PATCH 3/4] dt-bindings: rtc: abracon,abx80x: Add xt-frequency property

2021-03-28 Thread Kirill Kapranov
pplication-Manual.pdf Signed-off-by: Kirill Kapranov --- Documentation/devicetree/bindings/rtc/abracon,abx80x.txt | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt b/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt index 4c

[PATCH 1/4] dt-bindings: rtc: abracon,abx80x: Add sqw property

2021-03-28 Thread Kirill Kapranov
Introduce the string property "sqw" to control Square Wave Output register. This enables pulse generation output, that is useful for xtal calibration or for an external usage. Signed-off-by: Kirill Kapranov --- Documentation/devicetree/bindings/rtc/abracon,abx80x.txt | 12 ++

[PATCH 2/4] rtc: abx80x: Enable SQW output

2021-03-28 Thread Kirill Kapranov
The RTCs of the family are able to produce square wave output for RTC calibration purposes or for an external usage. Signed-off-by: Kirill Kapranov --- drivers/rtc/rtc-abx80x.c | 126 +++ 1 file changed, 126 insertions(+) diff --git a/drivers/rtc/rtc

Re: [PATCH 4.14 31/64] spi: fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-09-27 Thread Kirill Kapranov
ote: 4.14-stable review patch. If anyone has any objections, please let me know. -- From: Kirill Kapranov commit 1a4327fbf4554d5b78d75b19a13d40d6de220159 upstream. On systems where some controllers get a dynamic ID assigned and some have a fixed number (e.g. from ACPI tables), t

Re: [PATCH 4.14 31/64] spi: fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-09-27 Thread Kirill Kapranov
ote: 4.14-stable review patch. If anyone has any objections, please let me know. -- From: Kirill Kapranov commit 1a4327fbf4554d5b78d75b19a13d40d6de220159 upstream. On systems where some controllers get a dynamic ID assigned and some have a fixed number (e.g. from ACPI tables), t

Re2: [PATCH] spi:fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-08-15 Thread Kirill Kapranov
On 08/14/2018 05:18 PM, Mark Brown wrote: > Is this something that's actually happened for you? Yes, I observed it. Background: The platform: fitlet2 [1] , CPU Intel(R) Celeron(R) CPU J3455 @ 1.50GHz. On an extension board there are three SPI master controllers "Intel Corporation

Re2: [PATCH] spi:fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-08-15 Thread Kirill Kapranov
On 08/14/2018 05:18 PM, Mark Brown wrote: > Is this something that's actually happened for you? Yes, I observed it. Background: The platform: fitlet2 [1] , CPU Intel(R) Celeron(R) CPU J3455 @ 1.50GHz. On an extension board there are three SPI master controllers "Intel Corporation

[PATCH] spi:fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-08-13 Thread Kirill Kapranov
gets the same ID and predictably fails. Fix this by means of checking-in fixed IDsin IDR as far as dynamic ones at the moment of the controller registration. Fixes: 9b61e302210e (spi: Pick spi bus number from Linux idr or spi alias) Signed-off-by: Kirill Kapranov --- drivers/spi/spi.c | 9

[PATCH] spi:fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-08-13 Thread Kirill Kapranov
gets the same ID and predictably fails. Fix this by means of checking-in fixed IDsin IDR as far as dynamic ones at the moment of the controller registration. Fixes: 9b61e302210e (spi: Pick spi bus number from Linux idr or spi alias) Signed-off-by: Kirill Kapranov --- drivers/spi/spi.c | 9

Re: [PATCH] phy: Elimination the forced speed reduction algorithm.

2013-04-01 Thread Kirill Kapranov
Fri, 29/03/2013 14:38 -0400, David Miller пишет: > Why are you posting this again? I've applied your patch 3 days > ago. oops... The last letter I sent was a coding style correction -- removing trailing whitespace in response to remark of Tue, 26 Mar 2013 12:59:13 -0400 (EDT) by David Miller:

Re: [PATCH] phy: Elimination the forced speed reduction algorithm.

2013-04-01 Thread Kirill Kapranov
Fri, 29/03/2013 14:38 -0400, David Miller пишет: Why are you posting this again? I've applied your patch 3 days ago. oops... The last letter I sent was a coding style correction -- removing trailing whitespace in response to remark of Tue, 26 Mar 2013 12:59:13 -0400 (EDT) by David Miller:

[PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-29 Thread Kirill Kapranov
In case of fixed speed set up for a NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with an ethernet cable plugged off, the mentioned algorithm slows down a NIC speed, so further cable hook-up leads to nonoperable link state. Signed-off-by: Kirill Kapranov --- drivers/net/phy

[PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-29 Thread Kirill Kapranov
In case of fixed speed set up for a NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with an ethernet cable plugged off, the mentioned algorithm slows down a NIC speed, so further cable hook-up leads to nonoperable link state. Signed-off-by: Kirill Kapranov kapran...@inbox.ru

[PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-27 Thread Kirill Kapranov
In case of fixed speed set up for a NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with an ethernet cable plugged off, the mentioned algorithm slows down a NIC speed, so further cable hook-up leads to nonoperable link state. Signed-off-by: Kirill Kapranov --- drivers/net/phy

[PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-27 Thread Kirill Kapranov
In case of fixed speed set up for a NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with an ethernet cable plugged off, the mentioned algorithm slows down a NIC speed, so further cable hook-up leads to nonoperable link state. Signed-off-by: Kirill Kapranov kapran...@inbox.ru

Re: [PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-26 Thread Kirill Kapranov
Does the absence of criticism mean that this patch is ready for upstream? Maybe I shall write more verbose explanation additionally? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-26 Thread Kirill Kapranov
Does the absence of criticism mean that this patch is ready for upstream? Maybe I shall write more verbose explanation additionally? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-15 Thread Kirill Kapranov
15/03/2013 08:35 -0400, David Miller wrote: > From: Kirill Kapranov > Date: Thu, 14 Mar 2013 14:40:52 +0400 > > > @@ -867,7 +821,6 @@ void phy_state_machine(struct work_struct *work) > > netif_carrier_on(phydev->attached_dev); > &

Re: [PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-15 Thread Kirill Kapranov
15/03/2013 08:35 -0400, David Miller wrote: From: Kirill Kapranov kapran...@inbox.ru Date: Thu, 14 Mar 2013 14:40:52 +0400 @@ -867,7 +821,6 @@ void phy_state_machine(struct work_struct *work) netif_carrier_on(phydev-attached_dev); } else

[PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-14 Thread Kirill Kapranov
In case of fixed speed set up for a NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with an ethernet cable plugged off, the mentioned algorithm slows down a NIC speed, so further cable hook-up leads to nonoperable link state. Signed-off-by: Kirill Kapranov --- drivers/net/phy

[PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-14 Thread Kirill Kapranov
In case of fixed speed set up for a NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with an ethernet cable plugged off, the mentioned algorithm slows down a NIC speed, so further cable hook-up leads to nonoperable link state. Signed-off-by: Kirill Kapranov kapran...@inbox.ru

[PATCH] NET/PHY: Eliminate the forced speed reduction algorithm

2013-02-25 Thread Kirill Kapranov
>From Kirill Kapranov , NET/PHY: Eliminate the forced speed reduction algorithm. In case of fixed speed set up for a NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with an ethernet cable plugged off, the mentioned algorithm slows down a NIC speed, so further hooking up a ca

[PATCH] NET/PHY: Eliminate the forced speed reduction algorithm

2013-02-25 Thread Kirill Kapranov
From Kirill Kapranov k...@nita.ru,kapran...@inbox.ru NET/PHY: Eliminate the forced speed reduction algorithm. In case of fixed speed set up for a NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with an ethernet cable plugged off, the mentioned algorithm slows down a NIC speed, so

[PATCH] NET/PHY: Eliminate the forced speed reduction algorithm.

2013-02-19 Thread Kirill Kapranov
s. Tested at 2.6.38.7, applicable up to for 3.0.4. Signed-off-by: Kirill Kapranov , --- linux/drivers/net/phy/phy.c.orig 2011-05-22 02:13:59.0 +0400 +++ linux/drivers/net/phy/phy.c 2012-04-28 12:49:37.0 +0400 @@ -457,34 +457,6 @@ void phy_stop_machine(struct

[PATCH] NET/PHY: Eliminate the forced speed reduction algorithm.

2013-02-19 Thread Kirill Kapranov
at 2.6.38.7, applicable up to for 3.0.4. Signed-off-by: Kirill Kapranov k...@nita.ru,kapran...@inbox.ru --- linux/drivers/net/phy/phy.c.orig 2011-05-22 02:13:59.0 +0400 +++ linux/drivers/net/phy/phy.c 2012-04-28 12:49:37.0 +0400 @@ -457,34 +457,6 @@ void phy_stop_machine(struct

Re3: [PATCH] NET/PHY: Eliminate the algorithm of forced ethernet speed reduction

2013-02-15 Thread Kirill Kapranov
uot; gives no result. AFAIK, this behaviour is not RFCs' recommended. Tested at 2.6.38.7, applicable up to for 3.0.4. Signed-off-by: Kirill Kapranov , --- linux/drivers/net/phy/phy.c.orig 2011-05-22 02:13:59.0 +0400 +++ linux/drivers/net/phy/phy.c 2012-04-28 12:49:37.0 +0400

Re3: [PATCH] NET/PHY: Eliminate the algorithm of forced ethernet speed reduction

2013-02-15 Thread Kirill Kapranov
no result. AFAIK, this behaviour is not RFCs' recommended. Tested at 2.6.38.7, applicable up to for 3.0.4. Signed-off-by: Kirill Kapranov k...@nita.ru,kapran...@inbox.ru --- linux/drivers/net/phy/phy.c.orig 2011-05-22 02:13:59.0 +0400 +++ linux/drivers/net/phy/phy.c 2012-04-28 12:49

[PATCH] NET/PHY: Eliminate the algorithm of forced ethernet speed reduction

2013-01-25 Thread Kirill Kapranov
behaviour is not RFCs' recommended. Tested at 2.6.38.7, applicable up to for 3.0.4. Signed-off-by: Kirill Kapranov , --- linux/drivers/net/phy/phy.c.orig 2011-05-22 02:13:59.0 +0400 +++ linux/drivers/net/phy/phy.c 2012-04-28 12:49:37.0 +0400 @@ -457,34 +457,6 @@ void phy_stop_mach

[PATCH] NET/PHY: Eliminate the algorithm of forced ethernet speed reduction

2013-01-25 Thread Kirill Kapranov
is not RFCs' recommended. Tested at 2.6.38.7, applicable up to for 3.0.4. Signed-off-by: Kirill Kapranov k...@nita.ru,kapran...@inbox.ru --- linux/drivers/net/phy/phy.c.orig 2011-05-22 02:13:59.0 +0400 +++ linux/drivers/net/phy/phy.c 2012-04-28 12:49:37.0 +0400 @@ -457,34 +457,6

[PATCH] Eliminate the forced speed reduction algorithm

2013-01-09 Thread Kirill Kapranov
behaviour is not RFCs' recommended. Tested at 2.6.38.7, applicable up to for 3.0.4. Signed-off-by: Kirill Kapranov , --- linux/drivers/net/phy/phy.c.orig 2011-05-22 02:13:59.0 +0400 +++ linux/drivers/net/phy/phy.c 2012-04-28 12:49:37.0 +0400 @@ -457,34 +457,6 @@ void phy_stop_mach

[PATCH] Eliminate the forced speed reduction algorithm

2013-01-09 Thread Kirill Kapranov
is not RFCs' recommended. Tested at 2.6.38.7, applicable up to for 3.0.4. Signed-off-by: Kirill Kapranov k...@nita.ru,kapran...@inbox.ru --- linux/drivers/net/phy/phy.c.orig 2011-05-22 02:13:59.0 +0400 +++ linux/drivers/net/phy/phy.c 2012-04-28 12:49:37.0 +0400 @@ -457,34 +457,6