Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp279021rwd; Thu, 8 Jun 2023 00:01:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6RPB4HJA2Ad7/sAxxkoIWlyFNt0jZqYOZz7/AGByrgDOSNHBR43PkFE1LbXcaO8LWlfh9a X-Received: by 2002:a17:903:1c9:b0:1af:b7cd:5961 with SMTP id e9-20020a17090301c900b001afb7cd5961mr5049375plh.1.1686207699702; Thu, 08 Jun 2023 00:01:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686207699; cv=none; d=google.com; s=arc-20160816; b=IF7UXSNqXp3pFoCUub1P43wBQYrtCxeqw/LH8XUCBMNWkRAMrIUJzeL192DwjMIo61 Czy2VT9pweaUL5sXWRVWUsSZul2m9HxyBmbE+ZQ+NxGvIzTeqbKy1tErtZArPMKVqRnF GuF1ObYG6TIA/OQ5yolQTICNzU89tUO7L4HFT21OyzryG9s0k51GoB69XiSTaOK/eeHl 1MDlkyT0QZZWdNmzQvM/vleg+YAa1ZdSFHXy5DTgu0EMzUsXAvR1tI5x1uC1KpN6KKh8 uif2SgufcZbSaHrNg8lj6FB6vnrL/LiO2Oc0UmE2OUt+s8P+og+2iFLL5QEkKxt/IgSv oSxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=lqo0A7BM5THz83RAtHMEkVHjNz7WCnOgKYrgDzsaaU4=; b=F5p0hAjHe072DF5jpD8aJgHMom0b/BafvAgUTscKfrFa9UL2LT6pE2WlQ3tRIlNEoI 4MkfKqThB1sqnBNOZTPIP+S4hDJJ2aJqZC5Cl/I3gnFaEmlaD6TrJUhnQpkMCO/QTCBH G8AhBj+vCTGp4/9hVNk+CIOQafnIgjkjZqoF3qIqhC7Wfc3XFEXdk4ZeulzRQjJbmtat 6WQ8uirpc5EnSEOvjYYUyDE+mmLCuqlKB2FHrBUbmldS8GZCFmuIFZnkoR8GIFnfkmT6 B5bLHvogBoWZc90vZXZuF2BuhHlCnUgdnVhZMK61iuWJ5AL7bZCc9paorNqYk++39ymU 5SWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CUbo1fah; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u16-20020a17090341d000b001ac62935789si615858ple.468.2023.06.08.00.01.27; Thu, 08 Jun 2023 00:01:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CUbo1fah; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234791AbjFHGiI (ORCPT + 99 others); Thu, 8 Jun 2023 02:38:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234514AbjFHGiE (ORCPT ); Thu, 8 Jun 2023 02:38:04 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E13451BE8 for ; Wed, 7 Jun 2023 23:38:02 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-5151934a4e3so320812a12.1 for ; Wed, 07 Jun 2023 23:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686206281; x=1688798281; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lqo0A7BM5THz83RAtHMEkVHjNz7WCnOgKYrgDzsaaU4=; b=CUbo1fahuMwU8hQpPyLHBQTQNthgS0+azjXEB5AuMpivBaAN7sKBcqOMHCbudzENfS E2sZnGqcbYx2nNJ0yBKlteFKjUuDqif5VYX9YDV94/AGcAdw+KtmKakYxEmVd724gm4D cgg6z7n3Hn31+jor2LbZSAW6BjWkrJIirz5GlLUhGi1HX7d8qocpZ6PC2QHc5U8lL5Sm Mixy66cV0bGiUy/Q5e5jVgtKz1exAoXZFKX4pvxrlUOrC+w+rqPSUHlRk3q2Y9UaSL6/ /KuNUsRD5M0DtbjpW3yM9eCYmIcUSlviUeNpmY1YHxxcAc+4XrL/W+Y6dMQhcCAeYlde 5I2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686206281; x=1688798281; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lqo0A7BM5THz83RAtHMEkVHjNz7WCnOgKYrgDzsaaU4=; b=Hm+EOFslvDScVW5sGtPTssz3rQcA3WbHF73gARhH02ou1T64uFHP6/q9HR21+j0F4L MPy0VJvRKwGO+6b5pIXGyGvn+Oh7hWECHHXJWE0SgZ0qvzvUxP8yd38c539L7ivVRc4q 8nNPvF5g2dyBBfq+7VUe+OJPFhaFjirh4Nsi8n3MB/I3B7EN1+pNv8wgNdec6wjtRQSp xkbMUh2oYWTSFkAwIH7/DvnDrNDVs2jRcOANTAOLy3I9XeAMjG9UgiO2zEBLaIXKe1iP pj5nXScV/Iy6bTYPLMbR3Npg77pXs7B0mUlaeyXmVpUHJXhxx46RbuBzD8cOKNR4tw23 LGAg== X-Gm-Message-State: AC+VfDzKDmVRKkC8Q6GhTvDNebTo3LJvFviXSwJfDScJHhsUNpl5DxDi 11lK6+z5BaLapxkIUr3XYW6LIw== X-Received: by 2002:aa7:cc98:0:b0:50d:88f3:2e30 with SMTP id p24-20020aa7cc98000000b0050d88f32e30mr7084851edt.13.1686206281341; Wed, 07 Jun 2023 23:38:01 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id n27-20020a056402515b00b00502689a06b2sm168728edd.91.2023.06.07.23.37.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Jun 2023 23:38:00 -0700 (PDT) Message-ID: <797c61d2-b8f1-e80e-24b9-4c7a7d266080@linaro.org> Date: Thu, 8 Jun 2023 08:37:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [v6 0/4] Support pwm/tach driver for aspeed ast26xx Content-Language: en-US To: Billy Tsai , jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, joel@jms.id.au, andrew@aj.id.au, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, corbet@lwn.net, p.zabel@pengutronix.de, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org, linux-doc@vger.kernel.org, patrick@stwcx.xyz References: <20230608021839.12769-1-billy_tsai@aspeedtech.com> From: Krzysztof Kozlowski In-Reply-To: <20230608021839.12769-1-billy_tsai@aspeedtech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/06/2023 04:18, Billy Tsai wrote: > Unlike the old design that the register setting of the TACH should based > on the configure of the PWM. In ast26xx, the dependency between pwm and > tach controller is eliminated and becomes a separate hardware block. One > is used to provide pwm output and another is used to monitor the frequency > of the input. Therefore, this patch serials implements them by writing the > two driver "pwm-aspeed-ast2600.c" and "tach-aspeed-ast2600.c". The former > is following the pwm subsystem which can apply the existed driver to > controller the fan(pwm-fan.c), beeper(pwm-beeper.c) and so on. The latter > is following the sysfs interface of hwmon to creat the node for fan > monitor. You like to ignore my comments... How did you implement them? Go one by one - answer to v4 emails. Best regards, Krzysztof