From mboxrd@z Thu Jan 1 00:00:00 1970 From: David.Wu Date: Thu, 14 Sep 2017 19:17:33 +0800 Subject: [U-Boot] [U-Boot, 6/8] clk: rockchip: Add rk3368 Saradc clock support Message-ID: <5cb33a24-5e59-ec30-90fa-0a30f7de4b2b@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Hi Philipp, 在 2017/9/14 4:41, Philipp Tomsich 写道: >> +static ulong rk3368_saradc_get_clk(struct rk3368_cru *cru) >> +{ >> +   u32 div, val; >> + >> +   val = readl(&cru->clksel_con[25]); >> +   div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, >> +                  CLK_SARADC_DIV_CON_WIDTH); > > Please reuse the functions from bitfield.h. [...] Content analysis details: (6.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [58.22.7.114 listed in dnsbl.sorbs.net] 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [211.157.147.135 listed in psbl.surriel.com] 2.4 RCVD_IN_MSPIKE_L5 RBL: Very bad reputation (-5) [211.157.147.135 listed in bl.mailspike.net] 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted -------------- next part -------------- An embedded message was scrubbed... From: "David.Wu" Subject: Re: [U-Boot,6/8] clk: rockchip: Add rk3368 Saradc clock support Date: Thu, 14 Sep 2017 19:17:33 +0800 Size: 2297 URL: