Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp398184rdb; Sat, 17 Feb 2024 13:49:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW2pqEYPHPtf4f+UnfDIK59FcIzmfy75XwUaDTZvggxVy5Kh+ino9LHB5B4xqd4EiUIXhY9RhJUibpCszDavTb77c4la+9kgVwZr9pbug== X-Google-Smtp-Source: AGHT+IENNpHW+cC6tOAHM535ww6cu8P0RtdQ2DvQm9v+6Yz27WGBEkaN/Ua1OnweQ85XwoxOCBPE X-Received: by 2002:a17:907:1c21:b0:a38:4dc0:22f9 with SMTP id nc33-20020a1709071c2100b00a384dc022f9mr11976613ejc.4.1708206591839; Sat, 17 Feb 2024 13:49:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708206591; cv=pass; d=google.com; s=arc-20160816; b=a4ip+r9DdMOnCUPNxgVmfC9hKRMikvjQv0AlAqRVOZZyDkhhYmNYH7MOypTC3tE66G VlTJWugW4F2s2zfSn1N661wq0c9WQUikk4927iw3/lmMPi3FIxfmH3hBWQw3bx5lZKYJ I6FKdAw5Crq71wKnPsZIFn6J8Sy35c0vupdRokrgBZ0v2VhuKr10zwedc9hLVsShsRRB 5vaaLbgAlgh0ZaKCi17Mds5UsxEY4ilbF8bMgtOYPMCoYP2BGGpxuo18N43zoY82SA0/ 9R1cxzuOVTWcyCiytn8eZ4To79OUw59mbmUMbJSwIF5niiyDw5moQfu9omgzJ42iz4TZ +zdQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Yff5w2/dX+NyP9bba4N2dTBCRUtR6XFZyKeb2OHw1L8=; fh=YLmlRPNPLWa9VEJX3wdD7oZROHmTNtMXyw3ftj/GNvc=; b=GF/h94cFzzwNgjeZEpTTCq5OL2kdVh6KMAHaqcYJKYv4hX6em330XhHaE+Y/d3865J hib5VDw3H3YhzzBsNZGE3ku+gQPPDJknFyTkSbDnl/ULT5ue3nmiohuc+qQ+KdrjabYu ZxpfE9rD8B5UVMkJ+cCCsVuBs9guzVb8R8gckMs8W1zLPlKZS7McO/sy4TLGmlpk4xV2 XEctQY4JqQT+ak+BXvp1g3X271p+Dildjd2Ft4i4wdLySLq0pcGWmI4uajv7M0OxJpis DIzMgKSR5nLAfLioqTIKwtcnhkPrADCJH43h6Z+m9gzveau4nnQa7qsYAUJn4MHeOEnZ TgBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gCY0M1n7; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-70099-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70099-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v22-20020a170906489600b00a3d52f7b059si1142178ejq.78.2024.02.17.13.49.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:49:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70099-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=@gmail.com header.s=20230601 header.b=gCY0M1n7; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-70099-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70099-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 6DC331F217F8 for ; Sat, 17 Feb 2024 21:49:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE4CF80032; Sat, 17 Feb 2024 21:49:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gCY0M1n7" Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) (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 BA7117E782; Sat, 17 Feb 2024 21:49:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708206582; cv=none; b=LL+jTsFtUvbom1jzW0DPaDm6Pr/WKFk6rBuc+q731W1rasOat2HDHM1MGtVVnmrQXsuT9196Q9/JFxsUk0UHSnnlccOXfrWbkp7VeBmvNvpzYP7nmFIna2XT1OTW74S0M9Cl2uWJHew+yK2rwipYL/sXAo4EfvvfRAOXG3Vje98= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708206582; c=relaxed/simple; bh=wB7CDGUJaK3t8ceS2065mNEi6YkAIcqs94ldRZprQoU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=InV1DJo01AR/MKidj83mRmONfK8vIbXf2HHlHFEUfgdrcGeuEfy3G85HruMoOvj3v5JLsOTEaEwS6fFHQBzd7TIoqLdP5J9chXy/zq40QQ/Ech47I3SmeSUvL1WfY1iglCI+1D44R++Xm+C+fQfRIihmEdH68oCqU7Y3W/d3GOs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gCY0M1n7; arc=none smtp.client-ip=209.85.222.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qk1-f177.google.com with SMTP id af79cd13be357-7872ade6f0aso112831885a.1; Sat, 17 Feb 2024 13:49:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708206579; x=1708811379; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Yff5w2/dX+NyP9bba4N2dTBCRUtR6XFZyKeb2OHw1L8=; b=gCY0M1n7tDqWL4iMPRg3fxKaZOVj9+ly2PBRYccWBwTqSdZLQcKCg4aU9tDoNHM5A9 qUD/eHNIqdrPKiXTa17ydJXy8qAi0xVq7rqI4jwPrhhWrHz7nsdcffIADahEDeg/fybt qErae63HWHZUu9+BZdw+nnpeSUK+zUV0NO566/30U3ivbWoRS4rSdChk/xC/fIxzbgFK ATGpvj1g2lEezqJzamT8PNfsqY4nDIZyNyrDjvO22yV51FGqyzmcvSM5rbIRUurNejiY rmA2L4p+cnCVs+9ZsrKFXFduejWZVLu8CDG1xkiSaqP3qhDUKp5qAtSh2ixo7kq0BaCP +vEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708206579; x=1708811379; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Yff5w2/dX+NyP9bba4N2dTBCRUtR6XFZyKeb2OHw1L8=; b=qi+dEyUgpl4q6TtyN+BNl+RisETtJOrlt0TLJOklbV6mv0JZSlJNfBW04ZKnts38Y0 5MEj5cVY0ErACkrPlHmbthfmLaEXMm9UDtOaEC5UDT+SQR1hEw3S7/Pkt6szHqE37w70 kKER2W++C7N3zCM04+ifUUVisc2xoRNAbcvKKUKSMgsEzmX61Au/WhSqwagkWL3KnDmi r08wOzChVtBpWappURJ7UYZ1ScIEQRoBhmzFDkJj1beAytPImX7IvpDK9M5nyDx8OpWO vCKzwfvDxF0bez+P6UFd6nLcRNw0JCqON+pg+lBsnmKzckN13EmQLM8b1fJ2US4oivnK svxw== X-Forwarded-Encrypted: i=1; AJvYcCW2b58GmSnC5BkT2uvvGm4HfbkHb+bHMXnog7078Y/+p5frkWTy9nXlE0jsEcheGI6iR9LWoqwDV0ylxsYQWaLbG5jVxj6qBbICB8feVZ1VPvnv/gZ6dsth5ZhiWP+kO6uFO8RkGTbLsplWg5htl9jA+w+nc7K7k7hRbfDT0cqxBZOTCHY= X-Gm-Message-State: AOJu0YxHTA51r7J/0ZguswvAAu4S4ZKDpXkKepL4mC0tgVOgKUU1zsA9 YMskp6cQC6E2eqv09utB258tlLESv9TXdyTO+oBmZCIaQeeyiNc0 X-Received: by 2002:a05:620a:468a:b0:787:3c10:f17f with SMTP id bq10-20020a05620a468a00b007873c10f17fmr9066402qkb.61.1708206579597; Sat, 17 Feb 2024 13:49:39 -0800 (PST) Received: from abdel ([174.95.13.129]) by smtp.gmail.com with ESMTPSA id h25-20020a05620a10b900b007873c8f1b7bsm1132854qkk.62.2024.02.17.13.49.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:49:39 -0800 (PST) Date: Sat, 17 Feb 2024 16:49:28 -0500 From: Abdel Alkuor To: Pavel Machek Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lukas Bulwahn , Jean-Jacques Hiblot , ChiYuan Huang , =?utf-8?B?QW5kcsOp?= Apitzsch , Jacek Anaszewski , ChiaEn Wu , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 2/2] leds: Add NCP5623 multi-led driver Message-ID: References: <20240203175910.301099-1-alkuor@gmail.com> <20240203175910.301099-2-alkuor@gmail.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: On Tue, Feb 13, 2024 at 10:18:39AM +0100, Pavel Machek wrote: Hi Pavel, > > +What: /sys/class/leds//dim_step > > You are reinventing hardware_pattern trigger. NAK. > > I suggest you add basic support first, then look at hardware pattern > trigger and add that support in separate patch. > This makes a lot of sense and simplifies the driver. I'd like to add the hardware pattern as part of this patch as it is already implemented previously but I needed to do some clean up :) Thanks, Abdel