From patchwork Fri Dec 20 11:27:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 13916620 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 738821C5F22 for ; Fri, 20 Dec 2024 11:28:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734694082; cv=none; b=V7jDF9nxOz8oD0vYPBDFpryPuYWdEDqBXKLksNBgGFK568sTugYHif1h8amD7/Nu4wp7PDP6KvwTqULPSDWlaTmPuN8WCoBHW1oWhXtq/rDv9n9ceomNMLpOVY3v+gTlb34gcwGxnViOVhOe0E41OGO0zICvlN5fM2mHCr9uSdQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734694082; c=relaxed/simple; bh=KJKMOw+QPIKUR9v2b/oJ6qnbx8zhjz5U3TlJ8C3bMxE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Z1xaerfk5HmauH1hpcT4Dc1HvLrtAIM81yrDMZcPhVET5HvjwsblPhUUXP9RLu7HfVTZ0aRKxETOv4IwRBtySPuf+N1XxPZnDj+zvPBcR2xGpvPnnfYw8ll/it9/SbZsu7/KhYf0TetRFdu62PcedJMREWy/ANbryv02xZC2i4E= 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=PhAanb/1; arc=none smtp.client-ip=209.85.208.42 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="PhAanb/1" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5d437235769so3036973a12.2 for ; Fri, 20 Dec 2024 03:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734694079; x=1735298879; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=1zESwL5z/yFz+1EwFu23hzBHEEa+Luon6DhT4CZGajQ=; b=PhAanb/1I6yV0BlEqj/KO83+oW45+M5g/ZCiHL1RWxPesHFMA/yvh9Se40kxdiPPY4 UCLOetv7qarUQMuqB2isGKHMHSXoL+QZ3G3Oy4vMhb3HIbTMIeC6++JwycmZ8eZaFOKy /do9jEv3OpTtexSrCNKztGpBo4ANoTOBR+kSSh7PvGlV8Prxlo+AO6k8WM8e9/5h1yY3 uRb4Nb2x2NiFeTwL0cSwY+I8o5la/ABA92LIZVMJalCmYkHArxxEci1PzEdrdOB2Y99q 5b+qQMF+P1qgwhZVwLdO4Cn2nES709jipt5bPgaw2eNHtTq3aKrJVZED1XwwzopxIdS8 aS1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734694079; x=1735298879; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1zESwL5z/yFz+1EwFu23hzBHEEa+Luon6DhT4CZGajQ=; b=TBeKc6FL2m+/U+zbu5afMAjN2dGT3v+Z5kb5I839py5ngDtbxKOtSRC50GgyIVLLxU mTd4sQ+BH9wL2lR6WrZWwmAMnBOa0rIcuB+QIrDoXUunXdM55GxtjPiIhKRTrBAEn3jX +9i4wVvzGZW7tZvzcJUeuNih9XuLX2rNtQKO+O+EnxDXS55AmZNFJvXsGrZvPe+svkPm elFFQCIUEaNY+/4KT4ypdWwplghIX4/xihq28YDvNu1KSPRdl/VlDgz4FUN0wRzgVm/s biqoHXtVLOa2MJ4fNhca4gwPqdr0lh4VC/n/TQB0Z28Q+X2w/isEc5ZhlfsqXG+zRM1C +XJw== X-Forwarded-Encrypted: i=1; AJvYcCVLy85fvL+iLoBV1qEU6yDek/BlM0RMKsDmzGDRyx6Y4/2ii540VT0OIfMZhWwljECxveqN6a7YTUYV2L6umGinwQ==@vger.kernel.org X-Gm-Message-State: AOJu0Yz3YMDqiRiS7Z4uZzs4ifxc29z1t6GjZ/MMgxzSuUO6JQbK2Ang by2rbqrDaYBv17kFuOipkT1H7eQpbNnKvvH9s9+qKIDwVQfYRz9dC9PhhDdv9kM= X-Gm-Gg: ASbGncvx0ltq2ho2bN54xwvXRObWt1qr1ZWQyy8zgJbn/vGR/HBoF7d/QD1uoRXjVXf vzSNMFa9KpvnoToB20HYULRsrx0yJES6dP9UMi09Ckkq28A2lWeOivGKohXtRs+zFc6XI7mwNFZ U5qGnzZOr+v5/tPMDHoC53GCblTYlPIboNP6TfYabwToiNlmYDy7CvEys5a9SJXaEgfi4k0/2wE bfsGWfPUZGlaZdUm9E8UMZvxV5fB9gV0jQ/8IU3yF9rM/W0Lm9/D2+e7Bykh3rZMZ5qW5krZl/g eZLgfWpehRcgikY/ceFXdnbQl00XzDWCQG6yWIbF X-Google-Smtp-Source: AGHT+IHwdFHGdeIg/yzoQyFEM4Ix23wZS04hAPOurAhS8SM0BMEKA/I7VUHkQxsK73sPZbaMVySSVA== X-Received: by 2002:a05:6402:210b:b0:5d3:d19e:6d57 with SMTP id 4fb4d7f45d1cf-5d81de0669fmr1906775a12.34.1734694078782; Fri, 20 Dec 2024 03:27:58 -0800 (PST) Received: from puffmais.c.googlers.com (64.227.90.34.bc.googleusercontent.com. [34.90.227.64]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d80701abd1sm1632634a12.76.2024.12.20.03.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2024 03:27:58 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Fri, 20 Dec 2024 11:27:24 +0000 Subject: [PATCH v2 1/3] dt-bindings: arm: google: add gs101-raven and generic gs101-pixel Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241220-gs101-simplefb-v2-1-c10a8f9e490b@linaro.org> References: <20241220-gs101-simplefb-v2-0-c10a8f9e490b@linaro.org> In-Reply-To: <20241220-gs101-simplefb-v2-0-c10a8f9e490b@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Peter Griffin , Tudor Ambarus , Alim Akhtar Cc: Will McVicker , kernel-team@android.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.13.0 Raven is Google's code name for Pixel 6 Pro. Since there are differences compared to Pixel 6 (Oriole), we need to add a separate compatible for it. We also want to support a generic DT, which can work on any type of gs101-based Pixel device, e.g. Pixel 6, or Pixel 6 Pro, or Pixel 6a (as a future addition). Such a DT will have certain nodes disabled / not added. To facilitate such a generic gs101-based Pixel device, also add a more generic gs101-pixel compatible. We can not just use the existing google,gs101 for that, as it refers to the SoC, not a board. Signed-off-by: André Draszik --- Documentation/devicetree/bindings/arm/google.yaml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/google.yaml b/Documentation/devicetree/bindings/arm/google.yaml index e20b5c9b16bc..a8faf2256242 100644 --- a/Documentation/devicetree/bindings/arm/google.yaml +++ b/Documentation/devicetree/bindings/arm/google.yaml @@ -34,11 +34,21 @@ properties: const: '/' compatible: oneOf: - - description: Google Pixel 6 / Oriole + - description: Google GS101 Pixel devices, as generic Pixel, or Pixel 6 + (Oriole), or 6 Pro (Raven) + minItems: 2 + maxItems: 3 items: - - enum: - - google,gs101-oriole - - const: google,gs101 + enum: + - google,gs101-oriole + - google,gs101-raven + - google,gs101-pixel + - google,gs101 + allOf: + - contains: + const: google,gs101-pixel + - contains: + const: google,gs101 # Bootloader requires empty ect node to be present ect: