All of lore.kernel.org
 help / color / mirror / Atom feed
* git tree
@ 2015-03-05  7:53 Zha, Qipeng
  2015-03-11 10:51 ` Thierry Reding
  0 siblings, 1 reply; 18+ messages in thread
From: Zha, Qipeng @ 2015-03-05  7:53 UTC (permalink / raw)
  To: thierry.reding@gmail.com; +Cc: linux-pwm@vger.kernel.org

Hi 

I got pwm subsystem git tree info as below from v3.19-rc6 MAINTAINER And I clone it, found the version is v3.12 Is the tree current maintain tree ? or there is a new one, thanks.

git git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git
 

Best wishes
Qipeng

-----Original Message-----
From: linux-pwm-owner@vger.kernel.org [mailto:linux-pwm-owner@vger.kernel.org] On Behalf Of Shawn Guo
Sent: Monday, March 02, 2015 8:32 PM
To: Gaetan Hug
Cc: thierry.reding@gmail.com; linux-pwm@vger.kernel.org; linux-kernel@vger.kernel.org; fabio.estevam@freescale.com
Subject: Re: [PATCH] pwm: mxs: fix period divider computation

On Wed, Feb 18, 2015 at 02:06:34PM +0100, Gaetan Hug wrote:
> The driver computes which clock divider it sould be using from the 
> requested period. This computation assumes that the link between the 
> register value and the actual divider value is raising 2 to the power 
> of the registry value.
> 
>     div = 1 << regvalue
> 
> This is true only for the first 5 values out of 8. Next values are 64,
> 256 and, 1024 - instead of 32, 64, 128.

Just checked i.MX28 Reference Manual, and yes, this is the case.

> This affects only the users requesting a period > 0.04369s.
> 
> Replace the computation with a look-up table.

Your SoB is missing here.  Otherwise,

Acked-by: Shawn Guo <shawn.guo@linaro.org>

> ---
>  drivers/pwm/pwm-mxs.c |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c index
> f75ecb0..c65e183 100644
> --- a/drivers/pwm/pwm-mxs.c
> +++ b/drivers/pwm/pwm-mxs.c
> @@ -35,6 +35,8 @@
>  #define  PERIOD_CDIV(div)	(((div) & 0x7) << 20)
>  #define  PERIOD_CDIV_MAX	8
>  
> +static unsigned const int cdiv[PERIOD_CDIV_MAX] = {1, 2, 4, 8, 16, 
> +64, 256, 1024};
> +
>  struct mxs_pwm_chip {
>  	struct pwm_chip chip;
>  	struct clk *clk;
> @@ -54,13 +56,13 @@ static int mxs_pwm_config(struct pwm_chip *chip, 
> struct pwm_device *pwm,
>  
>  	rate = clk_get_rate(mxs->clk);
>  	while (1) {
> -		c = rate / (1 << div);
> +		c = rate / cdiv[div];
>  		c = c * period_ns;
>  		do_div(c, 1000000000);
>  		if (c < PERIOD_PERIOD_MAX)
>  			break;
>  		div++;
> -		if (div > PERIOD_CDIV_MAX)
> +		if (div >= PERIOD_CDIV_MAX)
>  			return -EINVAL;
>  	}
>  
> --
> 1.7.10.4
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-pwm" in the body of a message to majordomo@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-pwm" in the body of a message to majordomo@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 18+ messages in thread
* git tree
@ 2015-03-05  6:18 Zha, Qipeng
  2015-03-05  7:47 ` Zha, Qipeng
  0 siblings, 1 reply; 18+ messages in thread
From: Zha, Qipeng @ 2015-03-05  6:18 UTC (permalink / raw)
  To: linux-pm@vger.kernel.org; +Cc: Darren Hart, Krzysztof Kozlowski

Hi Dear

Could you confirm the git tree is below to maintain platform x86 driver ? If not , could you tell me which one Thanks.
It report non reachable when I clone it.
git clone https://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86.git



Best wishes
Qipeng

-----Original Message-----
From: platform-driver-x86-owner@vger.kernel.org [mailto:platform-driver-x86-owner@vger.kernel.org] On Behalf Of Darren Hart
Sent: Wednesday, March 04, 2015 12:44 AM
To: Krzysztof Kozlowski
Cc: Sebastian Reichel; Dmitry Eremin-Solenikov; David Woodhouse; linux-pm@vger.kernel.org; linux-kernel@vger.kernel.org; Cezary Jackiewicz; platform-driver-x86@vger.kernel.org; Kyungmin Park; Marek Szyprowski
Subject: Re: [PATCH v4 11/20] power_supply: Change ownership from driver to core

