Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp642832lqd; Wed, 24 Apr 2024 12:21:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWWHXM0PbEwqcVnAQgwJHzXOSKHL2BrjTyoiF/FQdjB3vOK+IX6W5lcKxmxeHIv1Rl58/+y9wSPbw9CKskPwYm8M/nes5cuCX8lrpHdLg== X-Google-Smtp-Source: AGHT+IEdBDup+WJrnsSFfYmNiXYn8duxs2QlEQj7HAZDadp1m1p1L1O2fPlXGcVG7bJ0B/vWr5MW X-Received: by 2002:a05:6a00:240d:b0:6f0:c828:65c1 with SMTP id z13-20020a056a00240d00b006f0c82865c1mr3820255pfh.2.1713986479731; Wed, 24 Apr 2024 12:21:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713986479; cv=pass; d=google.com; s=arc-20160816; b=wYGsKol0hnYZkZogkHwfUpw2fF74r4nhqpRla0Aswr/TX8mUdIswFdswMLQ0BL5Kkj Lx4Ben0m/6XxWONh22+aEG38nkYSk86RVY3FpoAlATuHyqlJ3nVeMmjVzDpGOp5Dr6dZ bb9ZyYpvzV4mNNH9W1iZ3pFTOwQV43g5hlxERAMQV12EMIZMtc+fmVCnvSypnH2LqHCy 3aE+JJr8NtNX4/AJYGInNQqO4V75F/TayzCub5/nDGXMfzeRJGcxtjfut29EkOsevvca s8ZSb1dlQwY5UXt4lDuytDY9DYRzrWsNL1LnmeW+k0jL69FEe9x4u+lAgbnTRji/yZsO E+rQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature:dkim-filter; bh=d/BoO25/KtfZ3Yh1f6DO8rsPKA20e+M+yd8Hwd1i7sM=; fh=ygplfP3YriaZlZvLfbCh6ZB3jr/VV12T4f5ifidSsLM=; b=Kj2WAOlAtnOOwX95fkZtKfLRKvDWmqLgNNrtMjP80H/Wx7XOF8jb97CqOaQ/4kGdAU PI7eZP8XQ9VgtqDqdaIroac0+jAZiaMFttfNfwf1dGZMaoVokGNetuJuw+GU4MpPk2gH Dr9Ve7clI1PW97TkdFEJXbS0RNciIRhrRyLhBq4etEx5KkFZG+8RLF2VBJQB6PKX0lnQ MJ+Hu0/TnagKhIZKLyxuMnbubTxMiGT7UopHmHCt79gvEIYITGrngcm7BxK37lmNBwb+ vgLpreXOnZDRsI7SwCurA8pmkTGKimVAOzTVNj9RY7k7plaGrYnRKIn6DpBebFrcd7qN LolQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@classfun.cn header.s=default header.b=GfMxPo1X; arc=pass (i=1 spf=pass spfdomain=classfun.cn dkim=pass dkdomain=classfun.cn dmarc=pass fromdomain=classfun.cn); spf=pass (google.com: domain of linux-kernel+bounces-157605-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=classfun.cn Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l128-20020a633e86000000b005dcbb8409ebsi12036849pga.252.2024.04.24.12.21.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 12:21:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157605-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@classfun.cn header.s=default header.b=GfMxPo1X; arc=pass (i=1 spf=pass spfdomain=classfun.cn dkim=pass dkdomain=classfun.cn dmarc=pass fromdomain=classfun.cn); spf=pass (google.com: domain of linux-kernel+bounces-157605-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=classfun.cn 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5A1F928494F for ; Wed, 24 Apr 2024 19:21:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B88175818; Wed, 24 Apr 2024 19:20:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=classfun.cn header.i=@classfun.cn header.b="GfMxPo1X" Received: from classfun.cn (unknown [129.204.178.38]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 601955CDF0; Wed, 24 Apr 2024 19:20:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=129.204.178.38 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713986429; cv=none; b=jEcZ/31SLVSvs2n+oLDmAkbA/qPj7SeXcq1x9r2VqmB9nU0MVXqMvs1k9NzGkDEmN3WqatXUQCOTtIjYntAXie3THPLYNaXTolAHzeHR3O8yVUEqRiu4ULRajZHjbtGg1NUJ1V0OFed6Q5L4BCc4jD6hNFSFNA/sFzyQYyaH3nY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713986429; c=relaxed/simple; bh=rZXk3f2UucFu56G21+BcQ5j5xPzD1bSO6jfq4L1h4MI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=FUmyf4QgaPpRDkeoI/t2ukZGrO8FrwBpbEvRO4VDyZUQRi3X9vq9i0XeUqanfnHhW190BzHELb3xHoDe4HFJ94FqeQqFKJnAKS4xIeAIWgQ2XtTbWHTN5CDTk0JdOIUAmoiZqfc4pFsii2z8JGMCwt6DGeNsa4ADqPm5+7hWDzs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=classfun.cn; spf=pass smtp.mailfrom=classfun.cn; dkim=pass (1024-bit key) header.d=classfun.cn header.i=@classfun.cn header.b=GfMxPo1X; arc=none smtp.client-ip=129.204.178.38 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=classfun.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=classfun.cn Received: from classfun.cn (unknown [129.204.178.38]) by node2.classfun.cn (Postfix) with ESMTP id C6130100C66; Thu, 25 Apr 2024 03:09:39 +0800 (CST) Received: from [192.168.0.160] (unknown [220.162.71.180]) (Authenticated sender: bigfoot) by classfun.cn (Postfix) with ESMTPSA id AF86178910; Thu, 25 Apr 2024 03:09:35 +0800 (CST) DKIM-Filter: OpenDKIM Filter v2.11.0 classfun.cn AF86178910 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=classfun.cn; s=default; t=1713985778; bh=d/BoO25/KtfZ3Yh1f6DO8rsPKA20e+M+yd8Hwd1i7sM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=GfMxPo1XfOXfDQ7tKPi5Kk481vMw2IlAjpyvrroy769NxFg1EA0DsOn/WYuqw3zN5 W61ibhG4x40Jst5zrp5Jfa+8rW639Rposs1+kkIMSYuylvWFzViZeOfvkMV/FHYpSr ns4KqQAOybwyR/zWU3rmcujhxBr76QFzLGk1VI78= Message-ID: <478366f4-cc4f-4343-99c4-87827159b10b@classfun.cn> Date: Thu, 25 Apr 2024 03:09:21 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 02/10] pwm: Add SI-EN SN3112 PWM support To: Bryan O'Donoghue , wuxilin123@gmail.com, =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Jessica Zhang , Sam Ravnborg , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Bjorn Andersson , Konrad Dybcio , Tengfei Fan , Molly Sophia Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org References: <20240424-ayn-odin2-initial-v1-0-e0aa05c991fd@gmail.com> <20240424-ayn-odin2-initial-v1-2-e0aa05c991fd@gmail.com> <17d36836-67cb-4d5a-a8b4-ecf1517a0020@linaro.org> Content-Language: en-US From: BigfootACA Autocrypt: addr=bigfoot@classfun.cn; keydata= xsFNBF969KUBEADqloiqNQa5GTcbz4a/lSF8mjPrP3dYrdBqOXHhFp0NpipbIOxt/egy0rzB 8lkLf1G5yyDqktu+mnKtZsqaGltr3+YScI2y+trPs/JHwMByRhD6FT9P3Yx8RaDtQYnkh+FB hhwEEMPGdazk/3Y7UzVZ3l13KEzvo7td3PFXaqC6VIBPboEXmp9v8Xvr0xOiExzR9LLxWTyC rYZKKaC98enf5hkMqLWySG1IyNQ2kO3vPpjBTTq+RAPKiRi6WkcVMVnO7aMoGwyLWk0DA31m kj0KXUyauijCwPrU4Sena3rARPvcduDsbvmr62rCpvJXDEv6uhxZxQI4supNXBvhPyiJsAC7 kkdba3Xj6EW5qxMvL5Ls6b9x7ylY2vUdv//zvhPHFXI7yer08A99NP9jW0kmpm5ffmNVbN8V Pn+GUFvxE9btO9i/ski/yAPNJCvrfC7eIEi+MKSIDAuadP/AMKucAehV9YzfOWVBaAaCjT8C 8odK6lroIShJeuTC3laAuCHUNi9XRsTdojsnFWdDNa4pWEy4SXk8mjZkV+NzlQXaj9m1caye TKRK4jAz1xjb3/YkoKRz3iCpLRvosDRS9D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a4wfAfylWosVg/8muOnPhVYyj7TJA8dDnJKNvM rCFa+VVsoiO/s3VgoIdbo/ZMatoG2Pl2DgAoD7RuysSPQiM6Y33kxT8ze6QerZKn52hqJu6N SSjCaassUgQGpHSAL88ZixqNE8S5LnKbt25oY531xrVsDnm9s5GECkvq9uZpuydR3sQRHPs2 cl50AaFdQdTX1ql0LV/G/b/4ZGF/I7Ip+q5HdJv0+grujtViMeALpDrVit/ZhPukrfc= In-Reply-To: <17d36836-67cb-4d5a-a8b4-ecf1517a0020@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 24/4/2024 23:55, Bryan O'Donoghue wrote: > On 24/04/2024 16:29, Xilin Wu via B4 Relay wrote: >> From: Junhao Xie >> >> Add a new driver for the SI-EN SN3112 12-channel 8-bit PWM LED controller. >> >> Signed-off-by: Junhao Xie >> --- >>   drivers/pwm/Kconfig      |  10 ++ >>   drivers/pwm/Makefile     |   1 + >>   drivers/pwm/pwm-sn3112.c | 336 +++++++++++++++++++++++++++++++++++++++++++++++ >>   3 files changed, 347 insertions(+) [...] > > CHECK: Prefer kernel type 'u8' over 'uint8_t' > #145: FILE: drivers/pwm/pwm-sn3112.c:91: > +                  uint8_t val, bool write) > I'll fix the commit and resend v2 later, thanks for your reply!