From patchwork Mon Aug 26 18:21:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 835 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id BA61C3F0E1 for ; Mon, 26 Aug 2019 20:21:33 +0200 (CEST) Received: by mail-oi1-f197.google.com with SMTP id p9sf4173134oic.6 for ; Mon, 26 Aug 2019 11:21:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566843692; cv=pass; d=google.com; s=arc-20160816; b=vPZhgnm9NgwKHKDYivoj40LkECwMTv/Uvb0sM/nLBZAeSexqvnTJgSpKYlSfViNRRC seHmC8/r7mY+mFqpo1TwFUnqzkUUyDGC71eJ+Yb3oWvBhoUGF0vWsUlYiC4GTbT07mmE i5l7IgahvwXX/Kp0TaOrTsw06QPQ6nf2k58KVsP5GTVYfX+hqhGwjwj29qOYVz/4lw7b 0mvKPpPEsCoi6O1L52hm/VFwsKoFh8ClH890eKCfFTo1dh0jnGMSxOzOF/7txF+FPOdY CHaw37AAq8pXmbkAam+4FFZ2Y7egxU0O1m0RUgz+W5C9s5orcmsd9qzUgzzcu444pk15 1xGg== 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=vpxt8Z5WdSH6RIoyKgwLTdBxLxSzrxSEKPVP0A61sB4=; b=LbiW3cV6/79e3tK2Fb6Qf+Tv2faOVy0dwTPykOVqXi4RML6EVUbJh4/EgbElxQiaRw K1Zmytgp+MsOBxpeZ9DqNKoit+dhNIxbVBnJihjB0D2b+myFb5o4E545yXeyZjlz+9VH mlCArQJL+K5TgvOeN16T88RKyU0W2shpDBaKva/llM43lCw+B6XnyFoXx8avd6hOGIWp F1/uj/LLy87ihe6A9KI7446Q+NPMkdLXc+FQoEnA4tIb7bTxfmND2m158NIJOkhiqTV0 Ge96NGkUg/LIKLJgrmbQwnfe45f5Q2RqOcQYGhKi2yBwHXxBIeMIi8XW2N/oDREkg0k3 YKdA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GvsaNMab; 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=vpxt8Z5WdSH6RIoyKgwLTdBxLxSzrxSEKPVP0A61sB4=; b=m12z2ZR6cT5xVNzLRWBWpJIqbVVWjcupIn8Q8a3s3vCIbe4Nt780Gpq4Srl5EaLjr2 7aXPDx5Bx4hgRKf+ZfSWXp7EZTlglHNRaTrNjndB0eM+D+SsENS+JpPXEXbga83JEeus k9Ju87P9bfAVO4Al+qnN7YvVA3bgTtIrzrJJ8= 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=vpxt8Z5WdSH6RIoyKgwLTdBxLxSzrxSEKPVP0A61sB4=; b=a3i2GWUfJQ8CyWDxpIUORSD0CCTWiIAXhaNTxflx6NNWeDEcmKUEUTFgW63VtFlovM M6YbISV3inhiG3BajuBjd9T+xDb+soW7S/zxRZnLgmNHwkao2qkTfpf0hzc8IjsmxvWi RezDTx5olFi00Hl3aY5rU5bBlksRXy+foN0xAsDme9fMVPlvE/WNhu4s+xLSPXdIrOIO TLQ1ooGRXhSn625Q8S2ErFdZNKOqAjpl8cahaZ7fVT/ktZtGEfSMPJ6bymUjHKhMivZn 2ux+ljKpA9qwnhVzHhbW7dlgydVHVUZ9RTyQAxw6wdPuiTzocQfTvGoPwHQVSY2ql7r5 HsXQ== X-Gm-Message-State: APjAAAWZkRAl2Gk0KmnPJEuQZf5MHhOZkmm0UYfw3rrB5xSK5dud54eP F+861rUt/S1syvtLjw+5FMDrgqep X-Google-Smtp-Source: APXvYqy2a4Ch/xRwBGeABvi/RsSOT1VlY0lFptQUB/kLHY9eexl405yyz++8yBdOMvNbizNkMP9IhA== X-Received: by 2002:a9d:7308:: with SMTP id e8mr17075436otk.285.1566843692710; Mon, 26 Aug 2019 11:21:32 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6808:5c2:: with SMTP id d2ls410584oij.16.gmail; Mon, 26 Aug 2019 11:21:32 -0700 (PDT) X-Received: by 2002:aca:5c3:: with SMTP id 186mr12813035oif.37.1566843692353; Mon, 26 Aug 2019 11:21:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566843692; cv=none; d=google.com; s=arc-20160816; b=x9kjr26pFZCwZjv2Ce2WXa9wl9rV/BhvHUcWdzmXEUKjzsIB/2nzn8SxVRCv40WQ05 +afKx58o8QdniXbj2yNm6BeN7j0ctm6Tz3pGaN42iuGAqvxHPR3V0gPRjEaYUl+dkBH3 ZpcDo+HHdGcEPrTziIoOtjbvuSpKmIvOl+u83R9gS5aggMfXCOvGDGbh7g3bg6WB/zHc iNNQex6Skt8iJTkITKOZpi0Ut3Qu12ZtPKj4Bk6JMwK+U2UgJYRc4c8bGrHAU4m9b6Ld mD986S90wOy4evSA3/PQYmv92iWV8+HzkobWmWv6nX7g+josQnwCGoNjSdvXAbdH8ZRb sxOA== 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=48tbCTA8i+mDb23wmOG8QXjh+G13bWj85edFBbAfgJQ=; b=msRayvgObGLdp4eF8k6VXd6vUi9vbFze4khjsLXT+TV0iKimFbH5vxF4s82+aeW2U7 UbZhANBVp9601peRy2ePnpEqXeRG+785gJWvSIHJm3fZ9icJqqahusoaodOKbcRdDz0M q66nAwoNpAEpsiURxw9d1bBO/ulduJE49cfkVxxzjy1ikbiR9oQ9lbAjBDcw35wL9LJb FSCksvcgCcOBYHlU7+OF3MDHLQwOJmi6lmAP8DRhSMh0nkbfIOuzYYuXB5Gaxd+L0ZB/ 7q7L9USRjtQwmmyYXKd+3uPdqmYScKzFC4m6VGtltcYQ1fZDjzg1PUWfee3rhsdQ7Z1d bkBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GvsaNMab; 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 b25sor4084658oie.67.2019.08.26.11.21.32 for (Google Transport Security); Mon, 26 Aug 2019 11:21:32 -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:aca:4dd8:: with SMTP id a207mr12806037oib.115.1566843691996; Mon, 26 Aug 2019 11:21:31 -0700 (PDT) Received: from jagan-XPS-13-9350.attlocal.net ([2600:1700:7430:38e0:d5b0:4823:33c8:5e46]) by smtp.gmail.com with ESMTPSA id c11sm4401461otr.54.2019.08.26.11.21.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2019 11:21:31 -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 v2 10/16] wdt: Kconfig: Add WDT_DW entry Date: Mon, 26 Aug 2019 23:51:05 +0530 Message-Id: <20190826182111.30999-11-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190826182111.30999-1-jagan@amarulasolutions.com> References: <20190826182111.30999-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=GvsaNMab; 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 | 8 ++++++++ scripts/config_whitelist.txt | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index a66a9bcbe2..8674633b90 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -90,6 +90,14 @@ 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 + 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 35c56262ed..0618cb9047 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -321,7 +321,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