On Thu, Feb 26, 2015 at 12:31:13PM +0100, Krzysztof Kozlowski wrote:
> On czw, 2015-02-26 at 12:28 +0100, Krzysztof Kozlowski wrote:
> > On śro, 2015-02-25 at 22:14 -0800, Darren Hart wrote:
> > > On Thu, Feb 26, 2015 at 01:45:22AM +0100, Sebastian Reichel wrote:
> > 
> > (...)
> > 
> > > > I would like to merge this via the power supply subsystem. Some 
> > > > of the files being patched are not under my maintainence, 
> > > > though. It would be nice if I get an Acked-By from their maintainers.
> > > > 
> > > > As far as I can see this patch is currently missing feedback from:
> > > > 
> > > > arch/x86/platform/olpc: x86 Maintainers
> > > > drivers/acpi: Rafael J. Wysocki, Len Brown
> > > > drivers/hid: Jiri Kosina
> > > > drivers/platform/x86: Darren Hart
> > > 
> > > For compal-laptop.c:
> > > 
> > > Acked-by: Darren Hart <dvhart@linux.intel.com>
> 
> (previous mail sent by mistake)
> 
> Hi Darren,
> 
> Could you also look at my other fixes sent few days ago:
> https://lkml.org/lkml/2015/2/20/158
> compal-laptop: Check return value of power_supply_register
> 
> It touches the same line so the patchset power-supply-rework depends 
> on it to avoid conflicts. If the fix looks OK, maybe it could go 
> through Sebastian's tree with your ack?

Done, and apologies for the delay. Going through Sebastien is preferred, thanks.

--
Darren Hart
Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 18+ messages in thread
* git tree
@ 2009-06-24  9:34 Ryan
  2009-06-24 11:10 ` Tony Lindgren
  0 siblings, 1 reply; 18+ messages in thread
From: Ryan @ 2009-06-24  9:34 UTC (permalink / raw)
  To: linux-omap

Hi,
  Looking at the linux-omap tree using the gitweb interface. Apart
from the "master" branch and tags.
  why do we have lots of branches? How and when do they intertact with
each other.


17 hours ago omap1-upstream shortlog | log | tree
17 hours ago omap2-upstream shortlog | log | tree
17 hours ago omap3-boards shortlog | log | tree
17 hours ago omap3-upstream shortlog | log | tree
17 hours ago omap4 shortlog | log | tree
17 hours ago pm shortlog | log | tree
19 hours ago omap-headers shortlog | log | tree
19 hours ago omap-upstream shortlog | log | tree
19 hours ago omap-fixes shortlog | log | tree
47 hours ago master shortlog | log | tree
2 weeks ago omap-decimate shortlog | log | tree
2 weeks ago omapfb-upstream shortlog | log | tree
2 weeks ago omap-pool shortlog | log | tree
3 weeks ago for-next-2.6.30 shortlog | log | tree
4 weeks ago for-next shortlog | log | tree
4 weeks ago iommu shortlog | log | tree
2 months ago omap-2.6.29 shortlog | log | tree
3 months ago clks-testing shortlog | log | tree
3 months ago delete shortlog | log | tree
4 months ago omap-2.6.28 shortlog | log | tree
4 months ago tidspbridge shortlog | log | tree
5 months ago dspgateway shortlog | log | tree
5 months ago linus shortlog | log | tree
6 months ago musb shortlog | log | tree


Can anyone explain what exactly goes into each of them?
Some are straight forward like pm, usb, tidspbridge, gateway. not sure
about for-next-2.6.30, omap-fixes.

Trying to understand things/mode of development in here.


Thank you,
Ryan
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 18+ messages in thread
* git tree
@ 2007-07-30 12:14 Luís Vitório Cargnini
  2007-07-30 12:37 ` Felipe Balbi
  0 siblings, 1 reply; 18+ messages in thread
From: Luís Vitório Cargnini @ 2007-07-30 12:14 UTC (permalink / raw)
  To: omap

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear fellows,
Please which git tree I should use ?
I'm using the kernel.org tree and the latest tag is

S v2.6.22-rc4        5b78c77092a6  Linus 2.6.22-rc4

cg-status
Heads:
    >master     2a1c4dfbbe9fd7f756e62579bb42d341d340bd0f
   R origin     2a1c4dfbbe9fd7f756e62579bb42d341d340bd0f
