From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7A31415F3E4 for ; Mon, 15 Apr 2024 19:34:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713209694; cv=none; b=jJ6gEz+3ci7lLz+OSm21i2HaR/ZSm7YoBvfDvvOpfIwFQoVD+bJVIqmWEngRuf4O+kR6+BSsk25eyc1DVsnVfO9rNejQ7bU+8sRNC0pglo+W/hDoGppu7BvAWpyoJwoceRpqVo2ErkzC6U026/BO8qowxN7FK+R0/nCern0Z2Fo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713209694; c=relaxed/simple; bh=RQH/xq79Dx1ojuJ4FQ/1sF/nVGfejgfjDs1gdTGmfb4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nbrs3vmh9tXNeq140ZCGoWAxcZbd5f6/mKJEQtcjscXpYGFt9nO1WgdNo1mdSecZK/WgGC/OZ9b+DbPoIN5tTSH7p//QMBz2aA/r9MIsNusEEXkNRgGaCY7Bm3atZ6SXgtUj4oNVc2X2kyzZvLoPPf4L6K7BEveO22xPKUopK24= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=uBSZdj0i; arc=none smtp.client-ip=209.85.208.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="uBSZdj0i" Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2d895138ce6so42466941fa.0 for ; Mon, 15 Apr 2024 12:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713209689; x=1713814489; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=74eh0UAxjJzTVRALg/TqF+8BFcarO+L4T6AcFES85ZQ=; b=uBSZdj0iJ7YWi/iCIKkcSf8QzNbly0iw8z8f6QAn7pHtVBCsn8vDbV88sFqabbzPe/ 8qt8Y3Nw1mjGvTpdEjHfCcv+LeXIQSE385185nh+WjHhSQcydGMivNUUgahpafnc2um6 p6LW7DAR3yTaW3SzTLMotTn9I3WdJ1y+O17fCNXeDoLOqxg2/k/AB4qfUGY+ud36dsKr LBLTIPRi5N2HafysJt9+GN2Yd7Qud/FYNH4zfzmMDOdH+zDl8+4hbP73SZNr8cIxz8jG DagIeWNoVRSPdJmHcIWbiSzvJPV0VCD7b9fkczOIzNTNTqPQR9k86eCGTO79M+cF+eAD ewsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713209689; x=1713814489; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=74eh0UAxjJzTVRALg/TqF+8BFcarO+L4T6AcFES85ZQ=; b=mcuZBGwU770CFrh4XmSoGj9nAw6ssbfQ7fUytpqXv8OqU1GPyVNNcvNqZ6TDh73kZM OwZKFAOtmewIUaQtgxFO7jwBGFE/5A6AE8rtSDTdh/QYELItpLm14b1OPDXQ7tT+Vzan feGeki1yQT4wM+zl5DVAG6b17oTI832cY/GLafVQg2qRPYagjIlK1eB2B2bpnKG014gX hN+j95dqHm/UbFlEsMF0rja6XQ1xlA9mfWHRs0xI8XrmtiWBoxb0raen68ReeKE8/BAi 0smm6Ka1oERWb6nFhrdsPQqpNkbMR1j2qhqLCIykmgS+nhhViuSe1dI28AOIltGCJ8+I q/iA== X-Forwarded-Encrypted: i=1; AJvYcCXjOrzqSLQvPjFL3d4DbItVxVOh+RPozTMCv889HCw/6vzcJrr2cgfQK/M6ADQsbNLjX9oYguh5F6YK8vb3CHLHxivCuSzlXh2whg== X-Gm-Message-State: AOJu0YznPt2z8jOVAvvtICYRNlMt7/aJgRDuZSmc0wPfI4cWdIpuGACE AeMPjjBXa5pKd8gcAedysntYpi0k4AGXZNNdTg/N5wcZg+eO8jANPpX2hhR88Lg= X-Google-Smtp-Source: AGHT+IFQbBYBAbKPlge2VUflWQ2uNCh+LB7V46pgV2EVpKugyDBFZB4CcvFXwqvdSBuJQ983f8Qc0A== X-Received: by 2002:a2e:9bcc:0:b0:2d7:16f6:f678 with SMTP id w12-20020a2e9bcc000000b002d716f6f678mr5697752ljj.15.1713209689508; Mon, 15 Apr 2024 12:34:49 -0700 (PDT) Received: from [172.30.205.18] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id c3-20020a2ea1c3000000b002d8c9bcedcdsm1344155ljm.95.2024.04.15.12.34.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Apr 2024 12:34:48 -0700 (PDT) Message-ID: Date: Mon, 15 Apr 2024 21:34:43 +0200 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/4] dt-bindings: arm: Document reboot mode magic To: Elliot Berman , Bjorn Andersson , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Andy Yan , Lorenzo Pieralisi , Mark Rutland , Bartosz Golaszewski Cc: Satya Durga Srinivasu Prabhala , Melody Olvera , Shivendra Pratap , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Florian Fainelli , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20240414-arm-psci-system_reset2-vendor-reboots-v2-0-da9a055a648f@quicinc.com> <20240414-arm-psci-system_reset2-vendor-reboots-v2-2-da9a055a648f@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240414-arm-psci-system_reset2-vendor-reboots-v2-2-da9a055a648f@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/14/24 21:30, Elliot Berman wrote: > Add bindings to describe vendor-specific reboot modes. Values here > correspond to valid parameters to vendor-specific reset types in PSCI > SYSTEM_RESET2 call. > > Signed-off-by: Elliot Berman > --- [...] > + > + // Case 5: SYSTEM_RESET2 vendor resets > + psci { > + compatible = "arm,psci-1.0"; > + method = "smc"; > + > + mode-edl = <0>; > + mode-bootloader = <1 2>; These properties seem overly generic, and with PSCI only growing every now and then, I think a reboot-mode (or similar) subnode would be in order here Konrad