Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp822942imp; Thu, 21 Feb 2019 11:58:50 -0800 (PST) X-Google-Smtp-Source: AHgI3IaewaTNH3r0FL0u2p/xDBISR/zRj9lZIYXvXe48dQ/WQI1FFJ0BPXYf9ZmOoHw+uIW6CpHo X-Received: by 2002:a63:5b1c:: with SMTP id p28mr222124pgb.73.1550779130697; Thu, 21 Feb 2019 11:58:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550779130; cv=none; d=google.com; s=arc-20160816; b=m+TcBoBrIlTXv5sfs5kooT1B3gzsWTvhirh9blk/yaoN7qpIeXY3lw3U+jwT5txWLI VRUdVhljwUakpfJsJTqh1x7r5auBOEN4XH4cI+XF+rvs+ZzBNH04uL/7TfW67Spq75e3 vDJI7uNyw8sJHSJhUNq3rCbWNMhzT6r7Rc1CxkS+C/HWg34FC63vQ9T3015l1C7HVXsu ksdG6kdYQQqSZGchoDEr/8RBmAr6hgwtS44hIsqPvpnW/80/N/7zUTpj4CojsXn5chiF OxVdHto3JzSTwTIiNQXn5SGDN4YyRuSbd8yIhX0DlbdnwDHfcpwO4nPOXIS0nX3Femap 6kzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=W6el7a4wc+GsQilG0RTja92dq+adUGIwn7PqDcNlArY=; b=iM3+K4kTE3QQDd/OGX8FRihghDlYN0bGlADeKC83eZ8K9wjkBvQzrByBQAvC+bTyrH uayYS4bp11J6+Sghk/rZ6URoeyhfhEMdUcJzPzD84HvDRtTeLwo12h2gv40d3As2zBK5 80MAEKHxl8oYzVX9C9wVG4TCneGEFG/WuHvrYyx2DreRrqv129MbaPRofNKSGhPPQMkv uZXp6EDRi2IP6B5tyEBuFAtAjpg5gvDY0oJDBt8EI+hQMakwvkGAUVqKtJOaKZJOpYIK lE2ELVBNFpin54Jpuwp5s+sQTIPN1suTWxkmho+GJgr1tpP0SzRFxeLv4WZ60u9YZfqO NZGw== ARC-Authentication-Results: i=1; mx.google.com; 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 v69si11585964pfa.37.2019.02.21.11.58.35; Thu, 21 Feb 2019 11:58:50 -0800 (PST) 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; 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 S1726673AbfBUT4r (ORCPT + 99 others); Thu, 21 Feb 2019 14:56:47 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:50451 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726272AbfBUT4r (ORCPT ); Thu, 21 Feb 2019 14:56:47 -0500 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gwuSY-0003BK-KY; Thu, 21 Feb 2019 20:56:42 +0100 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1gwuSX-0002qU-PB; Thu, 21 Feb 2019 20:56:41 +0100 Date: Thu, 21 Feb 2019 20:56:41 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Mathieu Othacehe Cc: thierry.reding@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/3] pwm: hibvt: Add hi3559v100 support Message-ID: <20190221195641.hqvjxixhj7fi4gff@pengutronix.de> References: <20190219095808.12059-1-m.othacehe@gmail.com> <20190219095808.12059-3-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190219095808.12059-3-m.othacehe@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 19, 2019 at 10:58:08AM +0100, Mathieu Othacehe wrote: > Add support for hi3559v100-shub-pwm and hisilicon,hi3559v100-pwm > platforms. They require a special quirk: pwm has to be enabled again > to force duty_cycle refresh. The patch looks fine now. (If you have to do another round: s/again/twice/ in the commit log and s/once more/twice/ in the comment below.) I wonder if this behaviour is a bug or a feature of the hardware. Is this additional enable needed to apply changes to both period and duty_cycle atomically? Is the 2nd enable needed independent of the PWM already running? Can you share the relevant part of the documentation without violating an NDA? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |