Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3163016imw; Mon, 11 Jul 2022 03:16:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tyHP4oqf8UCYQb21czeHD6yFuKScorkIOCUcJzUGFjX4Stq5ii9cdFm0xn3FBmEuK9nO4w X-Received: by 2002:aa7:9631:0:b0:52a:cbf8:fa3e with SMTP id r17-20020aa79631000000b0052acbf8fa3emr5846932pfg.33.1657534582752; Mon, 11 Jul 2022 03:16:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657534582; cv=none; d=google.com; s=arc-20160816; b=pKUvU5ZMp6bOjYXx96/4b0mdXM6de3jk/0jP9TMdvXxO6lxEy6FUcGfbVza2U+hvlc eXwHMOO0sd3EEiFuDkGVDnPeX5KrQh3L58i437WiDqGsPlVDAzM+0iYALuqg9A0Zo1/c b9p3weTx9v42CaXnKbCf7jEmdX4b1q/Ljzf27wg38ZKlC8rKwuNVhLewPwdb0yDJm5Fu mFVoioTHASlEqBEwVbb9b5ujpNJ1Dcb82kN5BPaohOdtwPzUf0ScxUJ2jBnPYrWtXMx7 oJUWxq8x784wvNJNFddzJvhDzYhEyfW3byKaowu3YZR1p7nMQFg3TD1/bC03EfK0lK3J bwQw== 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:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=1TBwlktHj+T/amtAGGTPhLv76j6kxuC8EEqf0b/j8n8=; b=jEwkKv2MC2tntgyFoF8+RxJdTdma5gVaploAj9+3g+ZmyPy+/RQv/5sY2t96Oh6Jja l1DB4o1d+ndr/chABaAWe9Q3ZTmX/5cZ82rreopEMz/SwQFOMLGAddQEbMox87ro/BwC M1zJO9iFP2RGy+g+9Npdi9mzKYF6iD+7+w5IMSwk9b+NmPngS87w1j21j8b9FddtOMa2 ibnLXAtbhLXHc/0pIFnLSMIKnuVRep400nnos4Z2H3dQV6NG/EYbgIWFOVb6xcba2Jgc Nu4sFMnbqWlFPCCZXoBUnSI51mf3RszA3xBI+1CveXnmGixk5SKuBJ9i3TCslvNyYUEK xs0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MfE8LqQN; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f17-20020a17090aa79100b001ec72b4cc65si11783078pjq.109.2022.07.11.03.16.11; Mon, 11 Jul 2022 03:16:22 -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=@kernel.org header.s=k20201202 header.b=MfE8LqQN; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234029AbiGKJ74 (ORCPT + 99 others); Mon, 11 Jul 2022 05:59:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234250AbiGKJ6z (ORCPT ); Mon, 11 Jul 2022 05:58:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7C0EB628F; Mon, 11 Jul 2022 02:27:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5E25D61372; Mon, 11 Jul 2022 09:27:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD4BCC341C0; Mon, 11 Jul 2022 09:27:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657531639; bh=+UJrGtjpka8nSRM77e2YQUJSg61eV0JzLk4848lxeJE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=MfE8LqQNYPDPYj35zNe/S4tOd01xxjfLIyzaJi0TUejoE4EsuDFhtQuhYbig7oEHI uaO9PTIEhDARQXEP264/pjRuz5Xz2r52a3fZ6Hl3USlAbj6hzIbEFaB4Nw/8yhPHNt qaoJCPhKHA3CZUJFqIBSDQFDYzQ2ewy7YNeU3YQRLqputkGAPL9rIeNfi6dSjCfspF ReG106sk7j5xfiu4zC5+jKCgGZ0AoI8XHM9ZQZ2V5DqGBjd+cZNHr0WiAXETrPSuct 0B7pQPZrFa2u+Ix1IWCFdCLbX1uosdXsIudoa3+ogdeFI7WpJETnooOcLRQsB7T6XX uckVuce4+HYeg== Message-ID: Date: Mon, 11 Jul 2022 11:27:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v8 2/2] pwm: Add clock based PWM output driver Content-Language: en-US To: Nikita Travkin , thierry.reding@gmail.com, lee.jones@linaro.org Cc: u.kleine-koenig@pengutronix.de, robh+dt@kernel.org, sboyd@kernel.org, linus.walleij@linaro.org, masneyb@onstation.org, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht References: <20220711062330.4923-1-nikita@trvn.ru> <20220711062330.4923-3-nikita@trvn.ru> From: Krzysztof Kozlowski In-Reply-To: <20220711062330.4923-3-nikita@trvn.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 11/07/2022 08:23, Nikita Travkin wrote: > Some systems have clocks exposed to external devices. If the clock > controller supports duty-cycle configuration, such clocks can be used as > pwm outputs. In fact PWM and CLK subsystems are interfaced with in a > similar way and an "opposite" driver already exists (clk-pwm). Add a > driver that would enable pwm devices to be used via clk subsystem. > > Signed-off-by: Nikita Travkin > -- > Also not correct patch. Best regards, Krzysztof