Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1325782

Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver

From Fu Wei <fu.wei@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver
Date 2016-02-03 19:20 +0100
Message-ID <qYac1-5uj-3@gated-at.bofh.it> (permalink)
References <qY9pF-4WX-3@gated-at.bofh.it> <qY9pF-4WX-1@gated-at.bofh.it> <qY9J0-54N-3@gated-at.bofh.it> <qY9SG-58b-19@gated-at.bofh.it> <qY9SG-58b-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 4 February 2016 at 01:58, Timur Tabi <timur@codeaurora.org> wrote:
> Fu Wei wrote:
>>
>> I have posted  GTDT support separately :https://lkml.org/lkml/2016/2/1/660
>>
>> devicetree driver and GTDT driver both export sbsa gwdt info to
>> "platform resource".
>>
>> this driver get hardware info from platform resource.
>
>
> I must be missing something.  How does the driver probe?  It only has an

maybe you miss a  line of code for platform resource :

---------------------
static const struct platform_device_id sbsa_gwdt_pdev_match[] = {
 { .name = "sbsa-gwdt", },
 {},
};
MODULE_DEVICE_TABLE(platform, sbsa_gwdt_pdev_match);
---------------------

> entry for device tree:
>
> +               .of_match_table = sbsa_gwdt_of_match,
>
> Doesn't there need to be an ACPI match table to probe on an ACPI system?

No, we don't. And this have been tested.



-- 
Best regards,

Fu Wei
Software Engineer
Red Hat Software (Beijing) Co.,Ltd.Shanghai Branch
Ph: +86 21 61221326(direct)
Ph: +86 186 2020 4684 (mobile)
Room 1512, Regus One Corporate Avenue,Level 15,
One Corporate Avenue,222 Hubin Road,Huangpu District,
Shanghai,China 200021

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver fu.wei@linaro.org - 2016-02-03 18:30 +0100
  Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver Timur Tabi <timur@codeaurora.org> - 2016-02-03 18:50 +0100
    Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver Fu Wei <fu.wei@linaro.org> - 2016-02-03 19:00 +0100
      Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver Timur Tabi <timur@codeaurora.org> - 2016-02-03 19:00 +0100
        Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver Fu Wei <fu.wei@linaro.org> - 2016-02-03 19:20 +0100
          Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver Timur Tabi <timur@codeaurora.org> - 2016-02-03 19:20 +0100
  Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-02-04 17:30 +0100
    Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver Fu Wei <fu.wei@linaro.org> - 2016-02-05 10:10 +0100
  Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver Timur Tabi <timur@codeaurora.org> - 2016-02-04 17:40 +0100
    Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver Guenter Roeck <linux@roeck-us.net> - 2016-02-04 17:50 +0100
      Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver Fu Wei <fu.wei@linaro.org> - 2016-02-05 10:00 +0100
  Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver Will Deacon <will.deacon@arm.com> - 2016-02-04 17:40 +0100

csiph-web