Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp667586pxb; Fri, 14 Jan 2022 13:35:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrHmpkQ9pD6K3/W43OVUnt6e0iVzgS76Q5drlJSdbxTGmN/8LabXYHpAc+xo6xQUvmgx+3 X-Received: by 2002:a17:90b:38c1:: with SMTP id nn1mr2668519pjb.111.1642196111917; Fri, 14 Jan 2022 13:35:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642196111; cv=none; d=google.com; s=arc-20160816; b=XM3mXMEYSLd7eiCvvcC90s0MA1i2tvQruBbUV8moX8pkYzXmc6K2CCbsj9OXzesKfh G+Pneo3YPkLYwHcMjMT5pDoyDzuI44Ok2JzHnPLEFFdvCZ2szdreIdcRDwWjuDhGkr3M NVUT1JJUK34XsunZOCKfXDCvlcy70thP4POGNMNLGzTKk9MCTVFH3xPadLAWW++VOp7O HA4Qw5klf4uVfxtJdOa+CyuII2JjMf+abV8hfS619R80ZT8PNnJeh4PJNX8CjmaMp9Hp BzIzjSpMLd7RkBNepSAeS04u0yzAQy2QUplb2RDhwht4KCPc2refbvbVUc6rjVc5ZhZG GlQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=mELcxoCS2rGqtuIQqHLN1/ESK0gzux5v3TxcVcf+0NY=; b=cG3AZx03sZFFXeS8hqFF4HiafoFdKNyqhsokcLkwq8FpAIO46pLATXJm0kON4X+93y tFZojmdeumhA+e11eSvevqQFye28lYeHGRdq88CDcPWgzmHNdYahw9qDC5B//Wq7Q+T+ /2ZgoBHGyRFgUJSyNz/5Yo9TaeHkoN1OnDla+OpCLAx4r4C9cVhtaKD9TuoVQTC7WYAr MB4rcJ/PdEIM+xDjuMEfn7bkOivTfacKPdAmr+x6BDBzIfQCeYmwcRSXnTL7KZW/zSOe WBoRe/q5V4CvLAmmnBDBfbY09mTb+Owoi4p5j2xljJ9BRQ0ax9jNixk2k7u5E/em7eWf dlSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q2si7203314pgg.253.2022.01.14.13.34.56; Fri, 14 Jan 2022 13:35:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S242208AbiANPIB (ORCPT + 99 others); Fri, 14 Jan 2022 10:08:01 -0500 Received: from mail-oi1-f181.google.com ([209.85.167.181]:37741 "EHLO mail-oi1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235794AbiANPIB (ORCPT ); Fri, 14 Jan 2022 10:08:01 -0500 Received: by mail-oi1-f181.google.com with SMTP id i9so12546768oih.4; Fri, 14 Jan 2022 07:08:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mELcxoCS2rGqtuIQqHLN1/ESK0gzux5v3TxcVcf+0NY=; b=Sjq5dVh276ILS2BMZmHOzlsSX3/R3wta4Quzx3bt1VyKnKO+D7lzc1F2uHVAdjGuvE Cd2TOg1iCScwbS6kfRNVOV6u8pDWF/57N8nWFxRtIGV0RWuQDnnNSmJmsXn/MQwHkOG8 +7ivyAAU6Pkxgvl6aRBDcyr7hnVxr1KzmJnRPa9mzmL+fatxWRPwjzjVkWAav8kfzNLs ZDqxtxAWunZ5+fjAFOdFYE3n92EcTDeI1HUcLXdfbTwiSBr8Jv9dbT3J1pIR1SvRSavE 9T2bNmoDulyiCHj2OwY/a6Ok2LJc5AQ1slv3ZT+fQNcMBT1FJGZ/gtH5kmFEXNsPb4Jh skFA== X-Gm-Message-State: AOAM533+TNIpXowvAsokD64f1+zqGEbXJhNpiFuuiyEjdxNP0Yin6K7U xgBoHW6FxJXdpKfAbvDE8tXUjVRmZA== X-Received: by 2002:a05:6808:8c3:: with SMTP id k3mr85956oij.98.1642172880317; Fri, 14 Jan 2022 07:08:00 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id c4sm1875869otu.39.2022.01.14.07.07.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jan 2022 07:07:59 -0800 (PST) Received: (nullmailer pid 1894656 invoked by uid 1000); Fri, 14 Jan 2022 15:07:56 -0000 Date: Fri, 14 Jan 2022 09:07:56 -0600 From: Rob Herring To: Sander Vanheule Cc: Sebastian Reichel , Rob Herring , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: power: reset: gpio-restart: Correct default priority Message-ID: References: <20220110214456.67087-1-sander@svanheule.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220110214456.67087-1-sander@svanheule.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 10 Jan 2022 22:44:56 +0100, Sander Vanheule wrote: > Commit bcd56fe1aa97 ("power: reset: gpio-restart: increase priority > slightly") changed the default restart priority 129, but did not update > the documentation. Correct this, so the driver and documentation have > the same default value. > > Signed-off-by: Sander Vanheule > --- > This is a resubmission of RFC: > https://lore.kernel.org/all/cfcd00257daba5aa30b8d20a62ba542be1a6914c.1640887456.git.sander@svanheule.net/ > > The commit message for bcd56fe1aa97 mentions that it is a workaround for > rk3288-veryon boards. However, commit e28ea9dbc52d3 ("ARM: dts: > rockchip: add shared rk3288-veyron files") later adds a gpio-restart > node with a priority value of <200> for those boards, effectively > rendering bcd56fe1aa97 obsolete (for their use case). > > Perhaps bcd56fe1aa97 could just be reverted instead of updating the > documentation. > > An argument against reverting (a 6 year old patch) is that other boards > may have come to depend on the default value of 129. I don't know about > out-of-tree user of gpio-restart, but there are a few in-tree users of > gpio-restart /without/ an explicit priority: > > arch/arm/boot/dts/imx53-ppd.dts (commit 2952d67637716) > DTS submitted after changed default, but DTS copyright predates the > changed default. > > arch/microblaze/boot/dts/system.dts (commit 7cca9b8b7c5bc) > The original DTS commit predates the changed default, but didn't use > gpio-restart. The commit adding gpio-restart appears to indicate no > other restart handlers are present on this platform, although it could > be these were just being shadowed by the custom restart code. > > arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts (commit 0a91330b2af9f) > Recently added board; couldn't find any obvious alternative restart > handlers. > > Best, > Sander > > .../devicetree/bindings/power/reset/gpio-restart.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Applied, thanks!