From patchwork Mon Jul 29 07:47:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 820 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 221853F0E1 for ; Mon, 29 Jul 2019 09:48:08 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id 6sf37968139pfz.10 for ; Mon, 29 Jul 2019 00:48:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1564386487; cv=pass; d=google.com; s=arc-20160816; b=aQRwixvyXDN9WaeSLkJ4DrVgfkP9gbyPmc6Oy2C81kTNgRZyITzLXJSzRf5rNDd/OG zt1nNwhn344m3OQqU9oXgJzxDqLnLCUEVoQpIZf8eUxaGBNdp9zM9kkordJhIgmJwgv4 5lK/HSE39rnsLxX2e0hvGCz089NXAkMehmXhfprigGa8DL1dFXxhC7kfr+OAbhwL1V9G RsmBNozyAmzilrBTlgxT4UbGJvh/3FXiUhUQ+blz+uTQfQ1EJJT22Rcftrp+dpcp2h0A 9bpZOgj5+YznHlkQwiNm6rl4Z+Xe7580GxfQ5uns1JXSNSA18GV7p7PMdaAyPptxxgCJ c1GQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=CF6/PWzGnDIWNm/slyPos53eikuUIZ0tGvHrR23zsyE=; b=cDORPNffeAQZSQeKiUw3JxDtvUMbSJCoia2Bf5G2Zzn6+xdA6jXjYNcnafU7DSxsYY tZFccS0n/ZYf2SeG38yWFheoN9xU5Ia0+dsbZjiTm0TqTwdiDJ0pQUx0XuTrGPbly/gI +xIWacfXt375n3dans7JzsogXoMYUI1N6MHxGIQtrEQJkcQmNrqowORq7WKmVBUI4fja xZODWvfauUkXFPRkCM36FUOayV5twqhs4yTg7knIjCMdLT7g0iMAMYG1WQgmCP+DnKs1 RYeh35QauzQqOggWt15rax2PqPJWcsIeeGQq7i4KgZfZXrsCVYK/6HuWtRu/zGyRH2pV cW+A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hNnQNwS+; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=CF6/PWzGnDIWNm/slyPos53eikuUIZ0tGvHrR23zsyE=; b=ha1bijmu5LxRo5UbOyh794MPe57O6zX/X2C4w5zXBmkDwxd8bEjx8USCQe8u5VHeTA 0mioPrbswHiqWxckw72nW7bFk9OuFcgVUHKGvNHQ1BuXZz7W7paSCpyt/DQEncSxmVkf 41XP5ld/B/qjpS+dn+dHwUeuINl9MLWTeyBRU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=CF6/PWzGnDIWNm/slyPos53eikuUIZ0tGvHrR23zsyE=; b=p7DLn9X8D1AkzPa7zu8Xi6UyCHPmpxuSM9fux/WLxE0LjYBngMCJ9j7frgC7qZAbhz Bx2Ism02Uwmy5qxV4JKRCP2uLUkbI08pG8S9SK8Hz285RcW4A6qtEufVu6f2DzbjTq3p tDyglRed3N2EQ20tMJpvN2aDO6BI7FEzL5sEJ8uOFe32hPWVJLNqUk9miy/IlupPNQn6 x/8vVg7hUBRbquAjgoXdsmz8Cv/ysLv6gMqMyEdDdNzUD3x4/8KPhx9deXTul5owOQSD pmaUGPl3KPXIIHb+smEfQETPGdSHA65oi3KfaqzBTTE8CYzKrZLJjWd6a2Tv8FL0cBmC XKIA== X-Gm-Message-State: APjAAAUPjibxzeAHuVH9HUZB2foSjn4EtYntrVY4r5wrrwTi8UeqlyK2 Awdk2KLexqYrgnN6qGAwwEKO7UQx X-Google-Smtp-Source: APXvYqyT3mCp3zvR7YmBkvMaVO9myPOEiPzyIdN5QskU622STRfc0GYyVnpOzgRe9QNK8hzRyYe6QQ== X-Received: by 2002:a62:7552:: with SMTP id q79mr35320532pfc.71.1564386486954; Mon, 29 Jul 2019 00:48:06 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:8e41:: with SMTP id d1ls12386520pfr.13.gmail; Mon, 29 Jul 2019 00:48:06 -0700 (PDT) X-Received: by 2002:a62:483:: with SMTP id 125mr36156423pfe.245.1564386486589; Mon, 29 Jul 2019 00:48:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564386486; cv=none; d=google.com; s=arc-20160816; b=YbAL47kWkER0zzCARnO8V8+nJIQZ/ZvYWq/3fGja3TeZCmoD6MxJF+lXGqT4Of+ojU Ma7/5r5smgziHWrDlkvUtKdE1/2mblbuf7dSZGPAPchorXLnZnEgUGBwZxe7OXyZsqtM VingD3cYtECQmHJ1R/NxxNab057sqEFjzH7RMvELokxo3UfCbOhBubPQzP0J1Xnliyql 8mO/yrebfP0+AR1kRd0R6oQyooXD55m1o+iKm3IBAK3TNy3fcKWUle0Jg1a+lT8KeSuh Gl6tPLI5vmaZdsyXHZxJH6NbTMI6p5S7yHQTuElN9hRyYVsytAz8BvS10BSFFacsKt4J 4SyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=w/x1ZiOCvrLzZkcwYiaPJMQ1HnVFDjCbF32VbqVbBMU=; b=RiUpJrlobW9dzRtCkLpdPiox3kpnAT1frb6+zwe4m9trclnLN1NCZTl+Um2G1va5fd ms9BvntmE/QyE3RCftE9TFNjqj8ZIJP+JBfKGt3CLAax5eh1X4in5tyXmox/i6kJTOzN ZDDGCxmUvGzM2p/RDsY7ZTqjyM6eq5Du94ed78waT6GURkJcI21Sax2yYtJapA4FM8Mg qzdv1l9vOL+Ib71lrJpIBSdHhYwjEQy5UP1H5swTq0022mVVwavgHPylZEzmDEO0iT68 wN1ZLTqbzX6286cSXpM2gBaPUwtTvfcvT3stDvLUfAlTwHWF5Iu5Ck1yg0l4yrLfPPNp /dvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hNnQNwS+; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id o70sor72564848pje.2.2019.07.29.00.48.06 for (Google Transport Security); Mon, 29 Jul 2019 00:48:06 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90a:ac14:: with SMTP id o20mr112030960pjq.114.1564386486303; Mon, 29 Jul 2019 00:48:06 -0700 (PDT) Received: from localhost.localdomain ([49.206.203.41]) by smtp.gmail.com with ESMTPSA id h14sm75723348pfq.22.2019.07.29.00.48.03 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 29 Jul 2019 00:48:05 -0700 (PDT) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: Akash Gajjar , u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 11/15] wdt: Kconfig: Add WDT_DW entry Date: Mon, 29 Jul 2019 13:17:07 +0530 Message-Id: <20190729074711.16988-12-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190729074711.16988-1-jagan@amarulasolutions.com> References: <20190729074711.16988-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hNnQNwS+; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add Kconfig entry for CONFIG_WDT_DW, and it indeed depends on DM WDT. So, it can be avialable on particular board defconfig only if they switch to use DW driver model code. Signed-off-by: Jagan Teki --- drivers/watchdog/Kconfig | 9 +++++++++ scripts/config_whitelist.txt | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index ee0ddffe73..0b64298016 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -100,6 +100,15 @@ config WDT_CDNS Select this to enable Cadence watchdog timer, which can be found on some Xilinx Microzed Platform. +config WDT_DW + bool "Synopsys DesignWare watchdog" + depends on WDT + default y if ROCKCHIP_RK3399 + imply WATCHDOG + help + Say Y here if to include support for the Synopsys DesignWare + watchdog timer found in many chips. + config WDT_MPC8xx bool "MPC8xx watchdog timer support" depends on WDT && MPC8xx diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index f2453728c6..47e42e680a 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -323,7 +323,6 @@ CONFIG_DEFAULT_IMMR CONFIG_DEF_HWCONFIG CONFIG_DELAY_ENVIRONMENT CONFIG_DESIGNWARE_ETH -CONFIG_WDT_DW CONFIG_DEVELOP CONFIG_DEVICE_TREE_LIST CONFIG_DFU_ALT