From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 0/5] clk: Add a managed API and fix clock self-assignment
Date: Sun, 20 Oct 2019 22:55:25 +0200 [thread overview]
Message-ID: <20191020225525.27b103df@jawa> (raw)
In-Reply-To: <20190930122934.19741-1-jjhiblot@ti.com>
Hi Jean-Jacques,
> This is the second of a few series, the goal of which is to facilitate
> porting drivers from the linux kernel. Most of the series will be
> about adding managed API to existing infrastructure (GPIO, reset,
> phy,...)
>
> This particular series is about clocks. It adds a managed API, using
> the same API as linux. It also fix a use-case where the clock is
> initialized (rate and/or mux) when it is probed using the
> assigned-clocks-* properties.
>
This series when applied on newest -master branch causes build breaks
(on for instance mips, bcm):
mips: + bcm968380gerg_ram
+drivers/mtd/nand/raw/built-in.o: In function `devm_clk_get':
+drivers/mtd/nand/raw/brcmnand/brcmnand_compat.c:7: multiple definition
of `devm_clk_get'
Travis-CI result:
https://travis-ci.org/lmajewski/u-boot-dfu/jobs/600367698
The branch to reproduce:
https://github.com/lmajewski/u-boot-dfu/commits/testing
> JJ
>
> Jean-Jacques Hiblot (5):
> drivers: clk: Handle gracefully NULL pointers
> drivers: clk: Add a managed API to get clocks from the device-tree
> test: clk: Update tests to also check the managed API
> drivers: clk: Fix using assigned-clocks in the node of the clock it
> sets up
> test: clk: test clock self assignment
>
> arch/sandbox/dts/test.dts | 8 +-
> arch/sandbox/include/asm/clk.h | 33 ++++++++
> drivers/clk/clk-uclass.c | 139
> ++++++++++++++++++++++++++++++--- drivers/clk/clk_sandbox.c |
> 56 +++++++++++++ drivers/clk/clk_sandbox_test.c | 66 +++++++++++++---
> drivers/core/device.c | 2 +-
> include/clk.h | 53 ++++++++++++-
> test/dm/clk.c | 36 ++++++++-
> 8 files changed, 364 insertions(+), 29 deletions(-)
>
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191020/3e9b5f6b/attachment.sig>
prev parent reply other threads:[~2019-10-20 20:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-30 12:29 [U-Boot] [PATCH v1 0/5] clk: Add a managed API and fix clock self-assignment Jean-Jacques Hiblot
2019-09-30 12:29 ` [U-Boot] [PATCH v1 1/5] drivers: clk: Handle gracefully NULL pointers Jean-Jacques Hiblot
2019-10-30 1:48 ` Simon Glass
2019-09-30 12:29 ` [U-Boot] [PATCH v1 2/5] drivers: clk: Add a managed API to get clocks from the device-tree Jean-Jacques Hiblot
2019-10-30 1:48 ` Simon Glass
2019-09-30 12:29 ` [U-Boot] [PATCH v1 3/5] test: clk: Update tests to also check the managed API Jean-Jacques Hiblot
2019-10-30 1:48 ` Simon Glass
2019-09-30 12:29 ` [U-Boot] [PATCH v1 4/5] drivers: clk: Fix using assigned-clocks in the node of the clock it sets up Jean-Jacques Hiblot
2019-10-30 1:48 ` Simon Glass
2019-09-30 12:29 ` [U-Boot] [PATCH v1 5/5] test: clk: test clock self assignment Jean-Jacques Hiblot
2019-10-30 1:48 ` Simon Glass
2019-10-20 20:55 ` Lukasz Majewski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191020225525.27b103df@jawa \
--to=lukma@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox