public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide•com>
To: Geert Uytterhoeven <geert@linux-m68k•org>
Cc: "Geert Uytterhoeven" <geert+renesas@glider•be>,
	linux-realtek-soc@lists•infradead.org,
	"Linus Walleij" <linus.walleij@linaro•org>,
	"Bjorn Andersson" <bjorn.andersson@linaro•org>,
	"Thierry Reding" <thierry.reding@gmail•com>,
	"Fabio Estevam" <festevam@gmail•com>,
	"Rob Herring" <robh@kernel•org>,
	"Kevin Hilman" <khilman@baylibre•com>,
	"Neil Armstrong" <narmstrong@baylibre•com>,
	"Michal Simek" <michal.simek@xilinx•com>,
	"Jonathan Hunter" <jonathanh@nvidia•com>,
	"NXP Linux Team" <linux-imx@nxp•com>,
	"Uwe Kleine-König" <u.kleine-koenig@pengutronix•de>,
	boot-architecture@lists•linaro.org,
	"Sascha Hauer" <s.hauer@pengutronix•de>,
	"linux-tegra@vger•kernel.org" <linux-tegra@vger•kernel.org>,
	"open list:ARM/Amlogic Meson..."
	<linux-amlogic@lists•infradead.org>,
	"Lee Jones" <lee.jones@linaro•org>,
	"open list:TI ETHERNET SWITCH DRIVER (CPSW)"
	<linux-omap@vger•kernel.org>,
	"Alexander Sverdlin" <alexander.sverdlin@gmail•com>,
	"Linux ARM" <linux-arm-kernel@lists•infradead.org>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation•org>,
	"Linux Kernel Mailing List" <linux-kernel@vger•kernel.org>,
	"Hartley Sweeten" <hsweeten@visionengravers•com>,
	"Pengutronix Kernel Team" <kernel@pengutronix•de>,
	"Rafael J. Wysocki" <rafael@kernel•org>,
	"Shawn Guo" <shawnguo@kernel•org>,
	"Andreas Färber" <afaerber@suse•de>
Subject: Re: Sense of soc bus? (was: [PATCH] base: soc: Export soc_device_to_device() helper)
Date: Mon, 18 Nov 2019 07:55:39 -0800	[thread overview]
Message-ID: <20191118155539.GB35479@atomide.com> (raw)
In-Reply-To: <CAMuHMdU7EYHWRAR+s3ee4Wy6+6_MZON5xARszO7TDXZGyw8d5w@mail.gmail.com>

* Geert Uytterhoeven <geert@linux-m68k•org> [191115 15:51]:
> On Fri, Nov 15, 2019 at 1:01 PM Andreas Färber <afaerber@suse•de> wrote:
> > Am 15.11.19 um 09:58 schrieb Geert Uytterhoeven:
> > > We do our best to use it solely for detecting quirks in early SoC revisions.
> >
> > Got a pointer? I fail to immediately understand how sysfs would help
> > drivers (as opposed to userspace) detect quirks: Parsing strings back
> > doesn't sound efficient, and I don't see you exporting any custom APIs
> > in drivers/soc/renesas/renesas-soc.c?
> 
> We use soc_device_match(), inside kernel drivers.
> Exposure through sysfs is a side-effect of using soc_device_register(),
> and welcomed, as it allows the user to find out quickly which SoC and
> revision is being used.

For the omap variants too, we've so far gotten away with early SoC
detection for platform code, and then use soc_device_match() in few
cases for drivers at probe time if needed.

Regards,

