Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp523206rdb; Sat, 17 Feb 2024 22:29:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUt3wg0CVrDivDtv1ovoEIVEa3yDeGSe14W7OSOGVXdkslgjACU516+gSJjwoFqd9LmOqf+uEWOOQFCW79Xn4aJgTWD10dDZFG3mJvv1Q== X-Google-Smtp-Source: AGHT+IFfP4HWREWCJ4TrB/vugkOGTM0eXKH6ZITLT+lKnS3bb2YTJK11p47fURwuqU6JZamqoAxq X-Received: by 2002:ac8:5a0e:0:b0:42d:b486:c3bd with SMTP id n14-20020ac85a0e000000b0042db486c3bdmr12041005qta.41.1708237761672; Sat, 17 Feb 2024 22:29:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708237761; cv=pass; d=google.com; s=arc-20160816; b=x6hGu7Qv0iO4sScMvVxIMVH75FNRXnfj7LGfGymAARZSnASsXV2uxfNxJo2EcZXrxs hVHegFYpzORavhYtFEqSS2NWmemXDCS5KFbalokmBv6h4eoPzw1+ToqTj/F28j/itDbh 05V4Evw5IRCD39kOUu71T1+lxq9YdVJUE80mGaOrGkBa0LIilGwCN1QPD5Epiabk2jrv YNclGHSc5/SEaNucKF4rWn9PKoGp4f28p180TBgUI7M24XRBmlidGhyaU8HbOYyLWpIE JgeGhLdn5OT9lcMnOGsumv7M52UUebJCuzVUUU3ySGWYpOc8lJVG6QoTC/OL/4sAcdlc JZVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=xljAwHk97c4aICi24IHrYPC+CEFrr5TDfUdCKV5ij0c=; fh=rYYVcYc//5dTos8q+RGAfRNkA0JP1xqcWXmx9reXxsY=; b=bH3oBIxH+7RblGOvMwbDEdMDwEBtVB2+cBvLT1vrwyVMrwQRLcyqeWNn0YQOCUWVoT SPAD63xLQEj1QwGp0lGE4q3UFyfOhv6MaVHdqnYafoP70j4CP2lLvaM/D3cqdOH9Nahq uDH71ULfqmrag3xJWzbx7CQASV26LMDjngTzCE5NYI7a5xSa/x7oihFVN/d40OiF+X8Q fIA40g1wctKGPYnIUqH6Gb1hllIeWiwg7y7NS7hLdl7Tv7WEqk/5aWVJEY4qrmMbfwfa uhG1xnviyePlmNWvaa+S4ajKgJAdxRnxVglqz/P3sYQSAXDGgDE+5qupigCmwpambYmp gxgw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b="JLyY/0Ob"; arc=pass (i=1 spf=pass spfdomain=163.com dkim=pass dkdomain=163.com dmarc=pass fromdomain=163.com); spf=pass (google.com: domain of linux-kernel+bounces-70223-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70223-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 2-20020a05621420c200b0068eeeabaa8fsi3855946qve.144.2024.02.17.22.29.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 22:29:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70223-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b="JLyY/0Ob"; arc=pass (i=1 spf=pass spfdomain=163.com dkim=pass dkdomain=163.com dmarc=pass fromdomain=163.com); spf=pass (google.com: domain of linux-kernel+bounces-70223-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70223-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6ED761C20F10 for ; Sun, 18 Feb 2024 06:29:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F6486AC0; Sun, 18 Feb 2024 06:29:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="JLyY/0Ob" Received: from m16.mail.163.com (m16.mail.163.com [220.197.31.4]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8BFDA5672; Sun, 18 Feb 2024 06:29:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.197.31.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708237751; cv=none; b=CFhmFQBdldSwl3PC6z5P0FL+NNjxUFLiS+TF9S0A7XjVj/7TI5eDcrCE7ozinx8h0SwegWENYWFKLtM9GwZucM+ItAFeOGppyBjouUgxBPMdbEUtEUL2MZt9PyOr0I/7/yIMaGrjLKoYP6vxOcy9ZITE0A0BgzHmkUAO2jRazLc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708237751; c=relaxed/simple; bh=i33jKdGMPfEsO7OK08HHHsozi96jCFD5WvhVa/NzbrY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=FT3uGDMW6Kf0dT3JjAeWitKglC0gSE06zWR2f09QFF5x0hRDP1wnRx7cxZMk09fZiY3CnBkMoEftrsHZQSLPbXu6xc7b3RY4rHPLbIR1BcmHHRmyiKKcIsvqAqaGilBXO9zehNIw2wBP39xJZwgEZCtBzqLKJW0NLQJ+ZgyGwDg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com; spf=pass smtp.mailfrom=163.com; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b=JLyY/0Ob; arc=none smtp.client-ip=220.197.31.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=xljAw Hk97c4aICi24IHrYPC+CEFrr5TDfUdCKV5ij0c=; b=JLyY/0ObBH02kHPofdSVa 7yduhIGNZbe5j7rZe19BIrx7MFdJ2xxNxRzc5XY7a/BjIgU4XLLmDq9lgeoHDkoZ fB0/XJaeBhLuiaKHxC27OzuTFNcaMG3LIrwbHMFPcC2no1OiOSYjNSJ0qbw6AUZ4 MsOtNETOS4MQVqJ8WRqn8Y= Received: from localhost.localdomain (unknown [39.144.138.207]) by gzga-smtp-mta-g1-4 (Coremail) with SMTP id _____wD3X1V3o9FlTGBpCw--.34987S2; Sun, 18 Feb 2024 14:28:08 +0800 (CST) From: Xing Tong Wu To: lee@kernel.org Cc: Pavel Machek , Hans de Goede , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Gerd Haeussler , Xing Tong Wu , Tobias Schaffner , Henning Schild Subject: [RESEND PATCH v2 0/1] Patch Resent: Enabling LED Support for Siemens IPC BX-59A Date: Sun, 18 Feb 2024 14:28:05 +0800 Message-Id: <20240218062806.3932-1-xingtong_wu@163.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240208120901.GL689448@google.com> References: <20240208120901.GL689448@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:_____wD3X1V3o9FlTGBpCw--.34987S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrAFWktr1DWr4UtFW5XF1DWrg_yoWxGrX_ur Z293s7Cr45ZF9Iyay0kF1fZrWa9rWUAFWUAa48trZIkry3Zw1kJF98JrW5ur1jqa13CF1v 9FZrXw10y347XjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUjMGQPUUUUU== X-CM-SenderInfo: p0lqw35rqjs4rx6rljoofrz/1tbiqByI0GVOCSrszwAAsH From: Xing Tong Wu This patch has been resent to incorporate the necessary changes for enabling LED control on the Siemens IPC BX-59A. Based on: eccc489ef68d70cfdd850ba24933f1febbf2893e changes since v1: - Creat a resource dynamically within the .probe() function to eliminate the use of global variables. Xing Tong Wu (1): leds: simatic-ipc-leds-gpio: add support for module BX-59A .../leds/simple/simatic-ipc-leds-gpio-core.c | 1 + .../simple/simatic-ipc-leds-gpio-f7188x.c | 53 ++++++++++++++++--- 2 files changed, 48 insertions(+), 6 deletions(-) -- 2.25.1