- --
-
------------------------------------------------------------------------------
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty @ PUCRS
Ipiranga Avenue, 6681 - Building 30
P.O. Box: 90619-900 - Porto Alegre/RS
Phone: +55 51 3320 3500  extension: 7696
-
---------------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGrdYcKNrSZaSIZoURAkWKAJ0Yc0IKqIBe84ctxtyzgWrZ0ezRjACePtg9
7y+UkKTe6TJYhR3WgbfnRuY=
=nPfw
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Git tree
@ 2007-07-17 11:41 Veda N
  2007-07-17 12:03 ` Trilok Soni
  2007-07-25 15:15 ` Maximus
  0 siblings, 2 replies; 18+ messages in thread
From: Veda N @ 2007-07-17 11:41 UTC (permalink / raw)
  To: linux-omap-open-source

Hi,
   I am using the latest git tree. MTD and nand support for SDP does not
exist.

   Am not able to boot out of JFFS file system.

  Has anyone tried booting latest git kernel out of JFFS2 filesystem.


Regards,
vedan

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Git tree
@ 2006-07-13 22:41 Luís Cargnini
  0 siblings, 0 replies; 18+ messages in thread
From: Luís Cargnini @ 2006-07-13 22:41 UTC (permalink / raw)
  To: OMAP

Please whose git tree i must use the git tree provided bit mvist or
kernel.org ??
the problem compiling the source from kernel.org:

 CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/compile.h
  CC      arch/arm/plat-omap/clock.o
arch/arm/plat-omap/clock.c:31: error: static declaration of 'clocks' follows
non-static declaration
include/asm/arch/clock.h:19: error: previous declaration of 'clocks' was
here
arch/arm/plat-omap/clock.c:33: error: static declaration of 'clockfw_lock'
follows non-static declaration
include/asm/arch/clock.h:20: error: previous declaration of 'clockfw_lock'
was here
make[1]: *** [arch/arm/plat-omap/clock.o] Error 1
make: *** [arch/arm/plat-omap] Error 2

persist.
How could i fix this ?
someone mentioned a patch where i found this patch for gcc ?
i'm using the denx toolchain, but thinking im recreate my own toolchain,
someone using 4.1.0 ??
and have a howto or quick-setup ?

compiling gcc.4.1.0 i founded the following:
In file included from ../../gcc-4.1.0/gcc/crtstuff.c:68:
../../gcc-4.1.0/gcc/tsystem.h:90:19: error: stdio.h: No such file or
directory
../../gcc-4.1.0/gcc/tsystem.h:93:23: error: sys/types.h: No such file or
directory
../../gcc-4.1.0/gcc/tsystem.h:96:19: error: errno.h: No such file or
directory
../../gcc-4.1.0/gcc/tsystem.h:103:20: error: string.h: No such file or
directory
../../gcc-4.1.0/gcc/tsystem.h:104:20: error: stdlib.h: No such file or
directory
../../gcc-4.1.0/gcc/tsystem.h:105:20: error: unistd.h: No such file or
directory
../../gcc-4.1.0/gcc/tsystem.h:111:18: error: time.h: No such file or
directory
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/home/lvcargnini/puc/instramed/build/b-gcc/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/lvcargnini/puc/instramed/build/b-gcc'


but
../gcc-4.1.0/gcc/config/arm/t-linux
....
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fPIC -Dinhibit_libc
-D__gthr_posix_h
....
 and my configure line is
../gcc-4.1.0/configure --prefix=/opt/arm-linux --target=arm-linux
--with-float=soft --with-cpu=arm9tdmi --disable-shared --disable-threads
--with-headers=/opt/arm-linux/arm-linux/include --enable-languages=c


thanks for any help.

-- 
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Mastering Degree student @ PUC-RS Electrical Engineer Faculty

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-03-11 10:51 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20070417022050.26A645C0062@mail41-blu.bigfish.com>
2007-04-17  7:48 ` git tree Grant Likely
2007-04-22  1:00   ` David H. Lynch Jr
2007-04-22  5:43     ` Grant Likely
2015-03-05  7:53 Zha, Qipeng
2015-03-11 10:51 ` Thierry Reding
  -- strict thread matches above, loose matches on Subject: below --
2015-03-05  6:18 Zha, Qipeng
2015-03-05  7:47 ` Zha, Qipeng
2015-03-06 17:30   ` Darren Hart
2009-06-24  9:34 Ryan
2009-06-24 11:10 ` Tony Lindgren
2009-06-25 14:08   ` Pandita, Vikram
2009-06-25 14:40     ` Tony Lindgren
2007-07-30 12:14 Luís Vitório Cargnini
2007-07-30 12:37 ` Felipe Balbi
2007-07-17 11:41 Git tree Veda N
2007-07-17 12:03 ` Trilok Soni
2007-07-25 15:15 ` Maximus
2006-07-13 22:41 Luís Cargnini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.