Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp523949rwb; Fri, 13 Jan 2023 00:24:53 -0800 (PST) X-Google-Smtp-Source: AMrXdXuXwb2zScnqY6ycu8s3O2c6lLOWkifkWu2LAt3M/S5MGKKBtYMs4zV4E1r9H9TaHPfxdIcT X-Received: by 2002:a17:902:a5cc:b0:192:f999:1e73 with SMTP id t12-20020a170902a5cc00b00192f9991e73mr28506149plq.51.1673598293289; Fri, 13 Jan 2023 00:24:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673598293; cv=none; d=google.com; s=arc-20160816; b=ywchkOmCuABegtiMcCOl1ONM/9MQ82K4m2+rVU/HKBU84rVfYeyWM3bYRHCmCnumZO kHK+XsD+6c6vEBFP6WEHXO5S+Ny2u+mJzXq84JS7WM1kv9BKjH0bXkV0ykvBjEIoolV9 kdv45wzPNC161i79BqcdkvZ3cZvOSle2OAbnoZT5x9O0/YYOREd6LZ5+ruj7I+zQXUNN GHFTMfGJ15FX4wIom59mXSKUPHPUs8e8EEVsz14QVUgqmSyPof1cSH2Dn4mqecNNn4Ot TBwyKIlm5F5xsWk2g+/+JbFJPO7zEgtqaJDtjzhwhCN/rm4ivjEH1jwQaClJpMba0jEN bHJQ== 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=pCrPxbfPwKJDGT5DWz4PlK9fUV2gmICqxv4woGfE/AE=; b=QeYg2EZcCqJChSl+bgcNDc6GqxacIMWvrEpntwFwh4d7GIu729okMsautYmGl/cZyy XcPod13KvXNhWfo6+ATwvriHgnerK76EU+UV7Qfnukrlwulya8glmj1+274tTctgOhfC +d+6gZAGkTp2Xm+Ae+bkdUmb7QjpoNbd8FlBRKVk5sSoJfYkVaeRhDhLfIlhh7l4I2uH xg6qEc6ZhI3Srcx6UseBGHe75DOb2YuaIpMAVE1v/1/PPrcS4rQOBEJnWr2xFVq7AOC+ lFrNjE4h5w1jSBHkgouRYovYxnfEJdgm2F3UuWt3ABe2hZQ3PkLMYn05qENzWCiKNlmi D6yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pFvAD7+H; 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 p8-20020a170902ebc800b00189b7f50e78si19860439plg.134.2023.01.13.00.24.46; Fri, 13 Jan 2023 00:24:53 -0800 (PST) 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=pFvAD7+H; 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 S240463AbjAMIOr (ORCPT + 52 others); Fri, 13 Jan 2023 03:14:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234653AbjAMINz (ORCPT ); Fri, 13 Jan 2023 03:13:55 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2948259F91; Fri, 13 Jan 2023 00:13:11 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id DA78AB820CA; Fri, 13 Jan 2023 08:13:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42048C433EF; Fri, 13 Jan 2023 08:13:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673597588; bh=e82KldTW+22fw/XcEjwHA5r/L+QWcGUnApIZctnI2r8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=pFvAD7+HgskunVyZIJftYy/Kr42SX8kJb0fTZB/CsxX9m2hooZbzHnMhQZyF+P/Gj /6RfuJHBOWfRbgjC2azK7UPHY3pACMMi6L2jHHiDc78WhTrBtL4wcKougRh2GvJu4E hKcr5lHt0qG0AQfCTDUQiU2ZW5jqpU5h5xGsW5cL/sWE6Pwxd++yIdJyVYglkPKiHP 2x5xOb4r9vtqmDNJdorQSwN6OMKy9wH7l9znXClPEqLCDzn8vCxZmPMY2LgKT9Hl44 fV3dq07IsQKZRhQmYF2t+4Ibt3wrMEaW9Cfh4n3MuyXB9ktCcyaUyWHF+2h5mv9PyQ YA279FKhJBPTQ== Message-ID: Date: Fri, 13 Jan 2023 09:13:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [LINUX PATCH 3/3] pwm: pwm-cadence: Add support for TTC PWM Content-Language: en-US To: Mubin Sayyed , robh+dt@kernel.org, treding@nvidia.com, u.kleine-koenig@pengutronix.de, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, git@amd.com, michal.simek@amd.com, siva.durga.prasad.paladugu@amd.com, mubin10@gmail.com References: <20230112071526.3035949-1-mubin.sayyed@amd.com> <20230112071526.3035949-4-mubin.sayyed@amd.com> From: Krzysztof Kozlowski In-Reply-To: <20230112071526.3035949-4-mubin.sayyed@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 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 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 12/01/2023 08:15, Mubin Sayyed wrote: > Cadence TTC timer can be configured as clocksource/clockevent > or PWM device. Specific TTC device would be configured as PWM > device, if pwm-cells property is present in the device tree > node. > (...) > + > +static const struct of_device_id ttc_pwm_of_match[] = { > + { .compatible = "cdns,ttc"}, > + {}, > +}; > +MODULE_DEVICE_TABLE(of, ttc_pwm_of_match); > + > +static struct platform_driver ttc_pwm_driver = { > + .probe = ttc_pwm_probe, > + .remove = ttc_pwm_remove, > + .driver = { > + .name = "ttc-pwm", > + .of_match_table = of_match_ptr(ttc_pwm_of_match), This leads to warnings. Drop it or use maybe_unused. Best regards, Krzysztof