Re: [PATCH 4.4.y-cip 03/10] rtc: pcf85363: set time accurately
Pavel Machek
On Tue 2019-07-16 09:15:14, Biju Das wrote:
commit 188306ac9536ec47674ffa9dd330f69927679aeb upstream.How does wrap around work? AFAICT it is supposed to have ram at 0x40. Does it really provide increased efficiency (given regmap layer in between) and will such trick cause problems in future? If regmap is not aware of register mirrors it might get confused and provide stale values, for example... Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
|
|
Re: [PATCH 4.19.y-cip 0/6] Add RTC support
Pavel Machek
On Mon 2019-07-15 15:17:19, Biju Das wrote:
This patch series add RTC support for EK874 platform.Thanks for the series, applied, and pushed out. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
|
|
Re: [PATCH 4.19.y-cip 2/6] arm64: dts: renesas: r8a774c0-cat874: Add RWDT support
Pavel Machek
On Mon 2019-07-15 15:28:46, Biju Das wrote:
From: Fabrizio Castro <fabrizio.castro@...>So this will reboot machine if userspace does not ping it within 60 seconds by default? Will that break user configurations that worked up till now, but do not contain watchdog support? Do we care? Thanks, Pavel @@ -137,6 +137,11 @@-- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
|
|
Re: [PATCH 4.19.y-cip 1/6] arm64: dts: renesas: r8a774c0-cat874: Add LEDs support
Pavel Machek
Hi!
index f08778e..af396bb 100644With my LED maintainer hat on... these are not exactly useful LED names. Do they have any fixed meaning? Are they labeled on the board? What color are they? Best regards, Pavel -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
|
|
Re: [PATCH 4.19.y-cip 4/6] rtc: rx8581: Add support for Epson rx8571 RTC
Pavel Machek
Hi!
+static int rx85x1_nvram_read(void *priv, unsigned int offset, void *val,I see that 85x1 has single byte of RAM. I'd still expect return of error in case of offset != 0 or bytes != 1. Probably best done in mainline first... Best regards, Pavel -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
|
|
Re: [ANNOUNCE] 4.4.176-cip31-rt23
Pavel Machek
Hi!
Thanks for good news. You have privat CI system, right?FWIW, I am updating the stable-rt tree right now. As noted there are aIs there a chance to update 4.4-rt based on Daniel' 4.4.179-rt181 release, butDo you want 4.4.184, too, which fixes the SACK fixes? :-). If sources are available somewhere, I can try to help with testing. Best regards, Pavl -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
|
|
Re: [PATCH 4.4.y-cip 0/5] Add QSPI support
Pavel Machek
Hi!
Applied, and pushed out.This patch series add QSPI support for iWave iwg23s sbc based on RZ/G1C.Thanks for the series. It looks fine to me. Best regards, Pavel -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
|
|
Re: [PATCH 4.19.y-cip 00/12] Add USB Host support
Pavel Machek
Hi!
This patch series add USB host support for EK874 platform.I'll note that english in comment in 11/12 could use some improvement, too. Thanks, applied, and I'll push it out soon. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
|
|
Re: [ANNOUNCE] 4.4.176-cip31-rt23
Daniel Wagner <wagi@...>
FWIW, I am updating the stable-rt tree right now. As noted there are a couple of merge conflicts ahead. Right now I am testing the result of the v4.4.180 merge. So far all looks good and now I am waiting for the test results from the CI system. After that I keep merging.Is there a chance to update 4.4-rt based on Daniel' 4.4.179-rt181 release, butDo you want 4.4.184, too, which fixes the SACK fixes? :-). In case you are wondering how the workflow works. We stable-rt maintainer merge the latest stable release and make a release if there is no merge conflict. If there is a merge conflict, that particular stable merge will be released as separate version. That allows to review the merge conflicts more easily.
|
|
Re: [PATCH 4.19.y-cip 04/12] phy: renesas: rcar-gen3-usb2: unify OBINTEN handling
Biju Das <biju.das@...>
Hi Pavel,
toggle quoted messageShow quoted text
Thanks for the feedback.
-----Original Message-----I agree, it removes optimization compared to the old code, But on the hand, this code is not frequently used and the code is much cleaner. Regards, Biju
|
|
Re: [PATCH 4.19.y-cip 05/12] phy: renesas: rcar-gen3-usb2: add conditions for uses_otg_pins == false
Biju Das <biju.das@...>
HI Pavel,
toggle quoted messageShow quoted text
Thanks for the feedback.
-----Original Message-----Yes I agree. There is a room for improvement in future. Regards, Biju
|
|
Re: [PATCH 4.19.y-cip 08/12] phy: renesas: rcar-gen3-usb2: follow the hardware manual procedure
Biju Das <biju.das@...>
Hi Pavel,
Thanks for the feedback. Subject: Re: [cip-dev] [PATCH 4.19.y-cip 08/12] phy: renesas: rcar-gen3-usb2:As mentioned in the commit message, "procedure to follow Figure 73.4 of "R-Car Series, 3rd Generation User's Manual: Hardware Rev.1.00". The hardware manual mentions about a flow chart(Figure 73.4) describing " OTG Initial Setting Procedure" The patch is made according to the flow chart. The "rcar_gen3_init_otg "routine has to be aligned with the procedure mentioned in the flow chart. There is a Wait for at least 20 ms is mentioned in the flow chart. static void rcar_gen3_init_otg(struct rcar_gen3_chan *ch) ...
|
|
Re: [PATCH 4.19.y-cip 08/12] phy: renesas: rcar-gen3-usb2: follow the hardware manual procedure
Pavel Machek
Hi!
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...> @@ -310,16 +310,21 @@ static void rcar_gen3_init_otg(struct rcar_gen3_chan *ch)I don't understand the comment here. Actually having function to set/clear bits in arbitrary register might be a nice cleanup. While reviewing that I noticed: static void rcar_gen3_init_otg(struct rcar_gen3_chan *ch) ... val = readl(usb2_base + USB2_LINECTRL1); rcar_gen3_set_linectrl(ch, 0, 0); writel(val | USB2_LINECTRL1_DPRPD_EN | USB2_LINECTRL1_DMRPD_EN, usb2_base + USB2_LINECTRL1); AFAICT it modifies the register only to undo those chanes immediately. Is it intentional? Is it worth a comment? Can the block be replaced with static void rcar_gen3_init_otg(struct rcar_gen3_chan *ch) ... rcar_gen3_set_linectrl(ch, 0, 0); rcar_gen3_set_linectrl(ch, 1, 1); ? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
|
|
Re: [PATCH 4.19.y-cip 05/12] phy: renesas: rcar-gen3-usb2: add conditions for uses_otg_pins == false
Pavel Machek
Hi!
@@ -212,6 +212,9 @@ static void rcar_gen3_init_from_a_peri_to_a_host(struct rcar_gen3_chan *ch)I'd write this as "return ch->dr_mode != USB_DR_MODE_HOST;" I'll take the patch, anyway, but there's room for future cleanup. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
|
|
Re: [PATCH 4.19.y-cip 04/12] phy: renesas: rcar-gen3-usb2: unify OBINTEN handling
Pavel Machek
Hi!
commit 7ab0305d4d7725699169e21cdc4f6c8759c32feb upstream. @@ -145,6 +145,18 @@ static void rcar_gen3_enable_vbus_ctrl(struct rcar_gen3_chan *ch, int vbus)This actually removes optimalization: old code would avoid reading USB2_OBINTEN twice. I guess it is not a problem. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
|
|
Re: [PATCH 4.19.y-cip 15/23] clk: renesas: rcar-gen3: Support Z and Z2 clocks with high frequency parents
Biju Das <biju.das@...>
Hi Pavel,
Thanks for the feedback. Subject: Re: [cip-dev] [PATCH 4.19.y-cip 15/23] clk: renesas: rcar-gen3:Gen3 SoC's are aarch64. So I think it is ok. Regards, Biju
|
|
Re: [PATCH 4.19.y-cip 21/23] clk: renesas: rcar-gen3: Fix cpg_sd_clock_round_rate() return value
Biju Das <biju.das@...>
Hi Pavel,
Thanks for the feedback. Subject: Re: [cip-dev] [PATCH 4.19.y-cip 21/23] clk: renesas: rcar-gen3: FixYes, I agree with you. It is too late to fix it. Regards, Biju
|
|
Re: [PATCH 4.19.y-cip 0/4] Add CAN support
Pavel Machek
On Mon 2019-07-15 14:47:59, Biju Das wrote:
This patch series add CAN support to CAT875 sub board.Thanks; applied and pushed out. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
|
|
Re: [PATCH 4.19.y-cip 00/23] Clock enhancements
Pavel Machek
Hi!
This patch series add OPP tables,HS400 quirk for SD clock,Thanks. Applied and pushed out. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
|
|
Re: [PATCH 4.19.y-cip 21/23] clk: renesas: rcar-gen3: Fix cpg_sd_clock_round_rate() return value
Pavel Machek
Hi!
This is not conform the clk API design.This is not quite correct english, but I guess it is too late to fix that. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
|
|