Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1052561iob; Wed, 4 May 2022 13:36:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9AfEQlvxlpsczUuibB3ecO8hkd06vyCGecWg4YI7mVsLLlZ6xyy3JNludmkdBj/imPhgz X-Received: by 2002:a17:907:971b:b0:6f4:3b8c:ae04 with SMTP id jg27-20020a170907971b00b006f43b8cae04mr17642364ejc.548.1651696575039; Wed, 04 May 2022 13:36:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651696575; cv=none; d=google.com; s=arc-20160816; b=fx/WyS7dGiEr2HyB8VZ/QqtvdrdUV75i4FVc+KbwuGUfu47CVD1EVgbbz8Ub1CpnpA DJzLVJHZH705s4SKZSQjD/mfo9/B+l8L3TL033zUImxtjOr03WzN2py5b9uw3NAOp55V bS8bnq14PPYaVKxtnKtLGsPfO/SJ/Pvy3IxT0wQb5x1cqJkiwOlaI+i8QycHybHgx9jg tw1Q9QmUFwJzw5ZYDty39UKOBSKQlKIsRk3egCehaQ4zjhTF2viz+M0nIrcMn4VnKf1L Qa8an/lCkAln+8hYXNBJKtObmXMLADVfMzxu4DafTvGu1V4qkyQXyH8MVnQrD28IOtaX xfwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=TR1/KCx2PfMaoOmH/xW9Bu74teuFKeTEvF+9OgLTWVk=; b=xWlKS4MSywYATuHX09Jn5l+M26DgEOhbVgYiUdZYlGD7iPju9/KMZcyyc3tZk0IBo7 CfH5ZKwpB6j+iga7wwWbEcWPJpLhIh4Sk0nNB4qoz0GNAbYTveI0aqzr/HXqwMx3MIPn aEptLsJun52JELxB8usu7rVUfpFZHepN/PZ9R2o7tp6G+mdiRei/2+UNjahWF/TVPfPM chdR4d98hOuG6KywgMqvtdH24PC6j8whIpr3J7G3YlY0QZ3KtXjfonq3e2jorJ+bPeQc WELFdPbdXVFc4FabYupFqNryA8YWp2SKfbrSTHGBhx7+uIklyPmaCA6BgjCZY7Yxm07q iBIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WhWGDpT4; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot5-20020a170906ccc500b006df76385ea2si16757820ejb.834.2022.05.04.13.35.50; Wed, 04 May 2022 13:36:14 -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=@intel.com header.s=Intel header.b=WhWGDpT4; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350075AbiEDMyw (ORCPT + 99 others); Wed, 4 May 2022 08:54:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240294AbiEDMyn (ORCPT ); Wed, 4 May 2022 08:54:43 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D206634BBC; Wed, 4 May 2022 05:51:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651668667; x=1683204667; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=QViVx1DZnpgHjCekzYN+RthuhzyIH8/WXaQo0oT1cno=; b=WhWGDpT4yEb+vWDtNK7Dl4D7UxCJmc8YaRvgq8RgGc2hucnZ8vw4rpUB 1nnoEkmyZ52ydA0QBPUeY/KPGM7hoCZB+BEDQTiomVIcIn4nVAz9rxsVB /pjK2XfMK/Nv8k9VR6w6bDJL1zqRzHZ2mEdNY3GDMHxPigQDPj0XYMQ0q 1cmr/SYvcWBTO1ge0f6cESySCfKScGqYyGJ+1Pb+yI38NPkvT2MIxxAvV zF2y/Z25Khps3bMPATWEOLySOcD1wXt0c4PiMFMiMnv4jYP8nPB9kIBYi k7Pv/FhGk2yrvg5/YZpOs1ffQiN2v8z47KSnnd7BA8T5T5JK/tKoQPS72 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10336"; a="255222031" X-IronPort-AV: E=Sophos;i="5.91,198,1647327600"; d="scan'208";a="255222031" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2022 05:51:07 -0700 X-IronPort-AV: E=Sophos;i="5.91,198,1647327600"; d="scan'208";a="620792210" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2022 05:51:04 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1nmET7-00BsqV-PJ; Wed, 04 May 2022 15:51:01 +0300 Date: Wed, 4 May 2022 15:51:01 +0300 From: Andy Shevchenko To: Henning Schild Cc: Mark Gross , Wim Van Sebroeck , Guenter Roeck , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-watchdog@vger.kernel.org, Enrico Weigelt , Gerd Haeussler Subject: Re: [PATCH 0/2] simatic-ipc additions to p2sb apl lake gpio Message-ID: References: <20220131151346.45792-1-andriy.shevchenko@linux.intel.com> <20220308193522.26696-1-henning.schild@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220308193522.26696-1-henning.schild@siemens.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Tue, Mar 08, 2022 at 08:35:20PM +0100, Henning Schild wrote: > This switches the simatic-ipc modules to using the p2sb interface > introduced by Andy with "platform/x86: introduce p2sb_bar() helper". > > It also switches to one apollo lake device to using gpio leds. > > I am kind of hoping Andy will take this on top and propose it in his > series. First of all, they are not applicable to my current version [1] of the series (it maybe something changed in the Simatic drivers upstream, because I have got conflicts there. For the record, I'm using Linux Next as a base. Second question is could it be possible to split first patch into three, or it has to be in one? [1]: https://gitlab.com/andy-shev/next/-/tree/topic/p2sb-next It would be nice if you can perform another round of testing. > Henning Schild (2): > simatic-ipc: convert to use common P2SB accessor > leds: simatic-ipc-leds-gpio: add GPIO version of Siemens driver > > drivers/leds/simple/Kconfig | 11 ++ > drivers/leds/simple/Makefile | 3 +- > drivers/leds/simple/simatic-ipc-leds-gpio.c | 108 ++++++++++++++++++ > drivers/leds/simple/simatic-ipc-leds.c | 77 +------------ > drivers/platform/x86/simatic-ipc.c | 43 +------ > drivers/watchdog/Kconfig | 1 + > drivers/watchdog/simatic-ipc-wdt.c | 15 +-- > .../platform_data/x86/simatic-ipc-base.h | 2 - > 8 files changed, 139 insertions(+), 121 deletions(-) > create mode 100644 drivers/leds/simple/simatic-ipc-leds-gpio.c > > -- > 2.34.1 > -- With Best Regards, Andy Shevchenko