Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp95263imn; Fri, 29 Jul 2022 00:20:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR6D+91KIv/zcK1XM+iTqrJZOosKvRlwsevxuqbIRvv0Nix3K76nLPwC7LW4TQ8KHmGC7FeC X-Received: by 2002:a17:902:d48a:b0:16b:f0be:4e15 with SMTP id c10-20020a170902d48a00b0016bf0be4e15mr2534707plg.155.1659079249239; Fri, 29 Jul 2022 00:20:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1659079249; cv=pass; d=google.com; s=arc-20160816; b=ZXUdamVlwirRaNpdu7XUirsnLbY7V81gUochW5RTK3D1a2hG7tJjNTE6ZqYF+0UeBU uk2M1JK70XZGeZS4snXWlYg4OdyB42QW+ixHvVnGFwVP6/mt2HtDOMtSbWuaN2uUCZPG 835Xf1nqQT1IEpKrAUA9caVqZmY+edmQILmj0QTfDqMP07Juj+cwsjYPmpb5szblbFT1 IwwwhaMVyV78lQCarkw7tdKeDJN2K5fs6VzMAHhfUehU8+J0Xkj1HohyORK9sMMygSPC q1IYqH/mW3OzNDK1s02dLYMc2rNLQEy/qsMs0s4zwZZqm+1vymWC7xeTeU1FFEpSyTSs F0wg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=mj/V7poE6T6iYcLbbvm7pv/Lp2WkqRWpvqd5LFfUsJo=; b=JaE0RKjSYHx6B4Kkqiq5WEWoaB7MFcb5RVWYV3WorcDFydRNRBIYpzWayyZalizTWW ZcDdfTTPhGJxMZ4bvIl5KfreOb15/bXZSwegrnkrY/4k/o9cAhAnByRltVQxCHjz+e0f yiSTL2SWbZT84HD8H1/2gYCkEezhcLWNsry2eXnt+ajFOuXslDmYzwwETyTlZqGCin3H O+JdCWvnW6uveZFe5twTNmJ/Qq7snro8NTywjhkA9TGokd6gsI86eIKtuCrQYFjZZtN4 lbH5hN9l/YXZeygxV6GFKLVwiWYVmcjLDese7JCSB9Sx8K7au0jAhUUIQFDINSxB/Xlg 39ow== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b="Sup/Tfay"; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); 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=siemens.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u69-20020a638548000000b0041998713801si3338927pgd.163.2022.07.29.00.20.32; Fri, 29 Jul 2022 00:20:49 -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=@siemens.com header.s=selector2 header.b="Sup/Tfay"; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); 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=siemens.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234028AbiG2HH0 (ORCPT + 99 others); Fri, 29 Jul 2022 03:07:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232555AbiG2HHY (ORCPT ); Fri, 29 Jul 2022 03:07:24 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2042.outbound.protection.outlook.com [40.107.104.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76F2B9FD6; Fri, 29 Jul 2022 00:07:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G7EyhdbI2BbQtOReQpFZ4x2yBNXaEV9NiDW87rruvVN73F7KVqwFJFCIC2s8mqsPSyuZFz+ZxFwfGAz1I3Pd/TLbMo3RjT7QPfz42thbooKw9OcizPRTCS9XeZPfgf7MogZaxLziK3+k1zocTSX0zjgtk7tnoBUJf6dIuEVXtjqS94nTUkxLdFtX60Qy0inDzBwvRXgDjUosoX+vj+yH8h0GXP00EFIRvuKey9uTYU2BT49SA/hfyUpYIg8LHrj/CLrfBQI++epvsiBuf6ZGrC7jlj2iIV+DpvIC/nt51VUipZGf5bjd5UqMSib0b52NHy8/DyYQCB9Yfb1lp3098Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mj/V7poE6T6iYcLbbvm7pv/Lp2WkqRWpvqd5LFfUsJo=; b=He3xVhn1+KX06Fs21QLm9AB748Vigs1pDVyMIpFKJlFD6Rqacp5+moMuePtBXUwBW7DsiF/UOexscbhJbTpwkMMWS3Llx+LhXnUZkflZuGDi74/30h5QCRoeTcfcvIR0vf5pqC4owYZgweOcE1/1Eh6LRSFSbxyZY/o9ArW5/ed3iuDjdkpT8ou+j21Yt3v2lQEnKtCw/qrqo6qNquYSaXdfKtUd5rsqMHah/3wKsntPfRt1qnZ9T7WecNf38HsqQPzQZsjKDIgjnfAbzMVB7LOmKSzfQcll9fCA6YhoEQfrEXvmAmUlrRyYOxlLqCpjY63JnJlPWlW8xIikpBrxBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mj/V7poE6T6iYcLbbvm7pv/Lp2WkqRWpvqd5LFfUsJo=; b=Sup/TfayqlkUy8aYQ+v4re6Ll8/GepnjzUGcNfjh6wmK3e3X+UJjqFR3KQSx5ffZ0yS/p7vCRmKmSrSMA1wWDf0uI8XhwVh/lyXaO9R8KwFF5mXrhqExJawUQv99rDGsw79TmUNXUz8j4qNmu5AMnY4s+mtiTvlwA3Z2ApF258wbIrMkneh4i7pbmzXDiWUtIDkPq4NqSgDm3dYQqChgJ6zQI2cmN3WI2Egm0i7OSJDextkmvk7cHL2xc5qa3hk4J/1eokHCQmrq8KEaVTZezW5cpjVxqJH0LjR70+eX4/CGkSZZXLSuk8xZ7LRiT0GgEC0IMjcdxDA3USrxa/wgaw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; Received: from PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:269::8) by PAXPR10MB4656.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:15b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.6; Fri, 29 Jul 2022 07:07:18 +0000 Received: from PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM ([fe80::75ee:d5d2:6b1d:150b]) by PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM ([fe80::75ee:d5d2:6b1d:150b%3]) with mapi id 15.20.5458.024; Fri, 29 Jul 2022 07:07:18 +0000 Date: Fri, 29 Jul 2022 09:07:08 +0200 From: Henning Schild To: , , "Bartosz Golaszewski" , Linus Walleij , Tasanakorn Phaipool Cc: Sheng-Yuan Huang , Pavel Machek , Andy Shevchenko Subject: Re: [PATCH 0/4] add support for another simatic board Message-ID: <20220729090708.43d2658a@md1za8fc.ad001.siemens.net> In-Reply-To: <20220728155652.29516-1-henning.schild@siemens.com> References: <20220728155652.29516-1-henning.schild@siemens.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ClientProxiedBy: CH0PR03CA0373.namprd03.prod.outlook.com (2603:10b6:610:119::7) To PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:269::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7f163528-2606-4d1b-6f81-08da7130f958 X-MS-TrafficTypeDiagnostic: PAXPR10MB4656:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7rvSk6L80uLUuhveN4CLTztAvlgKnZOQv+EEfeul7ApE254jLb1w0JXntJUQAozKznVvKvQQjX1FU9daTYP5I4+QGkiV/Ikx1ZnNcEKE0BCDjd85lfl9wjbkKP78XPAZ5/HuuAhglbYh8XIuNRWmxmPo4OhRHQFAZg32ZCZDAclp0YMRF9clqxgfXlirdydKgf83e2vFBV/wKYm3KlpFl84MAAUguCe5JP2sc8SXWCChQSs/4fwzglcCieVmFiOvsoOU2GHpuidTg7rvWHWjEX85dn6rlcwctRRsPf7ujRXc7j853z7gLj8kayJ035+TYAWJM7l17yZT1kzYpjO1PDjeb4Oy2ZSTCHD259h/wTHWDBKmL5fVoYcjekxtCSehCvOX7FIPvXc5zYS9oqVTXpJcB8qB6BdCXh2K1WRNbTgjIUuMWHkmrGnk1cXa0uoMXi9Dub5DFrDOWTO0yloDc+QVprIqw5V8M78FcvYJyV9Bow7b9NFknfjacn4cdQWOfUsbbwu2su7RJYSYPu+Lr+weMnKmYiY5UYN5iM0XvIf/Q3PKIro9uceu7bzcHvTAI6qPXqbUOEMpRBleSJKMQc+MhFknS1B5xSUzmmMVdev+m+JnVVEXDr++A96lVspo7LAkpFThIIneAcGzaOAYK0kqqawWNR6rwYcjIj3YHlHRJ8g6JvqBwmQfjV127CA1ZwV31qeSijvCDiw81oeGT2wwqJUBuOHPquhwwcIoZlw1KwyiSIgYsHoPk9RBw+06 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230016)(4636009)(376002)(136003)(39860400002)(396003)(346002)(366004)(186003)(110136005)(54906003)(44832011)(82960400001)(5660300002)(1076003)(83380400001)(9686003)(6512007)(6506007)(316002)(2906002)(38100700002)(6666004)(41300700001)(6486002)(86362001)(478600001)(66946007)(66556008)(66476007)(4326008)(8676002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?iapEYOSIaRWQytjVhHKOkfGwbVr8QRXTmcaD4cVkPoUMHW0bSqQZfCh5BgdK?= =?us-ascii?Q?TNLezY1MyEEjVW12TCQsBKqWbGU7E8vi249tOue1qdyYVDnp1NYLh/UXDsCs?= =?us-ascii?Q?2TcJb03XonARzqHOvOYps0WTVeu/d5PWmTNO80ISIC/rTez3zESwC+7DwwXK?= =?us-ascii?Q?wdW+UDIkqoP2yhfqCdvtT1KMki/mudFwi+LzP7LhXMmjQhDExLCy87AYFJ08?= =?us-ascii?Q?UBx3xKJbBSuG4/uDzy/a9jdM6vKYEdKh1PdIMLVPA4KOyeflW8GGmwAcMuzQ?= =?us-ascii?Q?n8/ckrZQldHQpiVLQ07ItUrn5lcaJV+ZPwB7WtfyPbsgsH1+DDMwgEcncjUJ?= =?us-ascii?Q?uwzsVQRjSOXbCavyE6DHBGMvanrpj8SrZ5w8ZSPrEqkd6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1SVggkrNT9NZj5Cn9qZN3DpYp45h+Ja3Mx/nXy?= =?us-ascii?Q?Q7DE+sS0f2S+GWnKqlhsy5HwVcAFvFiYvf4qIOBN/con9Kj6l8Srtag52NaD?= =?us-ascii?Q?0YAX/D7Dff/+18HQ2/T2hITBDbeNp6HOBZvR9k2AHx/uOicq/0A0EuB2dheA?= =?us-ascii?Q?fCHCIvDtVegI1yE0c+GpXi9Qi8I6NFc5xH2oR9MCdaXvZNENUAH9eyXqfWJI?= =?us-ascii?Q?LGx3blCkTkEbFkIdNVXfTK+hF1yttBW2A34lvPT7tzmx0XAyHNM6JMTzWfLW?= =?us-ascii?Q?s7F7fH3xqY1pw90m6Yp9zRqOI++uHhuqvTv52c2jnnnROSKsQMnyAflv+d2r?= =?us-ascii?Q?voYEga7PIi119Tz7PLEI23nvUxWaAgfgtxzx7smbdf+BDwd8SpjJ7r9jyTvY?= =?us-ascii?Q?aZtjiA=3D=3D?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7f163528-2606-4d1b-6f81-08da7130f958 X-MS-Exchange-CrossTenant-AuthSource: PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2022 07:07:18.4986 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 861yADOPEglKzc/lHnf3fkMeIM9BpRlfa0KZTlgmZR0ogbbkBxXqICR4t946YfC1haJxAJnc4xpGNlsazMYizOC4pjtu1RZhnGUkoEa0/ro= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR10MB4656 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 I wanted to send this series to a wider audience, somehow i messed that up and might have to send again. Maybe the v5, and if there is no changes i might send again as v4. Henning Am Thu, 28 Jul 2022 17:56:48 +0200 schrieb Henning Schild : > This series first enables a SuperIO GPIO driver to support a chip from > the vendor Nuvoton, the driver is for Fintek devices but those just > are very similar. And in watchdog and hwmon subsystems these SuperIO > drivers also share code and are sometimes called a family. > > In another step the individual banks receive a label to tell them > apart, a step which potentially changes an interface to legacy users > that might rely on all banks having the same label, or an exact > label. But since a later patch wants to use GPIO_LOOKUP unique labels > are needed and i decided to assign them for all supported chips. > > In a following patch the Simatic GPIO LED driver is extended to > provide LEDs in case that SuperIO GPIO driver can be loaded. > > Last but not least the watchdog module of that same SuperIO gets > loaded on a best effort basis. > > Note similar patches have appreared before as > "[PATCH v3 0/1] add device driver for Nuvoton SIO gpio function" > The main difference here is that i added chip support to an existing > driver instead of creating a new one. And that i actually propose all > patches and do not just have the LED patch for Simatic as an example. > Also note that the patches are based on > "[PATCH v6 00/12] platform/x86: introduce p2sb_bar() helper" > > Henning Schild (4): > gpio-f7188x: Add GPIO support for Nuvoton NCT6116 > gpio-f7188x: use unique labels for banks/chips > leds: simatic-ipc-leds-gpio: add new model 227G > platform/x86: simatic-ipc: enable watchdog for 227G > > drivers/gpio/gpio-f7188x.c | 192 > +++++++++++------- drivers/leds/simple/simatic-ipc-leds-gpio.c | > 42 +++- drivers/platform/x86/simatic-ipc.c | 7 +- > .../platform_data/x86/simatic-ipc-base.h | 1 + > include/linux/platform_data/x86/simatic-ipc.h | 1 + > 5 files changed, 158 insertions(+), 85 deletions(-) >