Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6706398rdb; Fri, 15 Dec 2023 06:21:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7dhs4o4by7EzucuC2v7BThpwKCvSG9HKoukqQvje+ZUgg//0G78ejAAhWSCy9UQD6IVS/ X-Received: by 2002:a2e:461a:0:b0:2cc:27f4:61c4 with SMTP id t26-20020a2e461a000000b002cc27f461c4mr3619613lja.50.1702650105029; Fri, 15 Dec 2023 06:21:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702650105; cv=pass; d=google.com; s=arc-20160816; b=qDr4R+8+buuIBmFdm7DDDori5Pa2Nw/b1zzdv2cmnvwBz+QZi00LvpFl/waBUV3RF8 +i9UCnvRG05cKCgZ4YudCWuyryTzyP+RDhNsXyS7U5FGuAsVwzVvE7JQdo/d7H1UF/2q TtcCJF1ONCG5e9mOadBGWU9PLl5XNagA1z8E2k3e92dijyZHST0xB8GZopFogHs8vcBY iRwowMr9fNxlxXnp+Jpb59ZE/1Akl1hPfoKjy+LX3yCiYk8tJbou7X9lALs8YbFasOUg 8CZZAHC8Hi76pXREkGK2Ik3bboAFFsv8EGmzZugEKygHG+Hu0F9CqkINacid/1sxc2zE 1ElQ== 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 :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:dkim-signature; bh=NZAItlpNNAyo5ubtDPtrX73Mb4cIpjn1AeNWc3LfjPo=; fh=VfJfsv7JH4e8SFnbkqcGQYr+BIS8JcdXEOTpPaTHsv8=; b=DKRhZrXKWCCFxSvjidp5y51bNPatr0f7I0rNy3XCYN1RTRPiJEJ2vVKxyzw1Aok7iH McltdONlsyKD1FHE0YtgQEWA5rtz+uoE81+aWWOwc5Gmq8cOucstIcO6cKvHgJRumbd3 niFo9zzRJYsPY7lTG0z2XTvb+Ka8ifYLL1DVfN7b+rO5ivsnainIG5FlY9gdIAPctxPt A57bD4YQ0nZ9awhIV5oJFI4wzqzNPHscEHqPz01k9Uxn3s4rD4c0le47J9c8SylPUAQD fH7bcpUKIqUGP+ArEm3F+JQ1F+FC/7+AKcszW7qmk+VeAMJBDKvUWmYA3dYhhx1MLrB/ J6Bw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@asem.it header.s=selector1 header.b=lFhTmbUu; arc=pass (i=1 spf=pass spfdomain=asem.it dkim=pass dkdomain=asem.it dmarc=pass fromdomain=asem.it); spf=pass (google.com: domain of linux-kernel+bounces-1090-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1090-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=asem.it Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q27-20020a50aa9b000000b005523208af40si2171290edc.61.2023.12.15.06.21.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 06:21:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1090-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=pass header.i=@asem.it header.s=selector1 header.b=lFhTmbUu; arc=pass (i=1 spf=pass spfdomain=asem.it dkim=pass dkdomain=asem.it dmarc=pass fromdomain=asem.it); spf=pass (google.com: domain of linux-kernel+bounces-1090-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1090-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=asem.it 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 171A51F2556B for ; Fri, 15 Dec 2023 14:13:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E29982FE3A; Fri, 15 Dec 2023 14:13:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=asem.it header.i=@asem.it header.b="lFhTmbUu" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2044.outbound.protection.outlook.com [40.107.21.44]) (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 4360730357; Fri, 15 Dec 2023 14:13:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=asem.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=asem.it ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jMAm/m+8EPHP8wz3MMxJTpxVe2K+aOMPhWeFN0Nt6m/zAubVgefVMup/J2+oCsJP8l3MvmbHhzNGjDMntARFOp+cy+C353lDiTDrVO6IR+Vl6oEWddXkzCAxjOsiIV5+s4uLM2rJXrS1p5RExPCcO6Wn5spha9pk5sy+uyJphWvPYWyoeNA3I55n2GMKXaKbQSP/RK9IV3qH7xY9gsgIc8rik29Ex15sGChWKOKALBvkoC6IxgjIUaArmy13aBUSY9Uf/62V5O4cv3Rgo6EY7pPO1kS3df9rNY1UvgvfdRiitArMom2bDz//NZ7BtPvGlpB2Ml/Ef/es0J+SaP17KA== 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=NZAItlpNNAyo5ubtDPtrX73Mb4cIpjn1AeNWc3LfjPo=; b=PM+ZuWdXbGYqXwLs/7szfXkKKoDsqtAOnO3UUcw/xwu6pLRJVxlsBnEmqvc6hcaAPejfcooNeNyj3aCbIi/IxHebwWyDHmm6CW5EyPNFmFNXoV9noPAv5wGZ1EYGNOD3RGgKUOXP8/5etKZFA/0PMKIniz7tILRHrswZyUwUMkV6b2Ko3SYkCZpjnbwoLEKCU+NrKLo0ek01u9UVOhJKMrsyEjanVPylDlVbGsiIe2yOZ8Mwn5moL1eIfMu4gSOz2h4p6jiwJJOyaMyNH5/3r9dO+EYn6zbTqu3XvgZPCqaUFWra9xhimamJSx0gqfZz1mivqGxkRz5jAv9stS2oBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=asem.it; dmarc=pass action=none header.from=asem.it; dkim=pass header.d=asem.it; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asem.it; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NZAItlpNNAyo5ubtDPtrX73Mb4cIpjn1AeNWc3LfjPo=; b=lFhTmbUuPuD1lCvwI4XRPKti9Qn19U8a1FrHvCZLqawo/O37bULaeY/8HpuIXkSk32keBf6yn12OhdhMgPsK2BDHObP3JzgyLhyevW7prn+9rJDOeczEF1RU1e3ZkeY1kKbXlwKjwAiFPk8ci3kQQiw6TpbdfXRERF9xAkAc3e4= Received: from DU2PR01MB8034.eurprd01.prod.exchangelabs.com (2603:10a6:10:273::14) by GV1PR01MB8642.eurprd01.prod.exchangelabs.com (2603:10a6:150:29::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.31; Fri, 15 Dec 2023 14:13:01 +0000 Received: from DU2PR01MB8034.eurprd01.prod.exchangelabs.com ([fe80::6938:4551:b9e4:d8f7]) by DU2PR01MB8034.eurprd01.prod.exchangelabs.com ([fe80::6938:4551:b9e4:d8f7%4]) with mapi id 15.20.7091.028; Fri, 15 Dec 2023 14:13:01 +0000 From: Flavio Suligoi To: Andy Shevchenko CC: Lee Jones , Daniel Thompson , Jingoo Han , Helge Deller , "linux-kernel@vger.kernel.org" , "linux-fbdev@vger.kernel.org" , "dri-devel@lists.freedesktop.org" Subject: RE: [PATCH v1 1/2] backlight: mp3309c: Make use of device properties Thread-Topic: [PATCH v1 1/2] backlight: mp3309c: Make use of device properties Thread-Index: AQHaLscIv6DR3vMcLEye2ja2iHV/JbCqYzIw Date: Fri, 15 Dec 2023 14:13:00 +0000 Message-ID: References: <20231214195158.1335727-1-andriy.shevchenko@linux.intel.com> <20231214195158.1335727-2-andriy.shevchenko@linux.intel.com> In-Reply-To: <20231214195158.1335727-2-andriy.shevchenko@linux.intel.com> Accept-Language: it-IT, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=asem.it; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DU2PR01MB8034:EE_|GV1PR01MB8642:EE_ x-ms-office365-filtering-correlation-id: baa3b59e-3f8b-4fcb-4399-08dbfd77f23b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XWeSOhcGUDwC8/uiI+IPgmzTgpdAiZ/iqPPv2tXLujuG+sN/KLe7H5T9aFgBE2PYEtau6gCv1Li1OtmIqWITbHlJY3ClM1xJyCJtC3rVM79SRZEPNRvAdhw5T8qbiH2fxiRR/pFC1LTG7gfbJcGtkNsDMyNSzozH8DswEe0kp45/L8rrDU+xMp9YGQzEoMdVaX2DYLpPA2piJmjKwqBJAiWZ4jbrN62zFp7O0xqtOU+3Iqxd0o6yU2UgLOTbq1eM7l/lw8YybHOc0Ur8OufsYQgpg2UWYZq6DSoitNrb/xk6DVYThBg9Ht0Z4oaHWgDEF3NzH7+bzoaIzoLYkpSAGym30I7sEewe/bGgbI3tUFaRzKYyhMy4gfp1+s+FKY7elmaj/OmBN1UkCr+GJDIaY7Cb+eIjfGWJn9zG9sxFPARyz93NRRntYEuf4Q8lcXlAGDjNzHN2XYdyt3Nh1CVZZiM1HmddAaqCLJGiOGKlujSHiitS+uEuBIvohKwA3qfha6Wte2zyApyK7X48ADCGnxMXzQuysuyVXcnuRRo9VRMTqeM3zy9YK29gaiHf4X1ZiYADVSlMWoxqviEkTuZ3mMksLKqaTvUwBGpg7DXmiYSlkg7a1K2cdm2XsMkZCffX x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR01MB8034.eurprd01.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(396003)(136003)(346002)(376002)(39850400004)(230922051799003)(451199024)(1800799012)(186009)(64100799003)(55016003)(26005)(7696005)(6506007)(33656002)(38070700009)(86362001)(38100700002)(122000001)(83380400001)(4326008)(52536014)(5660300002)(9686003)(71200400001)(76116006)(6916009)(316002)(66946007)(8676002)(8936002)(54906003)(66556008)(66476007)(66446008)(64756008)(2906002)(4744005)(41300700001)(478600001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?tM9MjmJgZT/hx0NM7ykt3gu2Zy4Ic37l5Gj4RMry7cr0fxBamAjRO/wj6ibi?= =?us-ascii?Q?SFWkLhPjG1EZvTOhqTtg9JwhLangDDfLrymm8HYkXwtsTHshRicdg5eBkCqW?= =?us-ascii?Q?ppel3xAIjvMGPrO8h3cdacoA5wz+Fg/2NDYR1cIRps7mwns/MPhPOH2i1Azy?= =?us-ascii?Q?aus8y8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cZ/bB/Oj0g2E7?= =?us-ascii?Q?TCCcfT/bKLAcsQNOKsQHlCjc4dXL+IV6+gZSkSdmRAiD4OKW8gFYdd9fkva1?= =?us-ascii?Q?kDRN7YZZF89jPetnu8IHsvjPdB2aLxiO4nvtwiyXg3E5WmBLOkjGc/NzwOMx?= =?us-ascii?Q?P2KOJ4Aj1eW1B8Vqdbm8u9K14c5QICuT/3PMUs3+CB5Ctkt42VFweOgWtDY5?= =?us-ascii?Q?+s9KQbks6B8ZFRcZVN3VZoij6ltWrPSEtpiTq42/4ahVDQkLPapPHXSDChNC?= =?us-ascii?Q?S4aSppACtKvYGunGSJ31UY1HXU+p0OcsLNvO/hYfLkCB/bCkuoXMBgGUkney?= =?us-ascii?Q?vM+/e6fYLH3s54PIzL8GEcez8/mCwb/LJONz2OmkkZeWDMoDagmpcr2OeLxS?= =?us-ascii?Q?jbASqadzeR1Jf/KK4magQTtDVbaMyKBgXgh0OxgzqAIC8YB/fGpO/FzJf423?= =?us-ascii?Q?TwX0XpHj9ouvSiZnE3cuM3K9i0SDNt4rdhXAdp9jHVBlrF3d/JEeH5tywhyI?= =?us-ascii?Q?lyazQHox6XwIoTtZaFc=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: asem.it X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU2PR01MB8034.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: baa3b59e-3f8b-4fcb-4399-08dbfd77f23b X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Dec 2023 14:13:00.9701 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d0a766c6-7992-4344-a4a2-a467a7bb1ed2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: WinrVQb5lUs9iK9H0TC3GWhW4zmPMKV3cUzvO8M9XBWYSco6dEzrtzgT6IiVaeYXf9rtpeRrgKmR7mZZ6XHRPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR01MB8642 > Subject: [PATCH v1 1/2] backlight: mp3309c: Make use of device > properties >=20 > Convert the module to be property provider agnostic and allow > it to be used on non-OF platforms. >=20 > Add mod_devicetable.h include. >=20 > Signed-off-by: Andy Shevchenko > --- > drivers/video/backlight/mp3309c.c | 38 ++++++++++++------------------- > 1 file changed, 15 insertions(+), 23 deletions(-) Hi Andy, I tested the patch in both pwm and analog-ic dimming-mode and everything is= ok. Thanks for the optimizations! Tested-by: Flavio Suligoi