Tony

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2019-11-18 15:55 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-03  1:36 [RFC 00/11] ARM: Realtek RTD1195/RTD1295 SoC info Andreas Färber
2019-11-03  1:36 ` [RFC 01/11] dt-bindings: soc: Add Realtek RTD1195 chip info binding Andreas Färber
2019-11-06  4:41   ` Rob Herring
2019-11-03  1:36 ` [RFC 02/11] soc: Add Realtek chip info driver for RTD1195 and RTD1295 Andreas Färber
2019-11-03  1:45   ` Andreas Färber
2019-11-11  4:56   ` [PATCH] base: soc: Export soc_device_to_device() helper Andreas Färber
2019-11-11  5:27     ` Greg Kroah-Hartman
2019-11-11  5:42       ` Andreas Färber
2019-11-11  6:40         ` Greg Kroah-Hartman
2019-11-11 20:10           ` Andreas Färber
2019-11-12  0:29             ` Andreas Färber
2019-11-12  5:23             ` Greg Kroah-Hartman
2019-11-12  7:29               ` Uwe Kleine-König
2019-11-12 10:47                 ` Sense of soc bus? (was: [PATCH] base: soc: Export soc_device_to_device() helper) Andreas Färber
2019-11-14 22:09                   ` Rob Herring
2019-11-15 11:15                     ` Andreas Färber
2019-11-15 11:49                     ` Andreas Färber
2019-11-15  8:52                   ` Neil Armstrong
2019-11-15  8:58                     ` Geert Uytterhoeven
2019-11-15 12:00                       ` Andreas Färber
2019-11-15 12:34                         ` Geert Uytterhoeven
2019-11-18 15:55                           ` Tony Lindgren [this message]
2019-11-12 10:48                 ` [PATCH] base: soc: Export soc_device_to_device() helper Lee Jones
2020-01-02 14:29   ` [RFC 02/11] soc: Add Realtek chip info driver for RTD1195 and RTD1295 James Tai
2020-01-02 14:39     ` Andreas Färber
2020-01-02 15:02       ` James Tai
2020-01-03  5:07     ` Stanley Chang[昌育德]
2019-11-03  1:36 ` [RFC 03/11] arm64: dts: realtek: rtd129x: Add chip info node Andreas Färber
2020-01-02 14:32   ` James Tai
2020-01-03  5:07     ` Stanley Chang[昌育德]
2020-01-02 14:33   ` James Tai
2020-01-02 14:34   ` James Tai
2019-11-03  1:36 ` [RFC 04/11] ARM: dts: rtd1195: " Andreas Färber
2019-11-03  1:36 ` [RFC 05/11] dt-bindings: soc: realtek: rtd1195-chip: Extend reg property Andreas Färber
2019-11-06  4:46   ` Rob Herring
2019-11-06  8:42     ` Andreas Färber
2019-11-03  1:36 ` [RFC 06/11] soc: realtek: chip: Detect RTD1296 Andreas Färber
2020-01-02 14:35   ` James Tai
2019-11-03  1:36 ` [RFC 07/11] arm64: dts: realtek: rtd129x: Extend chip-info reg with CHIP_INFO1 Andreas Färber
2019-11-03  1:36 ` [RFC 08/11] soc: realtek: chip: Detect RTD1293 Andreas Färber
2019-11-03  1:36 ` [RFC 09/11] dt-bindings: soc: realtek: rtd1195-chip: Extend reg node again Andreas Färber
2019-11-03  1:36 ` [RFC 10/11] soc: realtek: chip: Detect RTD1294 Andreas Färber
2019-11-03  1:36 ` [RFC 11/11] arm64: dts: realtek: rtd129x: Extend chip-info reg with efuse Andreas Färber
2019-11-07  7:16 ` [RFC 00/11] ARM: Realtek RTD1195/RTD1295 SoC info Andreas Färber

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=20191118155539.GB35479@atomide.com \
    --to=tony@atomide$(echo .)com \
    --cc=afaerber@suse$(echo .)de \
    --cc=alexander.sverdlin@gmail$(echo .)com \
    --cc=bjorn.andersson@linaro$(echo .)org \
    --cc=boot-architecture@lists$(echo .)linaro.org \
    --cc=festevam@gmail$(echo .)com \
    --cc=geert+renesas@glider$(echo .)be \
    --cc=geert@linux-m68k$(echo .)org \
    --cc=gregkh@linuxfoundation$(echo .)org \
    --cc=hsweeten@visionengravers$(echo .)com \
    --cc=jonathanh@nvidia$(echo .)com \
    --cc=kernel@pengutronix$(echo .)de \
    --cc=khilman@baylibre$(echo .)com \
    --cc=lee.jones@linaro$(echo .)org \
    --cc=linus.walleij@linaro$(echo .)org \
    --cc=linux-amlogic@lists$(echo .)infradead.org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-imx@nxp$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-omap@vger$(echo .)kernel.org \
    --cc=linux-realtek-soc@lists$(echo .)infradead.org \
    --cc=linux-tegra@vger$(echo .)kernel.org \
    --cc=michal.simek@xilinx$(echo .)com \
    --cc=narmstrong@baylibre$(echo .)com \
    --cc=rafael@kernel$(echo .)org \
    --cc=robh@kernel$(echo .)org \
    --cc=s.hauer@pengutronix$(echo .)de \
    --cc=shawnguo@kernel$(echo .)org \
    --cc=thierry.reding@gmail$(echo .)com \
    --cc=u.kleine-koenig@pengutronix$(echo .)de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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