Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6773891imm; Tue, 24 Jul 2018 02:50:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdX1xQdE8CTw83+eBacUBGb62LWjOC+VjDtf29sEq31RfSjUAV3iRHbnO9csdBniAZpfwIT X-Received: by 2002:a17:902:aa8f:: with SMTP id d15-v6mr16557809plr.64.1532425834069; Tue, 24 Jul 2018 02:50:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532425834; cv=none; d=google.com; s=arc-20160816; b=VpEwjuy4MpAxICCrt9wHA4pK3Nq4Y71HgeWgVygfPlA0CF08gxl04KSzLO6ajUDcmM xuViQjJHHUU1ZHScWr0sriF/ZQCJickDLw5pCOpyPuDlirtOXVNgM+VL0eqy3GWq67F8 c3bS6kv1jJNNSVfzR/uCekwklXUspruxwUWwMTMKO5oMTLjMiAOVsNNGId/CPD81zOQR Nw1uVl10Tz2UbYKyeuYzRHXR5/FDUxRpfRoiLvZ2dreH1Q2eiJ7Nug8XZk3aa1LaopuX Th/q7QSDLBOvtq8Z2sNHbXkegTlwvtstXDms8YJFHQXdqq8cU9n4bzGCzxpP4rloJhVw 2JzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=qftgH/XAFzrKE4XK9AbymZume2r0TrtrSTIWLt5FM0I=; b=ZCxOrttZLMy6xgSKJ+nD0wUzJS3xV0w6/LUn2+kFHcLvc75cR4LAoFKseW5uydbjeS hL3CZW1fT0v0+7oOkXyUbHIaus10sJGdEIV/dCxNJoBuDmRiaLZQgAAIDFE0vNBPYq1m 12SUaHp1BSEm5Mm3aCaWAcsKXBnzyiRzV0wGAS7qTlXnfAKzNCrWQ1HRAq1k47/f13eR L7eeyeRuj80G6WfO1ldc+4ksJVChmGBCmsrDSVOUAMzJd0WauEZXiYOOvxfbi/vlhRyf IVXp+fnlrREsbcMlwjw6Ao23tmycK6wFTGBlAglQhOFLv4lo90+SLI7dh6LoI9Fstu9v 8nyw== 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 f59-v6si10149719plf.500.2018.07.24.02.50.19; Tue, 24 Jul 2018 02:50:34 -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; 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 S1727353AbeGXKzJ (ORCPT + 99 others); Tue, 24 Jul 2018 06:55:09 -0400 Received: from mail.tricorecenter.de ([217.6.246.34]:46092 "EHLO root.phytec.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726479AbeGXKzI (ORCPT ); Tue, 24 Jul 2018 06:55:08 -0400 X-Greylist: delayed 579 seconds by postgrey-1.27 at vger.kernel.org; Tue, 24 Jul 2018 06:55:08 EDT Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id B2EF8A00266; Tue, 24 Jul 2018 11:40:15 +0200 (CEST) Received: from [172.16.26.80] ([172.16.26.80]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2018072411395168-673669 ; Tue, 24 Jul 2018 11:39:51 +0200 Subject: Re: [PATCH v5 1/2] mfd: rk808: Refactor shutdown functions To: Lee Jones , Daniel Schultz , linux-rockchip@lists.infradead.org Cc: zyw@rock-chips.com, zhangqing@rock-chips.com, xsf@rock-chips.com, tony.xie@rock-chips.com, linux-kernel@vger.kernel.org References: <1522335000-23057-1-git-send-email-d.schultz@phytec.de> <20180416093821.sqrcc6mmnc23njul@dell> From: Wadim Egorov Message-ID: Date: Tue, 24 Jul 2018 11:39:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180416093821.sqrcc6mmnc23njul@dell> X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 24.07.2018 11:39:51, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 24.07.2018 11:39:51, Serialize complete at 24.07.2018 11:39:51 X-TNEFEvaluated: 1 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=utf-8 Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Am 16.04.2018 um 11:38 schrieb Lee Jones: > On Thu, 29 Mar 2018, Daniel Schultz wrote: > >> Since all three shutdown functions have almost the same code, all logic >> from the shutdown functions can be refactored to a new function >> "rk808_update_bits", which can update a register by a given address and >> bitmask. >> >> Signed-off-by: Daniel Schultz >> --- >> Changes: >> v2: Re-submit with recipients from Rockchip. >> v3: - Added devicetree property to enable the PMIC reset seperate from >> "rockchip,system-power-controller". >> - Dropped the first patch of this serie. >> v4: Splitted refactoring and the new reset feature. >> v5: Removed null pointer from rk808_update_bits. >> >> drivers/mfd/rk808.c | 46 +++++++++++++--------------------------------- >> 1 file changed, 13 insertions(+), 33 deletions(-) > I'd still like an Ack/Review from the Rockchip guys please. > can someone from Rockchip reply to this?