From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 79B9815F3E1 for ; Mon, 15 Apr 2024 19:34:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713209694; cv=none; b=IWKxMHDFZKxTDUrPX8eKX0zvI1pwxlnbPjAKieSaQwdMxPb1PLC0P0d9RpPVyKKXlN7i6N+YB9spfcrm2CWfwQVIv/6WvDhGpOh4+O8sloyU7bWSXwAVM0SDbGJUDP5rQ+DSrwtl71k8wA1WPzv9dPqzt0kdwM2pGoNJCKHZgq4= 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.182 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-f182.google.com with SMTP id 38308e7fff4ca-2d895138ce6so42466921fa.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=l9Kavese/1zsWRdL64lZlfMpcH6jwOQlXswWCiiICIaOZs5ycXcNFsKUgohJN71d6F SL5WYX//5mGIgcQR+7n8CcLfkQMR3GJm5VgcJzKsfXEUr8g0pLm0gE1WhjgBTsALxl3j dUWRJvcLiu/0xjrX6oadvNCH4LSODeOf6fFnJwy5Rzmj7PWvtQEecVF7zyHbYuCE1VRX k4Og3VSopEpi6WeS09zW57uA9MR0sRjW3ySYLTsgG0T8zu/6u/SNiShqhI4zzPAxxSWC ZN/ijp6kR3w9wVSFIRjWKtW2H3uGy7MJ+u2kQPxN1L7r41pobFCKkLDUI1Z8LblfJcn+ jndw== X-Forwarded-Encrypted: i=1; AJvYcCVAE9/YhSLVVTn99IsJCuFHEb80ny621L+S8J0PprAzzK8LsdXGHmcODlMXLkgkX5gfTITKNz3Sajww12+gSYn8DdyixUv9jfo= X-Gm-Message-State: AOJu0Ywk/248swKSPMqohVtRdt2/v0vUQO970LJMsNUI9k3tglznTJ3z qvf56VuLZxdkeMOFomCt4U2sXp15OUnbuK7eFaV0EiK+yOj6KUBHxIVJEQXLzRA= 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: linux-pm@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