Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1561482lql; Wed, 13 Mar 2024 01:15:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVqJ1AHEkeXi3ufVhQPf2lffdwJLWZTNCdAStMXZ6iQ4LG2pMafu+oqdnbIoIQ7rvc+oGWe3fGnNNn/DZiRV76I/rkUWba/mrN/+wgztA== X-Google-Smtp-Source: AGHT+IGg5kQ4x8wetyVEcbU2EXM5f7CYktZu8XanJ6Dt7QhBBAsz7i95iEOpC53/SNf/t6XVMbsy X-Received: by 2002:a0c:f6c1:0:b0:690:a30c:540e with SMTP id d1-20020a0cf6c1000000b00690a30c540emr13424404qvo.56.1710317725774; Wed, 13 Mar 2024 01:15:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710317725; cv=pass; d=google.com; s=arc-20160816; b=Z0m6X0j8bCc58GthLFtHpfYt05E8pYaJWbdHnyteSFwqyny1cWNOBTSjCXd/yHtQHB fl5PX29pqFOJguTgAkaucNyi5G7ydLyWkxrAp/YCzijHBfnPX2/7k8OqJofvLwE4yZlY lAoEjvbcZGdkty18uoMGW+l5RjHi/0vOBQpg1xf1gDzY89XAx97xVC5NJWFcSqKMlWvn 8wqNJWy+lPGvK6LSN2rwJC2p6XyXUH13pCFQ7g02TXY3k9vfv/E7+pn/1wmKpp+p6JHu Ycs5FfQH/+HfICeaU0j9hfZ6JfAm4ar44QETNzV+fvxPE6IlMAit6eBIbH+UwNMELkUc QBbA== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=ckr01FJmxp54/m94lBfQ4L3mHTz6n6ShDxyLmRazeiY=; fh=nq7rcP1x+ngk464gUJFpiiVKmdr7KGfP3VK9feqxRKg=; b=VOVx5m9jIIGCXt1vVXQjWiRPOGoN5DxUdN0kYAdpCBwW+Bjq6GaRhP+yiDIgUhuc9g RJ6q7CHrgxKjjiKl6Bi03dumkdH/t/eZf0WGYxYr1MDLHx3VMKylULRdpeDauflCZPHL RyDKsQVikgTeJllWkMMjHot/zUAzErZSaJR6DzqY3abmiBamv6uKjNbK1nlSejGMmSlx ntUmye2fqSehXplMABmIIpMzmJNmDE0CqntJMpacxMslOI5ctutiqj5b074OwSbdxA3A RKz6Lbi6FzRFG2MPvOJ+tbD5cUl7rPx8yYSI8NXZO6UNhFmIUu8wElKAz0oALFUSEARc fOUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=XD3R5Vdz; 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-101204-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101204-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 q13-20020ad45cad000000b006912435642fsi293518qvh.523.2024.03.13.01.15.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 01:15:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101204-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=XD3R5Vdz; 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-101204-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101204-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 7FE081C21785 for ; Wed, 13 Mar 2024 08:15:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 117B21798C; Wed, 13 Mar 2024 08:15:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="XD3R5Vdz" Received: from m16.mail.163.com (m16.mail.163.com [117.135.210.3]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0387F19475; Wed, 13 Mar 2024 08:15:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=117.135.210.3 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710317711; cv=none; b=NIFhd6DiyERN96z7Fdr8Yjy1sm71otDh63DHmj+gC35Mzuis9ypACZqaQn5zte6bT24XUEFS3ZpdAmOCNOL5enJLKkUYog/IUBgnzCbX/a4hN3pzJfINHo62oT49l0NCL4GLH0jdCimDAmpJjEJC54C5LespusOrr1bv2+MmOqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710317711; c=relaxed/simple; bh=0/5NHjX0NcGpKOntWSLuLjYYeVXcWVtz8Vuf7DlE4Fw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=JcnmHNx2mT/B6pjGG+uodCK/myTS5Fh7fArBfWyXMNDfiiKR2tjO1XRwX2fXf4/1KEzlqP//oTyuiBbjihlvafIR3RxOillRWK2piOooDu1vsZR8qIHIdgeI3P8FmC/pqWiyhHaoZtMofZXSqlN8YdnRahYi3VHtupOAIqBliV4= 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=XD3R5Vdz; arc=none smtp.client-ip=117.135.210.3 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=ckr01 FJmxp54/m94lBfQ4L3mHTz6n6ShDxyLmRazeiY=; b=XD3R5VdzDfFXqGrRe6Dra w+q2v/JRQFXYeZdCrtazwT8bEctRReKZcdt6ZW8v8QKdvRAqn80sKpHuwW3j+S+A atjXWKWBvnoeTSTGF2dmbukwLJbghG9DEPK0pibCOpBCeePTkOhn2vbyQbb0QOoG alzWCwnKbGeJIpVpjrk8z8= Received: from localhost.localdomain (unknown [39.144.138.148]) by gzga-smtp-mta-g1-4 (Coremail) with SMTP id _____wDHpTBkYPFl51aWBg--.60890S2; Wed, 13 Mar 2024 16:14:28 +0800 (CST) From: Xing Tong Wu To: andy.shevchenko@gmail.com, Lee Jones , Pavel Machek , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Hans de Goede , Xing Tong Wu , Gerd Haeussler , Tobias Schaffner , Henning Schild Subject: [PATCH v3 0/1] Patch Resent: Enabling LED Support for Siemens IPC BX-59A Date: Wed, 13 Mar 2024 16:14:24 +0800 Message-Id: <20240313081425.2634-1-xingtong_wu@163.com> X-Mailer: git-send-email 2.25.1 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:_____wDHpTBkYPFl51aWBg--.60890S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrKr18ZrW8Kw1ftF4fJw4UCFg_yoW3Gwc_ur yvg3s7Aw18XF9xtay0yF1fZryayrWUArWUAa4ktrW7Kry3Zr1DJFnxArW5WryUXa1akr1k uFZrJw18Z347WjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUjLvKUUUUUU== X-CM-SenderInfo: p0lqw35rqjs4rx6rljoofrz/xtbB0gWg0GWXwhnpRwAAsg 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 v2: - Add a period to the end of the commit message. - Use specialized interfaces to get platform data and drvdata. 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