Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4752555ybv; Wed, 26 Feb 2020 02:32:21 -0800 (PST) X-Google-Smtp-Source: APXvYqyqGSqpxJo4+CUOjPeaBiFwAKC3kVCI62zE5fSlVCowS0UsVievNRO5K94w/KQByHFBCQSS X-Received: by 2002:a05:6808:643:: with SMTP id z3mr2454894oih.19.1582713140994; Wed, 26 Feb 2020 02:32:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582713140; cv=none; d=google.com; s=arc-20160816; b=yBwqv6sjtUFMbuZvT5VOl5XPNRzwmtKjvx3BKRM3pCJfE3AnlDJtVPsfH1Qx0NmLO3 S1yOZQYYsiKcRU7Oms5IjkarSgdJNNplD8brtBp2lkRtSevMfQTuWxDI/owHsCS0hHKB SNCPS4nfyf1X1vmIXsMEUBhaWzDY9xAV2LlW5zy2KYrcFVjJyL8oGzDsbTS1n50xvugF zUscTUUc4se55LGiBfLu9Bl4XGd779/FzLKd0VKIo70HMr1fx2OT6+xaM4JDn1nPRc5F aN+m58muE+TP/cIklx09VrFTKy7HEZXIHkC/BQDvCetRGDx9uWCIL+178yUhd6SdnMTV 4mjg== 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:dkim-signature; bh=VlmNmMOEnccWBMpLFUQyGq7ZQSGdCXjPZIAycYxskHQ=; b=loJAHjgBdO31OSClgso1azMeFQkV2vqmJWy5N6g4QhTyX8KD1Hsd/rIaWRpscfJxlr I5gzEzZI/Hfx7V7SYFb8e1nHLelriYLMOHWq3gtXnp1nDPwYZJl3Xsgc6WfqqGtVR2f2 8LxK60UxujHB2pFhSygGb1iFw4uDe3Vfgr8hAMTWdzbbERLroqtyGoq8aUNPQsEnBLCn 9WunFNBHUkviFenhAOUDuqwF0WwBeIC2psNAAQn4I5LEF3aittdIu2L2d4jv/do0lvPy +cqH1VidnwqBIY5Icn/C9UP6RMsYCSEXrQa27RB2uR+seC2ysKzSplkCydlHoaXS8QHk Dy4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WbvPndXK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v21si862895oie.178.2020.02.26.02.32.07; Wed, 26 Feb 2020 02:32:20 -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; dkim=pass header.i=@linaro.org header.s=google header.b=WbvPndXK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727855AbgBZKby (ORCPT + 99 others); Wed, 26 Feb 2020 05:31:54 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:36283 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726989AbgBZKby (ORCPT ); Wed, 26 Feb 2020 05:31:54 -0500 Received: by mail-wr1-f65.google.com with SMTP id z3so2318390wru.3 for ; Wed, 26 Feb 2020 02:31:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=VlmNmMOEnccWBMpLFUQyGq7ZQSGdCXjPZIAycYxskHQ=; b=WbvPndXK5aoVKO58SR6GoFIQp9plmxroG1R8Olizhb1uoUDD0jL2uCxqMvdtfEQBAQ sGYvAYGDOq+XDwLV2eOUt/3eXiXSReUtPWyCmgLVAlCE3dStEfMr5K4IoEsLBBdNijpu cvp1EWyAPt4AB6sdMzPTgltYYedkoEkfaXI9mRQWrpLPfAwG00yozaaJY4s6u0Hr2hS4 aFz9YOIXZAJ4V3KGnZYFJkTzFSLA3TRpmrq/0qLzCrk1ZdMuen8KbbMJQVCbAs1HgX3N 30T9zMztnlPURdDYHjwPcPLiTnkrPkTDA/T0wxCIMSzXHOJBx0gCeFDCt+GKO4L4sBbr wA3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=VlmNmMOEnccWBMpLFUQyGq7ZQSGdCXjPZIAycYxskHQ=; b=hM+LAmtHqebEt2O6ow/cAgPqPlUrzsuCZLGvdd2k9xZySlyfQzBeVWHEqJLzytpCtO 1/Sc5/5cDInLcvZdLeutjW4CNfwElUDotABRZAM6meHd9kdLRYFtHNevYssBnzmgiCxg d6QraON43soTdQEAMcuIHZYWnNxQAogitUAWqvyl3bA6utydKqR0w5nOWKcsqQH5eBzH sWd1rheq2ouNxzcUmbw33b3rkZzFlKFO2VboeARzlTN1QKnVeGf7kNb1SIzD9jpzcKGK anU0iaYuR+OoeKeb2aGVSjF2cdEWH8Rixr/kparZV45IHRjLqASC6WKfv95n6e5KcZq/ tokw== X-Gm-Message-State: APjAAAXY8F0Wrh+xAhzQqbQLskocuken5h7PkInx4ZARm3OPVtgpHfdf r+obATiveDBbJtk39YM2og6EMw== X-Received: by 2002:a5d:6445:: with SMTP id d5mr4733774wrw.244.1582713111035; Wed, 26 Feb 2020 02:31:51 -0800 (PST) Received: from dell ([2.31.163.122]) by smtp.gmail.com with ESMTPSA id o4sm2502608wrx.25.2020.02.26.02.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 02:31:50 -0800 (PST) Date: Wed, 26 Feb 2020 10:32:22 +0000 From: Lee Jones To: Robin Murphy Cc: linux-kernel@vger.kernel.org, heiko@sntech.de, linux-rockchip@lists.infradead.org, smoch@web.de Subject: Re: [PATCH v2 1/5] mfd: rk808: Always use poweroff when requested Message-ID: <20200226103222.GE3494@dell> References: <233bf172a5310658d703b11be6e637d6c4d46338.1578789410.git.robin.murphy@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <233bf172a5310658d703b11be6e637d6c4d46338.1578789410.git.robin.murphy@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 12 Jan 2020, Robin Murphy wrote: > From: Soeren Moch > > With the device tree property "rockchip,system-power-controller" we > explicitly request to use this PMIC to power off the system. So always > register our poweroff function, even if some other handler (probably > PSCI poweroff) was registered before. > > This does tend to reveal a warning on shutdown due to the Rockchip I2C > driver not implementing an atomic transfer method, however since the > write to DEV_OFF takes effect immediately the I2C completion interrupt > is moot anyway, and as the very last thing written to the console it is > only visible to users going out of their way to capture serial output. > > Signed-off-by: Soeren Moch > Reviewed-by: Heiko Stuebner > [ rm: note potential warning in commit message ] > Signed-off-by: Robin Murphy > --- > drivers/mfd/rk808.c | 11 ++--------- > 1 file changed, 2 insertions(+), 9 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog