Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2221795rwp; Fri, 14 Jul 2023 02:49:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlFmMReau/ItqPNGKKjLq42sbgDNK87JdrHNbjfHjzinOZgPdW46rcDcxfOW0Y0EWf/1pZaT X-Received: by 2002:a17:906:64d8:b0:993:f83b:43d2 with SMTP id p24-20020a17090664d800b00993f83b43d2mr3331402ejn.24.1689328192462; Fri, 14 Jul 2023 02:49:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689328192; cv=none; d=google.com; s=arc-20160816; b=TjOUDkzGnYAuAWNgukjnIaOERQ+Xjr64RDaowHLw2OM3No5CF4k1tVRz0FpW8dquCC jfafd1ws7Ewt7ATo/DaVqkzkLymCRsyFLg+Cw6WNGbjRJxAXaATBMFvrfPmESx6fm2pl 59T5rVXqfxVNpwbqX+7YlMEAl6H3G/VxipO5M20xvf4Mtvo88MuJaeEfufaZV0cmmvvb S2sEVshSoh+kDaB9R4sGmBLeVndEfeLK2qaFP45IR8yIPQq8cX7Y+3HSWcjIDbTNHiaR zZoUyYN+hVHmb78bQ4GmNomD0kNd37bYgG5OCRSIi4Tu/MxJotEfkrxBWQcSD5XV+P8s QgQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=e917PWoV2EQP18RF0PKWLGfuOBS2EM7fSGv2w9B6FsA=; fh=Wno6PpFXAJvLhHAqiV5W7yf8CQ9hh9gVoJesmICaIOg=; b=i1T1tsRREF2xsvlCa3sLxrjIt2KqMT9QvQVoBbY4ItRmraSzStJuwW6NEhsKzfRBN5 vqjPxXCrZeo45suHvRFWHsxemnJ3Atkyj7MeZO/EDcBXVhInb6Kp334QAReuVdaIXqbO Y5sFp0EiejZQwzGA4gJE8k2kssoon0dgj65sTaUV0L6D98OI+fvxOak38zqXei2i0Rre c4auQQdriAmABzolk4fQSgrt1K2VTbJWp5AkoI8eBgYkurrtDAm/7cOYwjqc6xeOkCG/ RE40HRGz1QwXSOyY0g+rnutpe1kXTrJo1vXcU00aDu8VozNw8J7ekw3lxYjG7rHGi9np 62uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KeoCsVEZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i8-20020a17090639c800b0097885fd66f4si9971510eje.162.2023.07.14.02.49.28; Fri, 14 Jul 2023 02:49:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KeoCsVEZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235322AbjGNJ3R (ORCPT + 99 others); Fri, 14 Jul 2023 05:29:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235577AbjGNJ3P (ORCPT ); Fri, 14 Jul 2023 05:29:15 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87D8130C4 for ; Fri, 14 Jul 2023 02:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689326910; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e917PWoV2EQP18RF0PKWLGfuOBS2EM7fSGv2w9B6FsA=; b=KeoCsVEZezblcYq1OGbm8v2B5cWtWpQp1B4OyIqUYElV5uXvahyQs3WaEEcSXhE2+F39y/ SxqdIjZWcXp5IRAfptZQe7Kn6UnfLUmSZBJd875tmRF0jrcx5ZGYCzQ1fRCcsC4FgCsHJ5 hcLteYbs0Rq/MP+GLfPodwuFpLKhn2c= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-669-F8dSqvTIN-2GV5DIV0cxFw-1; Fri, 14 Jul 2023 05:28:27 -0400 X-MC-Unique: F8dSqvTIN-2GV5DIV0cxFw-1 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-94a355c9028so93688966b.3 for ; Fri, 14 Jul 2023 02:28:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689326906; x=1691918906; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=e917PWoV2EQP18RF0PKWLGfuOBS2EM7fSGv2w9B6FsA=; b=BDoCaNJFz7FSxcXG2UH/QfjL5UdQQABzC7yKI0YakvOJ41TLiAvd6h6PUThIyd7Yfk zx7+cQSUj3fyVU9CELc90XKnt8wQk7QQ5sKAPSK5XC0lfvl/A4b27BBP02a38Pv7jz9P EX+Np37O2ZVrsMCn8xOMlHo5OnYSFnuaUDhnRVjGRK2naa5WvRKu4oF4emYj4XRa0E3M TmkHpj5G8N1JvtCJVtZVzJdPNQyR2i7dfmqbGqKLB7X8BCB0WK4qIqDahOZBvKKP6Cdv BjGpP4CgHVW2auvZSLxWhb/fCcsy0T+NfKKV6aK2DHDcp2fLhcNRnGYVCWuaTIhCAbht W9XQ== X-Gm-Message-State: ABy/qLbnMYlHz5M5YbixO91w5sYBVl1+lrpWC6TLutdgjikb66uPakZk nAEr0R6R3y/qCJNth4OPjpZDsJ/AL6lNGPyLV6H60mzONTNmlyBGKJgosBJPXol8KEt566BFzGy 0YCTdI0MnoZ+c4cQxpCVo9pxD X-Received: by 2002:a17:907:3fa8:b0:988:9621:d85f with SMTP id hr40-20020a1709073fa800b009889621d85fmr4159776ejc.58.1689326906206; Fri, 14 Jul 2023 02:28:26 -0700 (PDT) X-Received: by 2002:a17:907:3fa8:b0:988:9621:d85f with SMTP id hr40-20020a1709073fa800b009889621d85fmr4159768ejc.58.1689326905941; Fri, 14 Jul 2023 02:28:25 -0700 (PDT) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id k12-20020a1709063e0c00b00988c0c175c6sm5173154eji.189.2023.07.14.02.28.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Jul 2023 02:28:25 -0700 (PDT) Message-ID: <51386a3b-7a77-a18b-78b9-57f53d4979a4@redhat.com> Date: Fri, 14 Jul 2023 11:28:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 0/2] platform/x86: add CMOS battery monitoring for simatic IPCs Content-Language: en-US, nl To: Henning Schild , Mark Gross , linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Cc: Wim Van Sebroeck , Guenter Roeck , Jean Delvare , linux-watchdog@vger.kernel.org, linux-hwmon@vger.kernel.org, Tobias Schaffner , Gerd Haeussler References: <20230706154831.19100-1-henning.schild@siemens.com> From: Hans de Goede In-Reply-To: <20230706154831.19100-1-henning.schild@siemens.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 7/6/23 17:48, Henning Schild wrote: > The real change is in p2 and p1 just prepares to multiplex an IO region. > We introduce a custom driver to read CMOS battery information on several > of the Industrial PCs. > > This is based on > "[PATCH 0/1] leds: simatic-ipc-leds-gpio: add new model BX-21A" > > Henning Schild (2): > watchdog: simatic-ipc-wdt: make IO region access of one model muxed > platform/x86: add CMOS battery monitoring for simatic IPCs Thank you. I've merged both into a platform-drivers-x86-simatic-ipc branch where I'm collecting all the pending platform/x86: simatic-ipc work. I'll tag + send a pull-request to Lee Jones (for some dependent LED patches) later today. Guenter, I'll Cc you on the pull-req in case you also want to merge the (immutable) tag to pick up the small watchdog change in this series. Regards, Hans > > drivers/platform/x86/Kconfig | 48 ++++ > drivers/platform/x86/Makefile | 6 +- > .../x86/simatic-ipc-batt-apollolake.c | 51 ++++ > .../x86/simatic-ipc-batt-elkhartlake.c | 51 ++++ > .../platform/x86/simatic-ipc-batt-f7188x.c | 70 +++++ > drivers/platform/x86/simatic-ipc-batt.c | 250 ++++++++++++++++++ > drivers/platform/x86/simatic-ipc-batt.h | 20 ++ > drivers/platform/x86/simatic-ipc.c | 65 ++++- > drivers/watchdog/simatic-ipc-wdt.c | 9 +- > .../platform_data/x86/simatic-ipc-base.h | 1 + > 10 files changed, 553 insertions(+), 18 deletions(-) > create mode 100644 drivers/platform/x86/simatic-ipc-batt-apollolake.c > create mode 100644 drivers/platform/x86/simatic-ipc-batt-elkhartlake.c > create mode 100644 drivers/platform/x86/simatic-ipc-batt-f7188x.c > create mode 100644 drivers/platform/x86/simatic-ipc-batt.c > create mode 100644 drivers/platform/x86/simatic-ipc-batt.h >