From patchwork Sat Aug 31 14:24:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mika Westerberg X-Patchwork-Id: 11124911 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 07C881395 for ; Sat, 31 Aug 2019 14:24:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DD018217D7 for ; Sat, 31 Aug 2019 14:24:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728073AbfHaOYF (ORCPT ); Sat, 31 Aug 2019 10:24:05 -0400 Received: from mga12.intel.com ([192.55.52.136]:34961 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727915AbfHaOYF (ORCPT ); Sat, 31 Aug 2019 10:24:05 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Aug 2019 07:24:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,451,1559545200"; d="scan'208";a="382352062" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga006.fm.intel.com with ESMTP; 31 Aug 2019 07:24:03 -0700 Received: by black.fi.intel.com (Postfix, from userid 1001) id 6630310B; Sat, 31 Aug 2019 17:24:02 +0300 (EEST) From: Mika Westerberg To: Jean Delvare , Wolfram Sang , Wim Van Sebroeck , Guenter Roeck Cc: Mika Westerberg , linux-i2c@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: [PATCH v2 0/2] watchdog: Correct iTCO for Cannon Lake and beyond Date: Sat, 31 Aug 2019 17:24:00 +0300 Message-Id: <20190831142402.49736-1-mika.westerberg@linux.intel.com> X-Mailer: git-send-email 2.23.0.rc1 MIME-Version: 1.0 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Hi, Starting from Intel Cannon Lake PCH the NO_REBOOT bit which is required by the iTCO driver was moved from private register space to be part of the TCO1_CNT register. This series introduces a new iTCO version (6) that gets set for Cannon Lake, Cedar Fork, Comet Lake, Elkhart Lake and Ice Lake which are affected by this move. The previous version of the series can be found here: https://lore.kernel.org/linux-watchdog/20190809124553.67012-1-mika.westerberg@linux.intel.com/ Changes from v1: * Include for BIT() * Re-organize code so that v4 support is before v6 * Move check for acpi_has_watchdog() to i801_add_tco() * Added tags from Jean and Guenter. Mika Westerberg (2): watchdog: iTCO: Add support for Cannon Lake PCH iTCO i2c: i801: Use iTCO version 6 in Cannon Lake PCH and beyond drivers/i2c/busses/i2c-i801.c | 142 +++++++++++++++++++++------------- drivers/watchdog/iTCO_wdt.c | 26 ++++++- 2 files changed, 112 insertions(+), 56 deletions(-)