From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB83B374A1B for ; Mon, 24 Aug 2026 09:33:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787564002; cv=none; b=YCGaFuEYOS2Q+56UY+Tk2pDMhzcXUZQZ9qKl026ucg53RYAzwBgbSqmzaClO4YK4/VuW41z0vc+j9NByAbg0AZP7LjPXStB1zXzfp3qbJJhoXSv0hI9G90OKpme7QHlo/8rK9kH8yShYFZMFlVZ+hRVUsfDcTlgSvxshLerMwKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787564002; c=relaxed/simple; bh=FqqX1Mln5GUPxDhrH5Nc5ECsMnro9xqpY8P5ZgebS4M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Wk0bZzSmXUmElpDRW1n3TcJ/UPgHZbXCXHUTtD5LwtMusBrqjjVZqYuII6JTH7SUhWgy0LXKiVxJRgSCDyY3sKVi/v8LJU0n3wTNIb1m+S5ZH1O23/moNhBtpbaeW7CmCsQ8EctEFEbOxq1niA7kjB4pG+xHNb8Yrd1B529/Sso= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com; spf=pass smtp.mailfrom=riscstar.com; dkim=pass (2048-bit key) header.d=riscstar-com.20251104.gappssmtp.com header.i=@riscstar-com.20251104.gappssmtp.com header.b=oIjcEQlA; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=riscstar.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=riscstar-com.20251104.gappssmtp.com header.i=@riscstar-com.20251104.gappssmtp.com header.b="oIjcEQlA" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-499a4d1d7f1so17289255e9.3 for ; Mon, 24 Aug 2026 02:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20251104.gappssmtp.com; s=20251104; t=1787563999; x=1788168799; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=FqqX1Mln5GUPxDhrH5Nc5ECsMnro9xqpY8P5ZgebS4M=; b=oIjcEQlANUv01vd7M3tJtWhbdqdmSJc9fCXyGzSJLjKXf5RLbXZLOqhCI2/nsqMUBP e97x+WGPa4DGR13z2uh9q2f9lurVF+xPxeoSJmapnB89UcdR0BB5DLxkWWjDhh3ziLcS mHXlSvlC144FSsBWPnLuf64D7kVYXfTHOrczn2t0hnn44L6U0PUVL6Vlizg49/O005Gb lpoMPvUprYuHQU/zC1Y4rVSL+wg7JGklwFccJyl3BP8dHwtLpHv30aT1p7t+bS1h1Acr ayW3BR3+ONS1pQVLC/reP7Z1c+tS6lDFjdI+dEUnocXeUTHNCm2BAhOnCfCGZMFCUvO+ J0Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787563999; x=1788168799; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=FqqX1Mln5GUPxDhrH5Nc5ECsMnro9xqpY8P5ZgebS4M=; b=BYmVOMh08gPHrPvML6Xsi/CpnhJc26aAeANz9wRjlxK5v9tBv3EGl9B0PZYhmyHeAT xxhoYqDlCECEMAq9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ySSNQuY70crczXugJrDERjS0V4Z5/2mJlT2FvWPQRS2j58JAYIEI Ev9QL8e4DXafiZ/EVGbOQAjlJpY+nYplxXV1soT5qBVpEA== X-Received: by 2002:a05:600c:19cc:b0:499:9240:9a1c with SMTP id 5b1f17b1804b1-499b847725emr306902295e9.15.1787563999161; Mon, 24 Aug 2026 02:33:19 -0700 (PDT) Received: from aspen.lan (aztw-34-b2-v4wan-166919-cust780.vm26.cable.virginm.net. [82.37.195.13]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-499bebfa94esm70641885e9.1.2026.08.24.02.33.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2026 02:33:18 -0700 (PDT) Date: Mon, 24 Aug 2026 10:33:16 +0100 From: Daniel Thompson To: "A. Sverdlin" Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Andrew Davis , Lee Jones , Pavel Machek , Daniel Thompson , Jingoo Han , Helge Deller , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [PATCH 2/2] leds: lp8864: Register a backlight device Message-ID: References: <20260817170817.1933046-1-alexander.sverdlin@siemens.com> <20260817170817.1933046-3-alexander.sverdlin@siemens.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260817170817.1933046-3-alexander.sverdlin@siemens.com> On Mon, Aug 17, 2026 at 07:08:15PM +0200, A. Sverdlin wrote: > From: Alexander Sverdlin > > The LP8864/LP8866 is a display-cluster LED backlight driver. Expose a > standard backlight class interface in addition to the LED class device, > so it can be used by display/panel stacks that expect a backlight. > > Use the new devm_led_backlight_register() helper, which spawns a > led-backlight device driven by our LED and tied to the I2C device > lifetime. This keeps the driver a plain LED driver, requires no > device-tree changes and remains backwards compatible with existing DTs. > It is a no-op when the led-backlight support is not enabled. ... but when led-backlight support is enabled it will prohibit the use of the LED sysfs interface. Having zero DT changes is a nice property but it seems rather fragile to change the ABI the userspace must use to manipulate the LED based on CONFIG_LED_BL. Is there no way to explictly configure which ABI should be used? Daniel.