From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965641AbcBCSJ7 (ORCPT ); Wed, 3 Feb 2016 13:09:59 -0500 Received: from mail-ob0-f175.google.com ([209.85.214.175]:33304 "EHLO mail-ob0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965452AbcBCSJ4 (ORCPT ); Wed, 3 Feb 2016 13:09:56 -0500 MIME-Version: 1.0 In-Reply-To: <56B23FE1.2010207@codeaurora.org> References: <1454519923-25230-1-git-send-email-fu.wei@linaro.org> <1454519923-25230-5-git-send-email-fu.wei@linaro.org> <56B23D61.2050001@codeaurora.org> <56B23FE1.2010207@codeaurora.org> Date: Thu, 4 Feb 2016 02:09:55 +0800 Message-ID: Subject: Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver From: Fu Wei To: Timur Tabi Cc: Rob Herring , =?UTF-8?Q?Pawe=C5=82_Moll?= , Mark Rutland , Ian Campbell , Kumar Gala , Wim Van Sebroeck , Guenter Roeck , Jon Corbet , Catalin Marinas , Will Deacon , Suravee Suthikulpanit , LKML , linux-watchdog@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linaro ACPI Mailman List , rruigrok@codeaurora.org, "Abdulhamid, Harb" , Christopher Covington , Dave Young , Pratyush Anand , G Gregory , Al Stone , Hanjun Guo , Jon Masters , Arnd Bergmann , Leo Duran , sudeep.holla@arm.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4 February 2016 at 01:58, Timur Tabi 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