Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2028107imj; Sun, 17 Feb 2019 21:32:51 -0800 (PST) X-Google-Smtp-Source: AHgI3IaUDsdgqWkN9E/y9AwlCFIAzqXy87vE/XXdWruwoB5RuIOJBYysfwMx/SBc9iDNuG/2Dm5W X-Received: by 2002:a65:63d3:: with SMTP id n19mr17449347pgv.179.1550467971580; Sun, 17 Feb 2019 21:32:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550467971; cv=none; d=google.com; s=arc-20160816; b=Gn1XPHOxEl6y+2H0uaINl4v3P1yRGQ6NnUstpEWWRxbevzpjvqZ85m+/GPOQykIXT8 SyxosM0xuBy3rdBKYIXBdHMshYl6Djpf4TQvKnMMQiSJvUxU/mMtBEUhtKg4Ui0EYNz+ xhngY+s1Xw2gSXBs7av9r8m7qi/iw+87xrAoPbrvOCCuGmcxSI/MQy1v0GEQJWg6Z3+W wpFnNqOnRsZOXIOFxT0GusZCCRPaA4eKfu6cFTZyCXqKS8+DtMtTNVtmkk020wF0hQak Kt3Z/6Ik3Zsymts1yg/CojcKHs+kyhrjDXd7DeW6bW4ZUEyVjybyu0gf9kREuEcTCl4G jgqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=PKFECZ5umUjSMFwIhtRIzVOdsQXCiPiFeK7HIxsdO6k=; b=KdPTauuMwfdoW4N7Im+Y3cZmfVWylcCGh99LXUHt8RQVDhZWIoD/sSCU7FjPlsiKrT KrHKsWTVr0KvLdsQabgDu58g/tsSwyLD50/aJ52o7+KfRWnC186TF35JNmUG3kcaqwv7 Hm05TuP40zt2+jLGO7aMDMaAUZouyeiZsXBkRRFu3J0N0Kr6OaGM4r+p6xBvIgRqd6el 3gvIQ+bdza+1mvqYOC8L1+QWVSjZhXKVwgCZ27qNBFQ3UXh3GoTFBw8/HcAbzoJ9b7zP nVle0kdQTl2mKPcKa7uOYP4qrhHC83PySdw6b5iBZJ0qUiExNYvKHtlU1FgGqdKC6r9+ 4zGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=MsXI8gY+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g20si10509369pgk.587.2019.02.17.21.32.03; Sun, 17 Feb 2019 21:32:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=MsXI8gY+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725961AbfBRFQ1 (ORCPT + 99 others); Mon, 18 Feb 2019 00:16:27 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:39579 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725766AbfBRFQ1 (ORCPT ); Mon, 18 Feb 2019 00:16:27 -0500 Received: by mail-pl1-f194.google.com with SMTP id 101so8153708pld.6; Sun, 17 Feb 2019 21:16:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=PKFECZ5umUjSMFwIhtRIzVOdsQXCiPiFeK7HIxsdO6k=; b=MsXI8gY+iTZ3qCuJ/nuqpcZOdxp2PCJu16sooVcW/D/krbvTMeurpqvoxu2Kdt9Mv1 qdNTzwJjROOV0fErfPrEe/R/KW3d+NQ3uC5MAc+I0OFu0Z2yOnzsH2pdNB8YT8m2hIJ2 MtxRzXX6Rxnv8VkXSovZaYOpOqut+YcGNWVN1UGf0bA9qtDPC2fl6MegqvzjuBxfddns ZJRhBYvStQfbTM82jZi/Cj6XINbwF1ZStDKHj8OHaFp7Q29+Gs6/9oSuSyN541b9uBW4 S0m8zQrZx0Ub8qM2gZB3RhqrrY+J9CNfzk1tSLI5hvoxvLMc60FruKes+/k+3myomGbM Olpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PKFECZ5umUjSMFwIhtRIzVOdsQXCiPiFeK7HIxsdO6k=; b=WFXkhOs6cwfghEQsPrNfVa0ga9qmlknq/yHoavGc2SmT1zpdmwREXRGRPrkYJ9U7Ay TaJKHN/bRvmPLHekhNhnaq3RDB6rc4RLW8N5Tj85ufA4bX5CXnYvAxHsj/ZBvIKXf+Iz F5Q1jzf9MnUUsAUGSQ2WYTtGFPlyurd/JQajzEpLmfQcxEHdmXUtn2Y4US5ChUAsJ5H1 mOBVtLGSQOLhuLc+ybyoWB9x+cioqy8mjt749OwS97FXXaoTb4huKxZFTNkCSusfORvh lnviKlKid4IpvZusJP0bkrxrmw5x2ELEiDizBd/VYcK+wzzSp+1IXSbxqjlwuBh4PMpN 3Fxw== X-Gm-Message-State: AHQUAuZ3fjCU0+SdqF6rOkUt2vTKQq/rg66kLevsZrwAJ5ZOuDfwDqSv aqhawavRMZBtmuS1XOIds3s= X-Received: by 2002:a17:902:9008:: with SMTP id a8mr23586735plp.38.1550466986589; Sun, 17 Feb 2019 21:16:26 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id e7sm13447966pgv.6.2019.02.17.21.16.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Feb 2019 21:16:25 -0800 (PST) Subject: Re: [PATCH V2 0/4] Add i.MX8QXP system controller watchdog support To: Anson Huang , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "wim@linux-watchdog.org" , Aisheng Dong , "ulf.hansson@linaro.org" , Daniel Baluta , Andy Gross , "horms+renesas@verge.net.au" , "heiko@sntech.de" , "arnd@arndb.de" , "bjorn.andersson@linaro.org" , "jagan@amarulasolutions.com" , "enric.balletbo@collabora.com" , "marc.w.gonzalez@free.fr" , "olof@lixom.net" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-watchdog@vger.kernel.org" Cc: dl-linux-imx References: <1550454997-4398-1-git-send-email-Anson.Huang@nxp.com> From: Guenter Roeck Message-ID: <02ea476f-d055-ac12-d1b6-c6caffb14614@roeck-us.net> Date: Sun, 17 Feb 2019 21:16:22 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <1550454997-4398-1-git-send-email-Anson.Huang@nxp.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/17/19 6:01 PM, Anson Huang wrote: > i.MX8QXP is an ARMv8 Cortex-A35 SoC with a Cortex-M4 system controller inside, > the system controller manages overall power, clock, secure RTC and watchdog > etc., so Linux kernel running on A35 needs to communicate with system > controller for watchdog operation, this system controller watchdog will > call SMC to trap to EL3 secure world ARM-Trusted-Firmware and then it will > request system controller to do the watchdog operation via IPC. > > And you expect I'll spend the time comparing this version of the patch series against version 1 and figure out myself what exactly changed ? Guenter Below are the patch dependency: > > The dt-binding and imx8qxp.dtsi patch are based on my thermal patch series as below: > https://patchwork.kernel.org/patch/10800699/ > > Anson Huang (4): > dt-bindings: fsl: scu: add watchdog binding > watchdog: imx_sc: Add i.MX system controller watchdog support > arm64: defconfig: add support for i.MX system controller watchdog > arm64: dts: freescale: imx8qxp: add watchdog support > > .../devicetree/bindings/arm/freescale/fsl,scu.txt | 10 + > arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 + > arch/arm64/configs/defconfig | 1 + > drivers/watchdog/Kconfig | 13 ++ > drivers/watchdog/Makefile | 1 + > drivers/watchdog/imx_sc_wdt.c | 210 +++++++++++++++++++++ > 6 files changed, 239 insertions(+) > create mode 100644 drivers/watchdog/imx_sc_wdt.c >