Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp596620rdb; Thu, 1 Feb 2024 19:36:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFmJYVcPBAwwJmvOpi13faLuFgBwxO4xvQxZKGGhscHJC85IEstmrJsPu5BTVxUR+51PdDG X-Received: by 2002:a17:907:788e:b0:a37:1382:6785 with SMTP id ku14-20020a170907788e00b00a3713826785mr31207ejc.36.1706845017281; Thu, 01 Feb 2024 19:36:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706845017; cv=pass; d=google.com; s=arc-20160816; b=jHsBU0GahmlUOIyi3CxQP5ggHfuDnYZocL+nNf+/YJwBHVsGx4lLuI3KdGsZPKOs+I /9u2C+NB6RfrxELL7zt1OxHSE2yGhSzWWwEqcPZX7H0c3FYELOnJeO4PZ2ilUuZMNXT8 HdR709wo3cSMYGRI7pWRIHrkPOp+xH7uIu7hGG/jMi24RY4d0/RoVNg1hPIrzRojWaHN QKwuQGn2IUbAtaVz7LptvGs5XJDa25RS+kIpRpLuDO3W/YjwYW1bnOZBy2yJtGpdEeMf YB36oUpyLg0ytA3ke06pxXdejyN/OFvRATBjxzSahh1Z/dYHzwBslPH/PsfrUWaTND4Z txUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:content-transfer-encoding:references:in-reply-to:subject :cc:to:from:date:dkim-signature; bh=AynEEPuPpWIs7ScQwoOZ45YXBohERhFmG9PyoFEcG0Q=; fh=++yJ29eG6Fdga9ofeWYLYuIY9RF80dnkCtw34XgR1DA=; b=iKxBeWxcFEBZZjNUNe+iOUY3Sycj0C/ELPDSYxDCvM7zLyFDffzpWqRnG0D5lD49rB PPyMKI9/4V3PzzFDfPhnOmqiz7BL2AW13SVO6of484C8GcCsxRKf0EScWavyxC6CmyEF xUdumGKJNfMmboiriHeahTk5yGyTZPY0DkkhcGHYZcQlJGztnF+TVDEGaQT/l4F9HaF3 DJeJDiolQhlKdEczT6hcqRnkOCmR6pYHH35PYKuYwBqrkVA/j51gu6gySKEIIbLbl5Sx EcqwO299rFMPcpC0lqTzkvA1YgxcnR+GQ1eBMXBQ6qFW4XZZs4XvDg603Achc/JxIbhI BnQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=qc+xK9II; arc=pass (i=1 spf=pass spfdomain=163.com dmarc=pass fromdomain=163.com); spf=pass (google.com: domain of linux-kernel+bounces-49153-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49153-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com X-Forwarded-Encrypted: i=1; AJvYcCXdxPzFygGhiRabJS0w0vD+aHYv3PenDJzFdaPEXPuq8iY/PZQGClvcQGk+kqCzj7VTrVQ4fZ2b0vfetjcQbn1Olk5n8pL7zAjGPj6P4w== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b20-20020a1709062b5400b00a36f811e101si381207ejg.1036.2024.02.01.19.36.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 19:36:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49153-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=qc+xK9II; arc=pass (i=1 spf=pass spfdomain=163.com dmarc=pass fromdomain=163.com); spf=pass (google.com: domain of linux-kernel+bounces-49153-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49153-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (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 am.mirrors.kernel.org (Postfix) with ESMTPS id D18BF1F233CE for ; Fri, 2 Feb 2024 03:36:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96D48DDC8; Fri, 2 Feb 2024 03:36:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=163.com header.i=@163.com header.b="qc+xK9II" Received: from m16.mail.163.com (m16.mail.163.com [220.197.31.2]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5DB37D285; Fri, 2 Feb 2024 03:36:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.197.31.2 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706845008; cv=none; b=FV9tX0OoX8v4W9q6+eSEvGSB/UGOhLcAwPw+pIEKGHuwGmDj0DKdkA4ZM58pXiKAwha0ZSTQ5lO0zd2why+sPr9mmGHhwoAVNwYh4tmhzgruXl2XfLGCLB98aWJ76ZY2IvAFr/i/ksdqXhCQ12astKCGUnae3nT9cUbcjsrN8H0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706845008; c=relaxed/simple; bh=AynEEPuPpWIs7ScQwoOZ45YXBohERhFmG9PyoFEcG0Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Content-Type: MIME-Version:Message-ID; b=CyZJfXTjCO1z47ukbtNUF+UBWP7oj6EhMaNmbZf4Y1KKreRUHJ2IbkKpMWPKdCHkca5MvVYdrze3BUUeeF4OgiBDHwOyKkVcjiRe3a1tKOUo7j6Fn6ts6cxhLrEE9kcyM5AqzlmyPJP2pS4ptZ2AUVb9ClTm+JGw1+9CuJI18pc= 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=fail (1024-bit key) header.d=163.com header.i=@163.com header.b=qc+xK9II reason="signature verification failed"; arc=none smtp.client-ip=220.197.31.2 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=Date:From:Subject:Content-Type:MIME-Version: Message-ID; bh=tFXvmuxxXw0sz7U0iBAjQnQzBTOPkv2MU+eoltxFfmw=; b=q c+xK9II9VBKevNLO333M1VJ/3NsWpMpIP6SsO5FWvEJYDQbE24LT/+6ZHAMM0jdQ Pvak1lFq5DSL+zyedh48fKWuTcRd++7Y74v4LreiAgy2nVkQCqIoSe0C4eTFLem1 JxAFUhFOvBFYTv6o0Qvqi2D+dF3dAyzU1+1v9Y6rXo= Received: from xingtong_wu$163.com ( [36.112.108.23] ) by ajax-webmail-wmsvr-40-124 (Coremail) ; Fri, 2 Feb 2024 11:35:53 +0800 (CST) Date: Fri, 2 Feb 2024 11:35:53 +0800 (CST) From: "xingtong.wu" To: hdegoede@redhat.com, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, pavel@ucw.cz, lee@kernel.org Cc: xingtong.wu@siemens.com, tobias.schaffner@siemens.com, gerd.haeussler.ext@siemens.com, henning@hennsch.de Subject: Re:[PATCH 2/3] leds: simatic-ipc-leds-gpio: add support for module BX-59A X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20230109(dcb5de15) Copyright (c) 2002-2024 www.mailtech.cn 163com In-Reply-To: <20230731071833.4725-1-xingtong_wu@163.com> References: <20230731071424.4663-1-xingtong_wu@163.com> <20230731071833.4725-1-xingtong_wu@163.com> X-NTES-SC: AL_Qu2bBPSfu0Eu5SKdYekfm0sRheY+XMGwvvgv34ZUN5t8jAvp1QALRXlFAXzE++KWMBijkh6RahRv6OlTZI1XZYAJe/ie1V+vr+xJUBz5x0KtMQ== Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=GBK Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <58d93fe1.336d.18d67e31aaa.Coremail.xingtong_wu@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID:_____wD3_5AZY7xlIIFCAA--.39350W X-CM-SenderInfo: p0lqw35rqjs4rx6rljoofrz/1tbiqAJt0GVOB3DEewAGsy X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== QXQgMjAyMy0wNy0zMSAxNToxODozMywgeGluZ3Rvbmdfd3VAMTYzLmNvbSB3cm90ZToKPkZyb206 ICJ4aW5ndG9uZy53dSIgPHhpbmd0b25nLnd1QHNpZW1lbnMuY29tPgo+Cj5UaGlzIGlzIHVzZWQg Zm9yIHRoZSBTaWVtZW5zIFNpbWF0aWMgSVBDIEJYLTU5QSwgd2hpY2ggaGFzIGl0cyBMRURzCj5j b25uZWN0ZWQgdG8gR1BJT3MgcHJvdmlkZWQgYnkgdGhlIE51dm90b24gTkNUNjEyNkQKPgo+U2ln bmVkLW9mZi1ieTogeGluZ3Rvbmcud3UgPHhpbmd0b25nLnd1QHNpZW1lbnMuY29tPgo+LS0tCj4g Li4uL2xlZHMvc2ltcGxlL3NpbWF0aWMtaXBjLWxlZHMtZ3Bpby1jb3JlLmMgIHwgIDEgKwo+IC4u Li9zaW1wbGUvc2ltYXRpYy1pcGMtbGVkcy1ncGlvLWY3MTg4eC5jICAgICB8IDQyICsrKysrKysr KysrKysrKystLS0KPiAyIGZpbGVzIGNoYW5nZWQsIDM3IGluc2VydGlvbnMoKyksIDYgZGVsZXRp b25zKC0p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