Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp638098lql; Mon, 11 Mar 2024 12:44:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOy0DVm15djLjG3xzFjogsilXjhnBbNFf0T0Mj3WJvtGt+5d8fR6fkqEr4ElLrg4sGAma/OALYFzxHXTRuw8HpMrwOl49s55alUdkXWQ== X-Google-Smtp-Source: AGHT+IHGOHdomwZDlSq9Q1VIVEAqKf3HiVTRHdIo6GZ051opQE+CkH6mZ96yDCEXYzDbpPtFi26E X-Received: by 2002:a17:906:ba8f:b0:a46:465:246f with SMTP id cu15-20020a170906ba8f00b00a460465246fmr5055400ejd.34.1710186243651; Mon, 11 Mar 2024 12:44:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710186243; cv=pass; d=google.com; s=arc-20160816; b=CjLpUVjnTjQzlpxKdx7W3NiVlcF1whuT4Itsca17zeEPVyVKrMcTb/evJiAVR5+kqi ntLJeiOdJKa8PMyR8nMZcCpeBQt3ZIJuoVHppOWVjx3NbGx+os7cOPGMOiv8eXOhyScF rJw5Dsl0kuDmrT5zs8dS3Yu6a2E9GF3L9TS4R47JLOLUmZgvbmeFnLJksY7Ta8sRS6Ny B/B18Mavd4HDPryiwxysNhRiOVfTiBYnTMBMKgCMoSCsHHnjgnQCZBNLRe2rHoiaoI8z wC5cMJV177wyB7kd/2/kYiD/7eAt4wtTtionmXdSuutZL9Wr5CvVCrMmBT3QBHuG+de3 OQDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id; bh=KKQyo51bc/AIZ0093isHt1glyMS5E+CYMY5cLg6WvrE=; fh=y1LX2NTnHb107yzdkqPz550XokZvFxziMWkl4zowlh4=; b=Fba09ru5GKfZDrDnjBOHVVhcDp4+WTHxUm8lY2J2xPx4qq0WFwDdSWr5WZYFm2/LG0 I9G6LMrqJz9Nrwlt5XPKO5/sf4b7/7Ovr62gG7GaytuL5pzgOJLi4HR78Ui7J1bmQnNG SuSGHLKcLzC7WZItwWEVmgM7rTZXv14WLDf3HRBv/mumXqepPBeqw/Sx48PyBKYhuhKV OsvDX5KuaRNl/9mnhYifdY2LNUIBaNS2bvt/I85zLo8p+lGYlyM3k9TXXxJirIiOMY0j elHRNBfvFNwHZGBiDFTXUwesKSY9+CNCQBXup0qzWYBFBrxQWCdogxjVbSsSdErV0jfs BdBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=apitzsch.eu); spf=pass (google.com: domain of linux-kernel+bounces-99483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99483-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t13-20020a1709064f0d00b00a45e382d300si2665824eju.638.2024.03.11.12.44.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 12:44:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99483-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; arc=pass (i=1 spf=pass spfdomain=apitzsch.eu); spf=pass (google.com: domain of linux-kernel+bounces-99483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99483-linux.lists.archive=gmail.com@vger.kernel.org" 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 588881F217C9 for ; Mon, 11 Mar 2024 19:44:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 151D755E4F; Mon, 11 Mar 2024 19:43:52 +0000 (UTC) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F15B56B63; Mon, 11 Mar 2024 19:43:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.67.18.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710186231; cv=none; b=ipF1ZaxPLyFJDbGAvYno43UfZcUF1Ivvt6BoIpqN+nASART87uelXig1yEaHXKCkT5LnXEmzrqQgn6K6NMcfWLzZ4HuhqDJkUgJ0g8gY8nxxc0/9SHNJ1E2C0MqTMEc5XmiHUkjpdo7BaUMUfb9VCVfhprE54ylN9aA543qMBdY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710186231; c=relaxed/simple; bh=KKQyo51bc/AIZ0093isHt1glyMS5E+CYMY5cLg6WvrE=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=Ib8JcMCEUKawlCBM8GB3Dh2MLBGtjyP9QYKFXolaI1tr+ttWHASvUmC51uC9s37UAFhW3ThDavSWtS15a6ygsZNU2W56xMYhyTueZkaOSczcOXaQqI6qZGik5yN79Zz+UKtq8xaXOLiIeFC251/A/xDlhG2Z1WWWhHQnmDDw/Hw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=apitzsch.eu; spf=pass smtp.mailfrom=apitzsch.eu; arc=none smtp.client-ip=80.67.18.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=apitzsch.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=apitzsch.eu Received: from [92.206.191.65] (helo=note-book.lan) by smtprelay01.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1rjkh9-000000002Z2-1Jfe; Mon, 11 Mar 2024 19:48:19 +0100 Message-ID: Subject: Re: [PATCH v4 2/2] leds: rgb: leds-ktd202x: Get device properties through fwnode to support ACPI From: =?ISO-8859-1?Q?Andr=E9?= Apitzsch To: Kate Hsuan Cc: Pavel Machek , Lee Jones , linux-leds@vger.kernel.org, platform-driver-x86@vger.kernel.org, Hans de Goede , Ilpo =?ISO-8859-1?Q?J=E4rvinen?= , linux-kernel@vger.kernel.org Date: Mon, 11 Mar 2024 19:48:17 +0100 In-Reply-To: <20240306025801.8814-3-hpa@redhat.com> References: <20240306025801.8814-1-hpa@redhat.com> <20240306025801.8814-3-hpa@redhat.com> Autocrypt: addr=git@apitzsch.eu; prefer-encrypt=mutual; keydata=mQINBFZtkcEBEADF2OvkhLgFvPPShI0KqafRlTDlrZw5H7pGDHUCxh0Tnxsj7r1V6N7M8L2ck9GBhoQ9uSNeer9sYJV3QCMs6uIJD8XV60fsLrGZxSnZejYxAmT5IMp7hHZ6EXtgbRBwPUUymfKpMJ55pmyNFBkxWxQA6E33X/rH0ddtGmAsw+g6tOHBY+byBDZrsAZ7MLKqGVaW7IZCQAk4yzO7cLnLVHS2Pk4EOaG+XR/NYQ+jTfMtszD/zSW6hwskGZ6RbADHzCbV01105lnh61jvzpKPXMNTJ31L13orLJyaok1PUfyH0KZp8xki8+cXUxy+4m0QXVJemnnBNW5DG3YEpQ59jXn3I7Eu2pzn2N+NcjqK8sjOffXSccIyz8jwYdhASL5psEvQqZ6t60fvkwQw7++IZvs2BPmaCiQRo415/jZrEkBBE3xi1qdb3HEmpeASVaxkinM5O44bmQdsWTyamuu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uY8wFiZlA2XXDikTDFXhCWlsQT036272hmn+9fk2xtGHP4ImWKJQsaBxIRMl7rjedt3QIpQqmG5vgQSML9EDYimGueH5cC/4wGVM7mDMgv84k4YSl5wFfc9iM8ClBGkmFjaGc/Z Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Df-Sender: YW5kcmVAYXBpdHpzY2guZXU= Am Mittwoch, dem 06.03.2024 um 10:58 +0800 schrieb Kate Hsuan: > This LED controller also installed on a Xiaomi pad2 and it is a x86 > platform. The original driver is based on device tree and can't be > used for this ACPI based system. This patch migrated the driver to > use fwnode to access the properties. Moreover, the fwnode API > supports device tree so this work won't effect the original > implementations. >=20 > Signed-off-by: Kate Hsuan Tested-by: Andr=C3=A9 Apitzsch # on BQ Aquaris M5