From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 6836915F32E for ; Mon, 15 Apr 2024 19:34:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713209693; cv=none; b=KL9CDkDCl07brMOPpZkLkIE5CvcMlLnboXtUY7fVRsVPpyIDZIp80GNVXEVIYU9wR4xATO1UH5NMH5bb+hiRFp4kzx7zUKbaGfnMO2zlU7wrnjbdLiTUe+FXdzgSAGBinp3jucmU+H42xjY3sDMzSlw2jYP5ZfqRu1PQL5Ui91Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713209693; 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=jm3pfqEId2uCRqxGXBk6hBcD4/DOS/UCEXS8Vh2KDXs8dbNelFw6Xqfd1DkOOOwd/sppBkebC8BbrZzADFMY8nS4v8ybUeDRhgraZpniDPcpLxZaQK9/vNtgOl+XpEd82j/Yaz4xhtrC2Ux8Mcums8CP8bMwyPRXwIyMSalY6/w= 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.169 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-f169.google.com with SMTP id 38308e7fff4ca-2d895138ce6so42466931fa.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=LfYpfAylgfak7oSlwYOn5boSgV/1wBYVsYWpr/Ls6GZ7SnFHWMJwqyt7pqHAk+Lu7N ucFJbdDSsFqCu/F1n1txbMx7kA2Wtma0YfaGTNuB/nXErrmmm5V6VdtOaFC64Ja3+4Pm ZiXLM9Z7ZsPJ2MtqthqGnrLvzolDID9rhEJZRph7uhy4zoAIy03C6X+lfCZTd8HxIncx wTk74CE+PJ6Ezpti7d9ExqfcMCx84qObLUNF5Mvv1d4QIxc9Vwq6/7jO3ftVk/J2LRjY vCNlBD+NQFabFPenzrHPoS48+4AXEWUu+uqjfmHi4/UuMQ9jpUuW6RmBG6Gq8Cp3CV27 2iGA== X-Forwarded-Encrypted: i=1; AJvYcCWdjzaiolPXeA/84L10bn/prJpSpycDugXYYMHs/BMgEyXWoQ9fXiPMzQq/aSvrXLaJ8Gid050+gAfVHGS8EaVNqoFdUKoaxWu0FvVHmQ== X-Gm-Message-State: AOJu0Yxk9r/JRpHnGTlKvsaZn7xbl3Pd05Xb/c3kQd4TisLIyBAakR1W l/rmc3hGHadh7nVzA2pMWkPK+C3IxpZLi9goIxw5z20evqlnRgScYebaRyaM5s4= 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-arm-msm@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