Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7356570imm; Tue, 28 Aug 2018 10:32:29 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY9T0GCai7T9bq457AeEfX/97Ss/BOgYTZtSJVR4EqMpeeFZDgLqcOCnLFCXEwgRkEYyn2K X-Received: by 2002:a62:6948:: with SMTP id e69-v6mr2541366pfc.166.1535477549486; Tue, 28 Aug 2018 10:32:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535477549; cv=none; d=google.com; s=arc-20160816; b=In0pU4BPDbeZcpF1GdMKBQhZBtlhncbzaStZ60p1370Y2gdnYQzVR/rnrwTLMEBN6M zcAVuVBQrkXux2Gyo7ECfwejialNj/lhdf5fyUIqaS6mNdYRH2tLFX72Xt5xxB6G3EZD 21NpH6cocshqpOUIWUjYVkMxTcgn+JQ1SmtLhKllnDqb0f/Yv2GrnneeznenDwKhPJVV SNckql1nZFRlZs+wpuJasJGM0A3jaKDDZRW3cv+ZdYI+70+SK2JblzNVhjFkkCl6+Z6J sL7QiPGze0wrYC9OIxt90MHvqmKNqWGWZBRGrKpLRqhWAc67DvLkyZCdCtHSDQ3in1eS bm7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=zhAt41GkKE/dfAvTVeAeOr0Z1O/NNzeP0Sb8YPzRpjQ=; b=lBzXrCKtjh6sE1A/WMivusjPHBj9uw2n5zzn2vYkCzvaEOmkD4VLSrpOmAaZogqQHm +ehwL8EnblLOz/RHtDGiONwcTOve1gjQvkyQOjeGVZ4zYH4AhU/y6lj+dntoeoCkhvRW xW/gFZfYH6Z6r4zDRvloRNFRXEGhubmlR1oA/zCE+HhC6xtjh3R1XsIpJdBalHt1t18i BGIttW/qxGeetm7XkARORm1BxKoogZZNCBnqZ44v71B4Bn/INa0SaTNOK9yISztoHAtR /qLnFzke+u+PuDG9gYxIX8kxZSlsnJ0+pZOlxrOTVq1im1HhW6UU2KDZNgmotZunucvH wK+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=EE5estAc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h14-v6si1372718pgl.289.2018.08.28.10.32.13; Tue, 28 Aug 2018 10:32:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=EE5estAc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727261AbeH1VXp (ORCPT + 99 others); Tue, 28 Aug 2018 17:23:45 -0400 Received: from mail-co1nam03on0094.outbound.protection.outlook.com ([104.47.40.94]:49514 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727040AbeH1VXp (ORCPT ); Tue, 28 Aug 2018 17:23:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wavesemi.onmicrosoft.com; s=selector1-wavecomp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zhAt41GkKE/dfAvTVeAeOr0Z1O/NNzeP0Sb8YPzRpjQ=; b=EE5estAc33j07shULFqvtm/XY4snFnoglYDYGftCjFlHjB9CrL0Y5BfU5FFnYZWanpnCfLI7DdEpfcmH3aFrS5ch/7SydWiz2LezNrHXSStQ9ovZF0s/d5dpUX4GsZ7/409TkfGYxA8o5+NlkoQTm0j9i6XtaBl38+KAwn30ex8= Received: from localhost (4.16.204.77) by BYAPR08MB4933.namprd08.prod.outlook.com (2603:10b6:a03:6a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.15; Tue, 28 Aug 2018 17:30:58 +0000 Date: Tue, 28 Aug 2018 10:30:54 -0700 From: Paul Burton To: Thierry Reding Cc: Paul Cercueil , Thomas Gleixner , Daniel Lezcano , Rob Herring , Mark Rutland , Ralf Baechle , Jonathan Corbet , od@zcrc.me, Mathieu Malaterre , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-mips@linux-mips.org, linux-doc@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH v7 12/24] pwm: jz4740: Use regmap and clocks from TCU driver Message-ID: <20180828173054.jlzczfxwjipdwntt@pburton-laptop> References: <20180821171635.22740-1-paul@crapouillou.net> <20180821171635.22740-13-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180821171635.22740-13-paul@crapouillou.net> User-Agent: NeoMutt/20180716 X-Originating-IP: [4.16.204.77] X-ClientProxiedBy: BN6PR1001CA0032.namprd10.prod.outlook.com (2603:10b6:405:28::45) To BYAPR08MB4933.namprd08.prod.outlook.com (2603:10b6:a03:6a::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3fa05353-eef0-42ec-a5b2-08d60d0c0487 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:BYAPR08MB4933; X-Microsoft-Exchange-Diagnostics: 1;BYAPR08MB4933;3:Tf5CY40xRp/tVsXK8bHyKGBe8S9cihp+8CAObBMPmCLLYmOTOLWOzvPYd3qj5ZclWzKBcQi7lF6xwpFVng3NF7fWsU1BsvsP4ebL+/Jz5eWb2m3BNIs1/ESOhRrC23gW2YkNxllBbifP2WMvlw2oM2H8n3lw+hrkY3j5jv542ZimKEUrI0RIRpsF4P4zhS/76MDLZe7N/GP5LvbbEW8AZz7eENSmxe3gSb+xHx+mBiWtOXujhKWrKK3jGTl2k+aF;25:UG1a1HZRHMv+5p9NOBXXlv1FUYnPp+4h5xFlZjvH38FhBHy1afubUhDlvvE+573nr5N65XVOQFxHG5g/N+Iw0vHjz5smucKNP1A6wofzYpGSg38r1D8Rq3G2mrpHx/eooDbXGplh/a3nXFpiGjNkS9eWfzdgSgWIW6p92zVk5lv8nm4pBLUtqBgI86QxhRKxH57nauSXuijW7NHtP1ykcDykWuQL2cKK9rY1VVdCt+b7kSn7oIbK0MqU6u66w9y83rnWVALDyRPp0E2TXhG91YrOewd44oxV1M6BWVnLicG6dpBegV7siIJnhRFO7qr1ZWuHuj5hF8A6q4qz8TElsA==;31:QfsxoRLjF7tuFMcQNGaYw+crQlAMalwucrudcL0IHUvL+fv8u+G3wmnXLvlzPxSLwMebkBWDBaxt9PfwjbDaY8rUbCU8BqDFz9abS+yfkZK+1ZsQ9mEkXmvuqjS8K73qDCNBsjCcXL4KL/+soGyzaRNx9O8N+0miRyJ7nf3ep/kgDSq+xE7u2RJQk2ApQ7E11YhxjxAd20KRHCVf59FbAB+ik+psN5roqmjULmZ7Oy4= X-MS-TrafficTypeDiagnostic: BYAPR08MB4933: X-Microsoft-Exchange-Diagnostics: 1;BYAPR08MB4933;20:VC5hlrQduLLniHm1c2jAipxdrQ25isMfvBPFvBE4PhSDwX/8mNlQYBUqyeIxOY69Wo5uyqIHlxjhYJz4DEXZJW2N4AaR8Ece+vKdiUbIymL9dp8YN/vY19lyUej4r48cGPLb9fZqoruAC5IgLNPJsMckKSo1G7nC0DeOLsJHRUQk9W5S4k6KjadM4o3Igac7Y9cl7IGFoowkML+4PTvg0iue022UZ2+IEkGCebHA/E2UshZ/1CdagaG8ONO8Jiht;4:fT8PZciN0XaGXC4VZ00h8tNpmXfrmo9yASrKwqhSzyomFRcjXTEpLn8yf53ncofy0wi7zex7OJ662nAov76ei99MVEosvHrE8p5AVpFqzgvCpP+ZAx8j7VltOCmRhTRw86g3/TwyeTNWPgtVLizuT25VNx52cXjhbC5wzBgIi83iXdLUsx5h3PqZrVGse8Grmseb2hgFrc2wfxIDZ4ndwB/uzKJVX4A4C7rQjozqzd97DC4iWcl7PCTnsLehmJowgYFQz6bgYkX4COffLa1ULw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(3002001)(10201501046)(3231311)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(201708071742011)(7699016);SRVR:BYAPR08MB4933;BCL:0;PCL:0;RULEID:;SRVR:BYAPR08MB4933; X-Forefront-PRVS: 077884B8B5 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6069001)(7916004)(366004)(376002)(396003)(346002)(39850400004)(136003)(199004)(189003)(229853002)(23726003)(9686003)(76176011)(6486002)(305945005)(386003)(6496006)(47776003)(66066001)(14444005)(4326008)(7736002)(5660300001)(486006)(1076002)(44832011)(25786009)(956004)(53936002)(50466002)(52116002)(6246003)(97736004)(68736007)(476003)(33896004)(6346003)(33716001)(16526019)(16586007)(58126008)(54906003)(186003)(11346002)(76506005)(6666003)(446003)(7416002)(8676002)(6916009)(3716004)(478600001)(39060400002)(2906002)(3846002)(106356001)(316002)(105586002)(6116002)(81166006)(42882007)(8936002)(26005)(81156014);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR08MB4933;H:localhost;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: wavecomp.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=pburton@wavecomp.com; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BYAPR08MB4933;23:P1+DoDszfukMNIdHiDvTpytffkw9FcgUF10qnFeVK?= =?us-ascii?Q?6Qr/0IXbszrXGTxmeOWk9N+7Yzzu/muFjiDBGKYCdXZatvoOAX8r+78fNJc8?= =?us-ascii?Q?KVGteA/WLOzagXTWQwKE97PGRKmLDcmEcRVfweUCoIvKwVqRF6PfWEqmdl2F?= =?us-ascii?Q?2xyDO57GBSWg26LZUurgQvuiEm41WvAUfcBPoBxPuzI2E48FwGvW8SVEeo1R?= =?us-ascii?Q?tCe1vESF6/6m+keVyBwN5gPqrZJmH39JacGt8HjVwf1+2rlf7yjWJCqfaP54?= =?us-ascii?Q?JZ9HWL2VeefDN+ajy1o+ob6uMw/9ZfmNG/kI8jVDleVB3w1hcMLnYExOc8h2?= =?us-ascii?Q?Z4KRZLwqBJWdY36K2Nt1Blfjrs3/Vqsp7X1tbFlCRodafWyokjCFvInYspbU?= =?us-ascii?Q?4kxQrI0AROwBeTvNmH2wrnssbiY1DOPPyPiNuQXaaw9fOR3PD6lXs6H72LxQ?= =?us-ascii?Q?FOyMya8/ZkZwv78eoKBiMzRwm6z+zdEViJLIiQvBBlOb1RyYcpQl7KPr9QKo?= =?us-ascii?Q?Hd93A2ucj+UsWQpGYBTKF0uBdYCk6BBmy1ed+tm79t5ZaCKIUy+p0DdtlCfx?= =?us-ascii?Q?N1ONVHHYre6ZtGWHyRH66fTMLTDBrf/imCdkjBUAg3qu6E0bbzzFXaMCulX/?= =?us-ascii?Q?LV7ZiCXgiDHXSyTXOubGJNwH4n2Q7wzhZSJAPbUNtfTjfJOJtfjR7NV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/s9bsh+2o1kv8+PMbBJq9uV+qAj8+2W+LaHn65NerYcNHEsbMt7HyI0HU1z25fAKoIYdhpbdbOwENnfWg/Zyn2O4HFNSECqXLpK SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2018 17:30:58.3146 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3fa05353-eef0-42ec-a5b2-08d60d0c0487 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 463607d3-1db3-40a0-8a29-970c56230104 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR08MB4933 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thierry, On Tue, Aug 21, 2018 at 07:16:23PM +0200, Paul Cercueil wrote: > The ingenic-timer "TCU" driver provides us with a regmap, that we can > use to safely access the TCU registers. > > It also provides us with clocks, that can be (un)gated, reparented or > reclocked from devicetree, instead of having these settings hardcoded in > this driver. > > While this driver is devicetree-compatible, it is never (as of now) > probed from devicetree, so this change does not introduce a ABI problem > with current devicetree files. > > Signed-off-by: Paul Cercueil > --- > > Notes: > v5: New patch > > v6: Drop requirement of probing from devicetree > > v7: No change > > drivers/pwm/Kconfig | 2 + > drivers/pwm/pwm-jz4740.c | 124 +++++++++++++++++++++++++++++++---------------- > 2 files changed, 83 insertions(+), 43 deletions(-) How do patches 12-16 of this series look to you from a drivers/pwm perspective? If you're happy with them it'd be great to get an ack so I can take this through the MIPS tree along with the rest of the series. Thanks, Paul