From: "Heiko Stübner" <heiko@sntech.de>
To: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Samuel Ortiz <sameo@linux.intel.com>,
Lee Jones <lee.jones@linaro.org>, Arnd Bergmann <arnd@arndb.de>,
Tomasz Figa <tomasz.figa@gmail.com>,
Vivek Gautam <gautam.vivek@samsung.com>,
Javier Martinez Canillas <javier.martinez@collabora.co.uk>,
Pankaj Dubey <pankaj.dubey@samsung.com>,
linux-kernel@vger.kernel.org, kernel@pengutronix.de
Subject: Re: [PATCH] mfd: syscon: fix syscon probing from dt
Date: Tue, 06 Jan 2015 20:05:20 +0100 [thread overview]
Message-ID: <3852443.x4DN8HDuzc@phil> (raw)
In-Reply-To: <1420558236-14063-1-git-send-email-p.zabel@pengutronix.de>
Hi Philipp,
Am Dienstag, 6. Januar 2015, 16:30:36 schrieb Philipp Zabel:
> Patch bdb0066df96e ("mfd: syscon: Decouple syscon interface from platform
> devices") breaks probing pure syscon devices from device tree, such as
> anatop and iomuxc-gpr on i.MX. This patch adds back the dt id table to
> match against "syscon" compatible device tree nodes.
could you elaborate a bit on the problem you're seeing without your patch?
With bdb0066df96e the syscon should be registered by the first call to one of
the syscon_regmap_lookup_by_* functions. On my rockchip boards this works
without any hickups:
.bss : 0xc07f88a8 - 0xc0847264 ( 315 kB)
Hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
L2C: failed to init: -19
syscon_regmap_lookup_by_phandle of /syscon@ff770000
of_syscon_register of /syscon@ff770000
Architected cp15 timer(s) running at 24.00MHz (phys).
sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns
[... a lot later ...]
stmmaceth ff290000.ethernet: rk_gmac_setup: Can not read property: rx_delay.
stmmaceth ff290000.ethernet: rk_gmac_setup: set rx_delay to 0x10
syscon_regmap_lookup_by_phandle of /syscon@ff770000
stmmaceth ff290000.ethernet: rk_gmac_setup: NO interface defined!
stmmaceth ff290000.ethernet: gmac_clk_init: clock input from PHY
The syscon@ff770000 from above also is a pure syscon device, so I'm wondering
why it wouldn't work on imx boards.
Heiko
next prev parent reply other threads:[~2015-01-06 19:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-06 15:30 [PATCH] mfd: syscon: fix syscon probing from dt Philipp Zabel
2015-01-06 19:05 ` Heiko Stübner [this message]
2015-01-07 9:58 ` Philipp Zabel
2015-01-06 19:36 ` Arnd Bergmann
2015-01-07 10:57 ` Philipp Zabel
2015-01-07 11:17 ` Pankaj Dubey
2015-01-07 11:55 ` Philipp Zabel
2015-01-08 11:07 ` Pankaj Dubey
2015-01-08 11:47 ` Philipp Zabel
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=3852443.x4DN8HDuzc@phil \
--to=heiko@sntech.de \
--cc=arnd@arndb.de \
--cc=gautam.vivek@samsung.com \
--cc=javier.martinez@collabora.co.uk \
--cc=kernel@pengutronix.de \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=pankaj.dubey@samsung.com \
--cc=sameo@linux.intel.com \
--cc=tomasz.figa@gmail.com \
/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