Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp85925pxb; Thu, 7 Jan 2021 22:37:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBv1Ubil3HSiMkXzUWuI/0/ZPLs+i9ObI+yPAfnET2GEzgOCZ5EKfoOUSxNfGpIvhxA+Oz X-Received: by 2002:a17:906:1151:: with SMTP id i17mr1756329eja.250.1610087873029; Thu, 07 Jan 2021 22:37:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610087873; cv=none; d=google.com; s=arc-20160816; b=WaHnSDLa0LVDtVQK5D2WAg/npK3R5D/GgFenMkAMJ68bMrSXQalmTGnCuhobesao7v zASQBzME51+cMgwdP2V4wLlpJj+MXOU/JcUegXA2lIFoenL8WplPD2mE4T2TCAKgxdfQ 3bYkIemrNu+HGfbrKPSmt+jrfjgtdpszARnqc5DzHpFrJ0wPv63iiibmKl7nb7/2SX3C HS2OE+V8IOKxdzqurHieL1JvIEjLGaxCp7m70j9K3lZlOPgyog31eg9VzNdVKvldFyLl 4ACPY5tix6kfQdDDMdpRklsIwNrkOOW9sV8zHWIuxvsESJIQDWnvlyW2v/r8tP1sr5/J dqfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Z9yWM8kO/yF3fqCL5n5LCq8fF4B951xR4ABXYDaphFA=; b=ABrBAsqbalG3IaiQPNnqxmT8R3nXHqv8Tv5UxsNhnJAZYiqoNhjGkj3ihpLjqNfaqb bXV1R+OV19//Teqoy/1NJd6JV1x55DP6I2Ke/C1s4TeGzfO+yEhIJvH9k5DW7arkhHs5 eKyv/nWZjyvZIBfnh2tsNVzElmkDjhr+u6ZMvMbtLsV4W4pSo1PlpMJimJaIYshEN1xE n9CWBX7vQwtiocE0kGMLXaDe5S6tAJ9IzYhSF0LX0NFoXziAyHFvp5mBur4GX3PW5E4P wMehh0qZHpeBYNj/6Tm2izvznqavjhkqoIfsF8AcogGKJbKcD72V/zitoJ1SAK22ie/9 XeSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="GxYZ5/aE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q6si3020888ejb.731.2021.01.07.22.37.29; Thu, 07 Jan 2021 22:37:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="GxYZ5/aE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726763AbhAHGfl (ORCPT + 99 others); Fri, 8 Jan 2021 01:35:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725791AbhAHGfk (ORCPT ); Fri, 8 Jan 2021 01:35:40 -0500 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56B4EC0612F4; Thu, 7 Jan 2021 22:35:00 -0800 (PST) Received: by mail-ed1-x536.google.com with SMTP id r5so10049719eda.12; Thu, 07 Jan 2021 22:35:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Z9yWM8kO/yF3fqCL5n5LCq8fF4B951xR4ABXYDaphFA=; b=GxYZ5/aERBYX+FmTnV/3chH3usPDq5qUsSCf/k2a2YystQU/HJsAmj7rbPy/KQtUZE yD4D7B6EYc95ocuEA/5x73yz5hsaeJrfSIMZlYJ49rPhWANy3qvSkCmzt9EwsPov81il Qei3hRnSljCzESnt/oZAXlyf+y/QH+4jjcWvA2EeBUzKEesf2C/wSXs7j6OUBm6hHUwL +vXFU8DBH81xQ/fU+K5fAfnCMpXJD4EaeToQ4vC1OwPKzfpCKoFYPeBVlVbGmoh/Nwnw WCnMiXaeVJV0UVcZuAmKF9kLcRK3rXudq+NFISCtPprfO/kQCJ7eAyLoulf/o5ZFWtZ9 OISA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Z9yWM8kO/yF3fqCL5n5LCq8fF4B951xR4ABXYDaphFA=; b=TLJmuQ3ur9hzdv1y5IfeBCtWNsNISlUE0NpgJ5lBl49nhjRsrpH4VyERWvwD8DdJCc uEu5JIVAj2iVIVuK+A+poRLY/ZONd5blGeKvRjh3XQsqjf/wFzj0lWoQ/xGeaWR/4JsZ mg+2qhtkYXipdn9sgsXgSLbIkc8RVEqfRh5wk1uh68/xrq2pwDXav7Pu8cb7nBU1nMZO 4gZBmcUe1jBpHzQ+QHi1/ubaWMW6UsPxUw5hzE2cKSPLqoxvGZDW4S9R12Y6ZkVW7VJc nOpIGXHrt1PjF85PE8zt/VM3iUZnr6Aa4sTwxkTllq1WcipdR+9zEMGSblmrbnGJKBLX 16OQ== X-Gm-Message-State: AOAM532XoXzEzWK27fotJiQcDWA/Qyc5/Rs2WB/KY9OGSY1YXtBStbfT Erp4fCGZkdaUkNhjDne2VnUe9vSpVfNjj62/Js58ebQp X-Received: by 2002:a50:ed17:: with SMTP id j23mr4230998eds.218.1610087697277; Thu, 07 Jan 2021 22:34:57 -0800 (PST) MIME-Version: 1.0 References: <671ac57ad53ab1614da7fe9a3d0f78bdb5b51fda.1610001365.git.matti.vaittinen@fi.rohmeurope.com> <019c196041600a00143fe16bda19b2a8f060e9a9.1610001365.git.matti.vaittinen@fi.rohmeurope.com> <20210107151254.GB13040@roeck-us.net> In-Reply-To: <20210107151254.GB13040@roeck-us.net> From: Matti Vaittinen Date: Fri, 8 Jan 2021 08:34:46 +0200 Message-ID: Subject: Re: [PATCH 2/2] watchdog: BD70528: conditionally allow BD70528 module To: Guenter Roeck Cc: Matti Vaittinen , Wim Van Sebroeck , linux-power@fi.rohmeurope.com, LINUXWATCHDOG , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 7, 2021 at 5:12 PM Guenter Roeck wrote: > > On Thu, Jan 07, 2021 at 08:37:25AM +0200, Matti Vaittinen wrote: > > The BD70528 watchdog module provides start/stop interface for RTC > > driver because the BD70528 watchdog must be stopped when RTC time > > is set. (WDG uses RTC counter and setting RTC may accidentally trigger > > WDG if WDG is enabled). The BD71828 use same RTC driver as BD70528 but > > don't share same WDG logic. When BD70528 is not configured a stub call > > to "stop WDG" is implemented and in case when BD71828 is used, this > > stub function should be called. Prevent configuring in the BD70528 > > watchdog when BD71828 is configured to avoid access to real WDG > > functions when WDG does not exist in HW. > > > > Signed-off-by: Matti Vaittinen > > As mentioned in my response to the other patch, I think this is the > wrong solution. I agree. Please forget this :) Thanks for the review! Best Regards Matti -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Matti Vaittinen When you feel blue, no one sees your tears... When your down, no one understands your struggle... When you feel happy, no one notices your smile... But fart just once... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~