From patchwork Wed Sep 25 07:18:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 830752 Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) (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 D65F0158DCA; Wed, 25 Sep 2024 07:20:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248838; cv=none; b=ALEpEMSU5s5Xv+hkEmTx85z45dV9U81+RTr0c9h7hiKkqWHJm0A7ZKq0kDnelGXyErbSxJjhzVi8Rwnl5cwFaW94atZajKtFq2y6fn5Na5wmKHyaguOOHtTiPGn4plwuh7SXSSDY/g+9Fh/AtkkD6XJnS+bCscOUVfnbh6PjBZg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248838; c=relaxed/simple; bh=lQtFITJOuPvxbaWstT1RN3wF1VX1/vCX/p5vjoOyqxo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jdZWwZjo8Uw6OaghXbs9pPga2xbhBAZNrlC/i5akbQxVdloqGOxa4pqUOK4M4Voz2Rn7xw8hc2dDT/g6Ac3eYXTsXqzQuM6gIogvYwxgfa7l09EtgKSUgOtI2W8o0Vks3y44cpcwyrbuPVhWgmYuDNC/wao0CjaPid6WQJuZpuQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YwX7pw1o; arc=none smtp.client-ip=209.85.215.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YwX7pw1o" Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-7db233cef22so5088593a12.0; Wed, 25 Sep 2024 00:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248836; x=1727853636; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=o9X76GEZCSbbQMLh1zTwBYREf8Y/orIPTUNjYgvpcww=; b=YwX7pw1oc3HmXqz0C1LzPSZQWCJCpPvJExCe9OSTUa4kzLneA4EqKkkWk8+UItF7n0 QhBB2Ee1n3nzSL8s+a5DaELQ2nnRYJ4mH75qzXI6lAoSgu+eKe+5HHb/hh5ATM23AbjL FcTsmLxZl4f8b6UXZzT/TYoKr0eOs+KCHeHYBhfBS5Z/botJorJnK6VxcporNht5aldH t2Sec2Fd+6vWTAeiEx28shAWgd8pN95mHct7UUWDenehpU+FltjvVaaaMWXI7Dj9qtj5 HZVwc39psF0ZzZdD5ykhs6t4qk0i3SHJ1cthGRWmAotYiDm9qD++hnUmSu43K1uryyH1 ypnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248836; x=1727853636; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=o9X76GEZCSbbQMLh1zTwBYREf8Y/orIPTUNjYgvpcww=; b=sqhIQnHoB/YCru1J9RTrzOa+3Fg2NC+yIVxuH/vmLV2H18fKv4QZOOO57R/uqQKC1O 85XJX+xNWpkmnAu//BflfTp19Hy2d3Ul793fQawTPMxSIuiTvw8F9WIWU2jHoihaLI1w vSLxcl/VQ4WVLrBksDAxDWdCOBr9TQCkGwzSYW5jTZCOvLJAxAVI9Mj5Y/CJcER1G2t6 k2PQTvcWXh4PiyDulgBALZ8PjlkFJ6OCH7035OO4pK5j4e8zPt4s6phlNS+Pi3UKbUOM tYSlLuoqO5sAaezx3yXeUJbJOaWBmqamveo/NeZs5XCQeVoJmQhqM/UV7rKnHMnuU4wa 0VEQ== X-Forwarded-Encrypted: i=1; AJvYcCV02VIASqQ8ZYYT95PGENP2AR8J1qLGaj4rfCXAHNqYFU6MGX+tbCdHnA7XUrmfI132oqyP9XaXEVi8@vger.kernel.org, AJvYcCW6USaOP9CZDXo1uKGYHgPJ4KXCG248gtr4wE7pk72qtHHW1aAyfXi2KI1Wi9RmNd4t4TNrk1/bljznEij0@vger.kernel.org, AJvYcCX5LPa+EQ5rnOdeerPKKN/+AYCk8oAqU/5utltW+afFOPFbnbt3OgFLeuJzeruy/4EUxrXLzGrSTkivLjmXTkk=@vger.kernel.org, AJvYcCXObw9CTT3f75FvGcFb5o8oMRYY8wURgQaJgQxKke8AL31TxXzjh1Y2d3nrKMmUQtCOP3UomUFDu3astg==@vger.kernel.org X-Gm-Message-State: AOJu0YziN71o57jOo2fRhqLrEL25y5akDSNr1tUiEk2NxJhpj5Io0JlG wW2p51lifPHK9thGUTB7hmjMG4ikldsAqGbXULVD/tBYXNUT4jw1 X-Google-Smtp-Source: AGHT+IH4ZTOu3iwcMbsOiy8lnH932jmvb7oQHZvCphTqnx77rhJ9L/p07Unj+TBA82B6gWJ7zTsNRQ== X-Received: by 2002:a05:6a20:d049:b0:1d2:e889:1513 with SMTP id adf61e73a8af0-1d4d4aaee41mr2386218637.17.1727248836160; Wed, 25 Sep 2024 00:20:36 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.20.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:20:35 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 02/20] dt-bindings: watchdog: apple,wdt: Add A7-A11 compatibles Date: Wed, 25 Sep 2024 15:18:00 +0800 Message-ID: <20240925071939.6107-3-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The blocks on A7-A11 SoCs are compatible with the existing driver so add their per-SoC compatibles. Acked-by: Guenter Roeck Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- Documentation/devicetree/bindings/watchdog/apple,wdt.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml b/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml index 21872e15916c..310832fa8c28 100644 --- a/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml @@ -16,6 +16,11 @@ properties: compatible: items: - enum: + - apple,s5l8960x-wdt + - apple,t7000-wdt + - apple,s8000-wdt + - apple,t8010-wdt + - apple,t8015-wdt - apple,t8103-wdt - apple,t8112-wdt - apple,t6000-wdt From patchwork Wed Sep 25 07:18:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 830751 Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) (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 33745157E88; Wed, 25 Sep 2024 07:20:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248850; cv=none; b=Mej8hCwBwmndsuO1Y5QhUhVd37D3V0OaP6KUeMBK+JFI9ig09XxNEIqgwSRtc4IYm6uyoEHPdL0zNLpzGdatSzpj3ZRtvwcwx47ilZIMbuAZ4lwt3nnBL6IVIiyZFroQQYwSP1CxhpTH1t/tbRauVivn+qjV1sOc+a/DlVqIvtg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248850; c=relaxed/simple; bh=RQmYiPdslbIR5WscGyWKOAVQAC1T8nRhDcoGKPyyZtE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=W6LnIzdS7FwEVFLbTjoQTyb/S4O+FJo55GF2e0Sx8mypd8Eya8prf29deaULEM2bsGA51Mekj1PaAODoOHJmsWpTpsCx3jD7lEbH1aMZoWle2NKmlW7eYbn3nCz01R3W+fHW/xo/1STtju7F7axvaWCkCeJavDue5siKIxUSybE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=S3h3royl; arc=none smtp.client-ip=209.85.166.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="S3h3royl" Received: by mail-il1-f172.google.com with SMTP id e9e14a558f8ab-3a043496fdeso20612455ab.3; Wed, 25 Sep 2024 00:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248848; x=1727853648; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1gzlAb6tAbaYqxXPRjbN4tCFBYWmIDA5QUr0hx9IZZE=; b=S3h3royl58nvcUvh99fthvXqOrpUxhn0mt0bXhG5lO/Zga27+oTL8Bje5H+sRN6R6Z 03MxeDqmlXAahPw2wPl3gfCklHU8iZtM/zhscB8l5ZaEElzM0b36R45P90v1Nu3fR5i5 yb2xINrJGQ8c3T5YJGor3TOeqkO7StztcOKDbY2pCqAq7ycuyy+CSXsmJUPZaAb24zKn kjTgR2RAMd/C9xMJqlNFg3763RBX4wKxTLfUKhtlcL01R1h6vKfuGLzRbUVD/QEQqjeU 95Ru5+NhH0Cpd6eJdg170FlthHt6ZHu2QY/gVLESb6qEN031Gxnad2A/7haxZ91Y7nGo AVoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248848; x=1727853648; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1gzlAb6tAbaYqxXPRjbN4tCFBYWmIDA5QUr0hx9IZZE=; b=IQxdCMi7M5HxJ7tDSS1829t5BrVIJGI/nTKZyMEnBrYZd4QCNywvNTbVjcmktf62is IcuqBj7TWg3RPObU9E68SJjt2NG7q+9bUcDQRWynwputb6pK4dXXSjeXYRBotyRyd2AQ gvvw70/2aCN6KM3nWqRgtgSTWBcQOIqrbIkaR/itb6r5Kc/sfKMP/+Ea9PDphMpK1Kin h+/AFhiulYThKLMVvFtGUO22eMCJdHEUviFoqL7TSHKqPd2pwstzOBwMs4pYk+RAdGJB fIiHkTanPGAxJMavZbUVcxYC88Q5mpjn1SqZXLXo8/gOOsGpqDPo8ysVt9ImuZupGNtx jU6w== X-Forwarded-Encrypted: i=1; AJvYcCUdFxR4CzXsGNGAbBa1NqlZg4UL0Hcj5XXFomGV2tphi8GsF5b6mtUHkxvlBWQObectBBnyMPwCGiWzF9u7@vger.kernel.org, AJvYcCUyOQokYtUQvGBmjZInCAXsKomEclAs9tu781aCnRoQV6HzwahvP31Fuzg/M0mkGmTIhahWv+FZieubcQ==@vger.kernel.org, AJvYcCVvm/qEGCLPgcCmAg3LQOOnSTPI7m2RBPDhqRLjl8FGG7Y+5HkIes/pp3DMjeH+ORXaMjUpX0x3AMWr@vger.kernel.org, AJvYcCXcKvRb9GWBIEpS1KSjot2nMs5YZA1mP0KXK295blLvVnck15kYSZCd8bCrxeoAT73EagJ1exzq4toGD7vs9Cg=@vger.kernel.org X-Gm-Message-State: AOJu0Yy206OGUccNk7ZsUXsr8pQVIfYHSbqf/he63/H2X46mn8y4eZbm 8Y7rRAL7ZgLRZpCUYKhG9l5XE/+eUP3nK65hHnMzz8ofn0UfeWVQ X-Google-Smtp-Source: AGHT+IHHRXHmkDoV6cYjtUdS6It/5KruAyPCBuIpMtTf3yOkX3h4v/vIxT0bKREhjmU8Nf1G+8aXwA== X-Received: by 2002:a05:6e02:1d97:b0:3a0:9244:1916 with SMTP id e9e14a558f8ab-3a26d78af3fmr17300025ab.11.1727248848032; Wed, 25 Sep 2024 00:20:48 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.20.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:20:47 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH v5 04/20] dt-bindings: arm: apple: Add A7 devices Date: Wed, 25 Sep 2024 15:18:02 +0800 Message-ID: <20240925071939.6107-5-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This adds the following apple,s5l8960x platforms: - iPhone 5s - iPad Air (1) - iPad Mini 2 - iPad Mini 3 Acked-by: Krzysztof Kozlowski Acked-by: Conor Dooley Signed-off-by: Nick Chan --- .../devicetree/bindings/arm/apple.yaml | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index 883fd67e3752..89c1e35e404b 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -12,7 +12,14 @@ maintainers: description: | ARM platforms using SoCs designed by Apple Inc., branded "Apple Silicon". - This currently includes devices based on the "M1" SoC: + This currently includes devices based on the "A7" SoC: + + - iPhone 5s + - iPad Air (1) + - iPad mini 2 + - iPad mini 3 + + Devices based on the "M1" SoC: - Mac mini (M1, 2020) - MacBook Pro (13-inch, M1, 2020) @@ -65,6 +72,23 @@ properties: const: "/" compatible: oneOf: + - description: Apple A7 SoC based platforms + items: + - enum: + - apple,j71 # iPad Air (Wi-Fi) + - apple,j72 # iPad Air (Cellular) + - apple,j73 # iPad Air (Cellular, China) + - apple,j85 # iPad mini 2 (Wi-Fi) + - apple,j85m # iPad mini 3 (Wi-Fi) + - apple,j86 # iPad mini 2 (Cellular) + - apple,j86m # iPad mini 3 (Cellular) + - apple,j87 # iPad mini 2 (Cellular, China) + - apple,j87m # iPad mini 3 (Cellular, China) + - apple,n51 # iPhone 5s (GSM) + - apple,n53 # iPhone 5s (LTE) + - const: apple,s5l8960x + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum: From patchwork Wed Sep 25 07:18:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 830750 Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) (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 DFDA5157E88; Wed, 25 Sep 2024 07:20:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248861; cv=none; b=dGiGMbMSGpFQ9bzFxUyzeFUiMlPYBYgKdyEyMROPCNsVHfzICeP0FPfGK7/BTRS2zXyFonbDnjwuZM3hac1kmy5ubjXGeWX1FIMm6THFgatgCVF3XHfhkcKL6itWaPBsMMZjTSyS46kEDwPmrPRnkaimYT8WfyImLfcix3WNEvM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248861; c=relaxed/simple; bh=8QBzJyx0+ZVrX3wAJY2KWC9c5+OMby1GZPstnqAo27g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=aroE9zoCa60YwZ2YUAOwKA06aat/cLWl+c3JvNgtekIy8BSWqasFEDc4Ywt87SYYCYhbTUXqcafdvyVOHcYPk4E6XyhD3lmG38g1WGpIFntp5/QoqDtH3yGBfK7cNjpegdJGbBZmMw/J7mt2wRbiOHpq7at3Z5dzqJHbYxrYkVM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=lfrjiRJq; arc=none smtp.client-ip=209.85.166.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lfrjiRJq" Received: by mail-io1-f41.google.com with SMTP id ca18e2360f4ac-831e62bfa98so313478739f.1; Wed, 25 Sep 2024 00:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248859; x=1727853659; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=p/wc2/LABeu7MWNhfG7leQqnAhaWbUPZEJ8Ap5bTOf4=; b=lfrjiRJqWSL/ff+QTySEbx8/tajg+WrT1aEl5PY0LtmgfBaFFYaIxUHdAHel8rLFuu 6k5tkuuyu0OVvtjNFsXhf3grolVwm/BkCWVMt3vhNFfSqub7Mw7iRporwT23JIlWXXkp Ar7xscZzSNThMW6P0VBK6OmPS/dEuinV8ptz1opMgUSrVbAKHUqFngdKtK3FZo6g5oJq OuxqOaDZGojLLvPUSKvmFGU0uQnVQdMPIiWgHbdKrhP8GcTFY4OvDotENW1Q1uxoBP49 DFgb0wSCFTuVIdf+kG2RkIVHFiYAAETR2rc5Fj5FXKq3p7jJhHHpAc5qluSzpwb+4ney PQOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248859; x=1727853659; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=p/wc2/LABeu7MWNhfG7leQqnAhaWbUPZEJ8Ap5bTOf4=; b=sizd+aJNDHgWuCqhHkUvfa+sFs6jwGykNsHldqRC8mOmrq0Z5zDP2GDszML4ZUa6/k /XidMotmp2GhkkaWZzyU9+PgeSLelXYAUQ0QCm/VqJMKn4MpmpSypX8eoIuQPebRHy5p C+Zrkbil9T/URZAfebcSoTl62phXnyzUOHpRvWcdBYzVbaAN5u59PJikya674HxZUr5a 0a7JqtBaNyhb6F3smOHDehb09rYaAo0gHL4wBeQDT3TtjsnxCT8ftc+ckOr5AqJEnzRL WvFXCM9SKWrq0OanQGX6Y/ZsGRFjjZaRXxPlAsi/N+HIvMxjwpFZRjiecl7hKvaEkbmT Ct/g== X-Forwarded-Encrypted: i=1; AJvYcCUJ86Rsuhm7g7f6vsx4x1pr60MH9PfZBoZzLCCc9rtbmwJGlMzkTri4O+4OwSnCtnr6Td9NEoHmEtaAGaWn@vger.kernel.org, AJvYcCUv9ylY10gXEMrW84wNOGbM/2NCMMP3JrM9EZQWYZU+MhZwE7NVoP8BUTnRdRhbMt4knNPlHf0RHCHvgOU03Uk=@vger.kernel.org, AJvYcCX5X753OtxoEInDENPLT0bCpOxaq21xetFiYPPV8oXqdILy7bXXOirRuWJq4dQ+9QvXIumq8rGduuPkbg==@vger.kernel.org, AJvYcCXjXcIvqdSuZLm6kZJ6OQQfxHWCAqlvvaP+nWyuExrmryFF3L41ea8h3LOJ8ZG0uTt/FFzrbOZezShM@vger.kernel.org X-Gm-Message-State: AOJu0YySKj3sg8awQWmQDrviJbXEhof3yafoOUzd3GhyBr9+Gr/64Kom QmPyUbe/1rsu79kdyDLK2x+k2dp81uJMHC7w4VZmV/9ImIAwuyq6 X-Google-Smtp-Source: AGHT+IE2XjRQV1+SJQyElqLaBdKDjUd5x0NHdSE6OMFzMv1UOcblr+RyfG+A/ww2rG9SzrbrSiuMDg== X-Received: by 2002:a05:6602:2dd2:b0:81f:8f5d:6e19 with SMTP id ca18e2360f4ac-83247ced469mr167161339f.2.1727248858783; Wed, 25 Sep 2024 00:20:58 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.20.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:20:58 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 06/20] dt-bindings: arm: apple: Add A8X devices Date: Wed, 25 Sep 2024 15:18:04 +0800 Message-ID: <20240925071939.6107-7-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add the only platform based on apple,t7001, the iPad Air 2. Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- Documentation/devicetree/bindings/arm/apple.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index c05a4414c8b6..fecc4953df33 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -27,6 +27,10 @@ description: | - iPod touch 6 - Apple TV HD + Device based on the "A8X" SoC: + + - iPad Air 2 + Devices based on the "M1" SoC: - Mac mini (M1, 2020) @@ -109,6 +113,14 @@ properties: - const: apple,t7000 - const: apple,arm-platform + - description: Apple A8X SoC based platforms + items: + - enum: + - apple,j81 # iPad Air 2 (Wi-Fi) + - apple,j82 # iPad Air 2 (Cellular) + - const: apple,t7001 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum: From patchwork Wed Sep 25 07:18:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 830749 Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.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 7FF2B186E3B; Wed, 25 Sep 2024 07:21:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248873; cv=none; b=QJFNrOScbRpVZzMGXC107WGaTg9g+ntTsl1vj/aDbtNLZgOCHPXVAF7CD0yzN11ayuZNFniRyCHftzjiyQPOz9pz9flzsGHJHHdQKqsCmAKr+EENqXXrZizQqghsDeZXgFrcJV3Kn2EdZ2kyQvNM6d9DpjeLpVCWZJD3ciea+3M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248873; c=relaxed/simple; bh=mwHK5GHiG38texeDGYpGeDrNMRO0Wo/5vFLRgwSQrj4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=E6Gl/JGbf2x/eYiZWUoYkYicxNIlrOzB6J1hit6seax0908IYcvwuzvN3jxOyyyp5RqKeZFiOnqpr5yfapJS/yY424K4bWNG0MbCx8URez7xMvaEkx8GGzkVYZGc7kcWUKJM6S0sjacVzpii8TZyFBtcGCCgRRoKBmcF4zU6XVQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=f2nn1TEB; arc=none smtp.client-ip=209.85.215.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="f2nn1TEB" Received: by mail-pg1-f181.google.com with SMTP id 41be03b00d2f7-7d4f85766f0so5233226a12.2; Wed, 25 Sep 2024 00:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248871; x=1727853671; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qL1bUZmlpaNEXcSDtzcduMqg904aKTZZJEvyhQxFwVY=; b=f2nn1TEB8bPhI7xDUjobRqVzgrspd5ADdrkdYWkqYTWzcQ38QQhDRWIEEKg6zkruQN WBidCDQvHZO9izF0TEw0uWROpR/9hGGJLpSZeZa9+b2zcH83Er7hWZtpkuKgVSMTTjk7 tFBSp2U3ZwIQND9hpdpTd1YgZVWsuH9QKRQzNxHFnc7k7Oivw2k5Zb5f+6LzRTqGP+oU MPCytbM0JI7m3Hd9Etx3ZYjDAu8zLFJNqnrddIi2R5BgCy+VoYrK1Deu7VYLoxMv+5VB 5dqb9+f1XNWH0f9BV1TEL8MIinCNZrMl5ZziCbB5XO+1WLzbLgkeAfjWUVnLu8bL3Fwk ubkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248871; x=1727853671; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qL1bUZmlpaNEXcSDtzcduMqg904aKTZZJEvyhQxFwVY=; b=r4wWANzNQZ3cWG7uiVFhyoIfmPksEGHqwG9nEutF6YyE6bYC7dUApPoS/MFp0u/Z4v E4it1kg8XcS+03Kih9DPGw+qso0RW+QqX3E9srlN/6tV2z3sWfpKTDMew5PoHTr2C8SJ Q2d6BeXiCYNiKpArOnUuwxix0cE/XShivl8r9uCEAu4LXurD4KSLZ+AYUBDE+s6gy50M 63Vvzb/UqPMBI043U3tugVAhlZAnt+bx5PigLkUD8w1CbjdXzDv9Jf6NfeP/yo9BWk80 qFnVGbGjrd04uRWmhS9owdWJOEzv3qUVlm2zTJKzOQme91qoYF2b2USvjAl85f5R4pJf xM2A== X-Forwarded-Encrypted: i=1; AJvYcCVbhMoxMIKHa7dkSR4p+gw250UpSDHYfftM48TYUWxB6hxD87oaaOO8TYPp3/sJLjgLhXceCNWU+ApI@vger.kernel.org, AJvYcCW7VRgxOvEXkZnuyWCqZApqZRZ/lLbveZ1L/VgRHltvpFM16LOfY//Rdp+KFchlhb5ImFKUl+nhnl8Q7Pei@vger.kernel.org, AJvYcCWxecHGQHFlN7Cp8t82vCQamSQqzyL3Ek2WYsxPjfpLypOyb7TNIkG9nejci2ZQ1KFYGfjmTbgPKb1g4w==@vger.kernel.org, AJvYcCX8k2rDs+Tr7Wg9Vz8WYbOs7mJsW5cOOs3xYtEtqGNlXwiM5DOaLjDdmLQiDYf8wbXKE1eDd9iHMv3o5slMKUU=@vger.kernel.org X-Gm-Message-State: AOJu0YzPSlZ4e/3ufyUufLUF5MwdMeVrhaxilY5hs9qZ/brZRhGVJ7X0 pDlwU9fGu5jbI6vxwRRJRi6tgCOA0OXqu9H0YB0Y1+7iU0Scuq2d X-Google-Smtp-Source: AGHT+IEGAuegRViCnSuJvwVYQger24wdPcK/JpLkMgsXxyB6wQFokWL4zigD/vmbvh1D7uOFV5xX1g== X-Received: by 2002:a05:6a21:a4c4:b0:1cf:6625:f08 with SMTP id adf61e73a8af0-1d4e0bb0850mr2818860637.45.1727248871511; Wed, 25 Sep 2024 00:21:11 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:11 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 08/20] dt-bindings: arm: apple: Add A9X devices Date: Wed, 25 Sep 2024 15:18:06 +0800 Message-ID: <20240925071939.6107-9-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Adds the following apple,s8001 based platforms: - iPad Pro (9.7 Inch) - iPad Pro (12.9 Inch) (1st generation) Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- Documentation/devicetree/bindings/arm/apple.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index 01965890b4ef..253dae759f10 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -38,6 +38,11 @@ description: | - iPhone SE (2016) - iPad 5 + Devices based on the "A9X" SoC: + + - iPad Pro (9.7-inch) + - iPad Pro (12.9-inch) + Devices based on the "M1" SoC: - Mac mini (M1, 2020) @@ -150,6 +155,16 @@ properties: - const: apple,s8003 - const: apple,arm-platform + - description: Apple A9X SoC based platforms + items: + - enum: + - apple,j127 # iPad Pro (9.7-inch) (Wi-Fi) + - apple,j128 # iPad Pro (9.7-inch) (Cellular) + - apple,j98a # iPad Pro (12.9-inch) (Wi-Fi) + - apple,j99a # iPad Pro (12.9-inch) (Cellular) + - const: apple,s8001 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum: From patchwork Wed Sep 25 07:18:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 830748 Received: from mail-il1-f173.google.com (mail-il1-f173.google.com [209.85.166.173]) (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 37548189B81; Wed, 25 Sep 2024 07:21:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248884; cv=none; b=cB0QGNO12FcT3Vs2IAX+k3hQ2IBWMgmiDpcqf8JJMts8/I9bksdfogXwM+HWFEtyq0t3RAhndIGNkNhctJK3SmD5QMFQGTOWOItOsyfxFvTy5TIWGL20Pe9VB4r9TZTFbk/wz75PpUfB3JRa0+gaO1QMTpXac783HQYzMHFNgEM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248884; c=relaxed/simple; bh=6UE5luBJ4zEL1AXe5UiNe+h44DRAjdXD3nJ4OxS/kog=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hvAGLSKJedQI+7O+I7iGRMi3HcetNDvG7YcARQA/Jp2avcggm+ScsYo7rb41lTzhdaZeVXL31Ku5I45UmrSaW7DNaJ/lmw31Yb7/8bzIfyMj18g0dYfQc9QwM+8hzJXazN5QbQeBfJnCDRnnM/fQofMSD6o6rOksueRjRHbMvjY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VogsXESN; arc=none smtp.client-ip=209.85.166.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VogsXESN" Received: by mail-il1-f173.google.com with SMTP id e9e14a558f8ab-3a1a412638fso7577215ab.1; Wed, 25 Sep 2024 00:21:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248882; x=1727853682; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ORCGcbSwKgWFHAVRm/UYQifm4nQpWQfHLfuPNDrl1Eo=; b=VogsXESN1+DiQfdn6FO3zvF4XU7U3WMWKQ5H0wAM8vGog9MhPS8UuNachap4VkSzjG DXzMeUk5a3rpjD9EtGlnPTGwynmoienuct1TrVONyrVYb+xo9PL6TFIX/MNMNxagUr0w Xx09Q48t0Um52i++Wvac1EJdHG2cMng0XMb2NqKuy9hP/rBCVwGJQlYTTbxQNZy+Mgb1 TzwocVnyhrdUxIE4GHXjkN2eJPFmBxj1UqCWESC3ZJw3rmPaeUY6b3a4DN1vIpFPI1LO EoTdqSHu+cLTzYQckdUiTfa1cMmwEWvuWsshFiur6Lp7HXvOBn+odaCaRA1y8DHZrGD1 7O9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248882; x=1727853682; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ORCGcbSwKgWFHAVRm/UYQifm4nQpWQfHLfuPNDrl1Eo=; b=oj+ZW5tTgdV0vE1JdZh2yewQl8IaCIACQ7+nKKO5dh6OsehycSMH6ffB2YSDn6qbmU 743e27TYGEoy2QR9brD+/Nxv4ewbqpP4mIY9F+Xyyro/Vx06vnF7kvnyyavbNwAsM7Dm cJUbngh7T5/1LkP1GZ3ns4fGoJZoy7YIktbzL8zXsv7mQvtISxIcbZzBG/+/sbxYCM0a gnMENARXx3uv0vzrSfHhe1f2mTxCD6bymAcW3jOpgIPh6tNb6GLB2HTBkhC0i4WKfiaZ JUFXSpEz9YzdnmkH4M3uNoJPWj3kj6s68drWM7s4GWHjE+04iaVmGAq8lUCLkcoE+Gzj oT2w== X-Forwarded-Encrypted: i=1; AJvYcCUUPYl7Xy5yiNkgvUt1FDAVV7HYLbkMvQynOPu8r7YS5MUTXABcDN0fqDtATvcy2+72ARrBIY/7qnH+K/CKuBQ=@vger.kernel.org, AJvYcCV4V6919Q9b9JRzH1vPploqYW5n5D1HFZnQY5k+ibI+0RGwmjYrGLXRcxmle9nd5Qj3bmMyEC+IUEFB7naX@vger.kernel.org, AJvYcCVupk9NCY5d+02j4NhF7+QERCmf4fSv6sWd5xZauqNQU43rX1Hjmxa6UyIiEFLzRpt/72fakcN3ffZ9@vger.kernel.org, AJvYcCW1TGsD80/IHbBtIM5CVrunzr06mX4knVfTv/A1aGpUHpqdWhUtAbDSN7ZefHnuWTg0X6Q+Eyym+TpVrQ==@vger.kernel.org X-Gm-Message-State: AOJu0YxBm2ixZppAcsjAhAlXKfIqOHmn7cxgdiG6/VoHjueYqgRnWH9C qLK2WNgXNFX6/JsROeqh+in60gsMwqnlUwaBtuWR9mfiMVO4arCy X-Google-Smtp-Source: AGHT+IGz+nBPKU/0ZQZRn4iIi1Zpl8XNNeYysGdEscn0nqTGqEHb35M1Eb0BgRB+lLd63nxO2NUglw== X-Received: by 2002:a92:cd88:0:b0:3a0:8eb3:5154 with SMTP id e9e14a558f8ab-3a26d6ef162mr20639305ab.4.1727248882421; Wed, 25 Sep 2024 00:21:22 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:22 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 10/20] dt-bindings: arm: apple: Add A10X devices Date: Wed, 25 Sep 2024 15:18:08 +0800 Message-ID: <20240925071939.6107-11-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add the following apple,t8011 based platforms: - Apple TV 4K - iPad Pro (2nd Generation) (10.5 Inch) - iPad Pro (2nd Generation) (12.9 Inch) Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- .../devicetree/bindings/arm/apple.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index b6a2916fb0f6..96efadad15a6 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -51,6 +51,12 @@ description: | - iPad 6 - iPad 7 + Devices based on the "A10X" SoC: + + - Apple TV 4K (1st generation) + - iPad Pro (2nd Generation) (10.5 Inch) + - iPad Pro (2nd Generation) (12.9 Inch) + Devices based on the "M1" SoC: - Mac mini (M1, 2020) @@ -188,6 +194,17 @@ properties: - const: apple,t8010 - const: apple,arm-platform + - description: Apple A10X SoC based platforms + items: + - enum: + - apple,j105a # Apple TV 4K (1st Generation) + - apple,j120 # iPad Pro 2 (12.9-inch) (Wi-Fi) + - apple,j121 # iPad Pro 2 (12.9-inch) (Cellular) + - apple,j207 # iPad Pro 2 (10.5-inch) (Wi-Fi) + - apple,j208 # iPad Pro 2 (10.5-inch) (Cellular) + - const: apple,t8011 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum: From patchwork Wed Sep 25 07:18:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 830747 Received: from mail-io1-f46.google.com (mail-io1-f46.google.com [209.85.166.46]) (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 9872518B484; Wed, 25 Sep 2024 07:21:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248897; cv=none; b=PxMzQfnbT9LPQinKeapQy3gdAXjnmxBKO98rxqpcgWxDxkxpSfNY/fic6RsplbTazDiLsVgtqkNwh5GYROdgEsD+/gAgIKTuyoo+CNqdJNss3OzIVmYuKkMKFcmXwppnBeu6i2BH2bs86of/z/sCmgyhh+cq99vXmhSPOEcqqeE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248897; c=relaxed/simple; bh=9L7DZ3n/tx0E9bX1FD1/U51YSroeYzVjyzPRzGVX3Y4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=E2z1Wh87kYlAuXWIUtnKKn3D3OGMhJUbOFydqPOWEtMhZrLN+e8qB6T6YBDlHmGHmMgDOJIYmXTiDg9SLLe8mo/QybzprZFVK5C4RIP+tjq4smk0bMjX+T8q/jidxXUgDwennl1kZBbwRYlA7QxqB2y5gyYnq1oem4XuPB0q28I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kBzecM7O; arc=none smtp.client-ip=209.85.166.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kBzecM7O" Received: by mail-io1-f46.google.com with SMTP id ca18e2360f4ac-82a626d73efso243604539f.1; Wed, 25 Sep 2024 00:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248894; x=1727853694; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2vb8WRK31wfJD7H7PQqPYo5IiaKA/qQU8UnxUl7tv/s=; b=kBzecM7OWH1DzLm5BxK0XzNgpbM7Je/8y5alsdvNDTIKptIhNLh6j7FglD+67KvNXQ rDxJqXL2PVIdBRWa1pFSZeHpNoZdfKkpR4J5hxdJa7mmsSGyJaHITjKdVxjz2rljMUbo gu+KszYbCz2/jqXbUv7/6RApQWjknyMyDM4ItNmd4+j1/SQy0LDNqMb7BXa+QWXv4pTO NTKxYkKYX7ecEmLL8mofWx0Vp2A0dRZePgAUGRB9yJI5o0YWkjzhk6VzumkLBWvfuwXj 5oEnVSXRa2t+WASW/gIfZxgn2iSSs3HtQr64wM56QnHKqJ2yihaihghB39KrLNwM27Tj Ap8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248894; x=1727853694; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2vb8WRK31wfJD7H7PQqPYo5IiaKA/qQU8UnxUl7tv/s=; b=FVmLPlsxZaoJicWEGhmcMBDUIs6sQ/LPswQyXN4Wam0QYVS978X4o46Ab27qAJuxk7 rkqiACpWBXfmo9UV+SiSRHlXxu8UD+uFjuyyL2dGJzysu/47woLLWScDhSZQFrN/v+lS JtM6/PTIiGhfgAkqJJCfio5eyFhQEHfTRxvLrag71PQj+AXKt1uTEiReiz8eg9aC5qeM 8OmRNI2O923TwQmFvDyNf6N0PcUhxhUc3XdrqNy5ONh5vJy8I7YiLeKRlblrQ8g3jqLG 2FqNUln0S0FyFL7/nehwrXdCUaQyiPPvQ46ixDvB+nNExo/n7AnFBkMZseoKO6nM8dqF pMeg== X-Forwarded-Encrypted: i=1; AJvYcCUpt9o2QlmB+3mirZAPnOJ+Krfhkgofht+/UNJHY2X7JKMh7IXqvE4rWRckanedVN5vgqPgsvkbNmiwobHfJ5w=@vger.kernel.org, AJvYcCVxCg7Q8x3z8aFw3spTw/Qgu99bC0tfuVO5F/pM3PXrO1FzvsNjJuOfBV4CXg0cnT73PI5pIbsGNdJ9B2xH@vger.kernel.org, AJvYcCWDnEzdfAtFNSyE9DxuK3AkyBsu/E1SKLSVIB6zxz6VhVWBvgiO0XuKcYSVH/oUFooGbJgkpWhVR7Ji@vger.kernel.org, AJvYcCWjeP6U0b1Nprvd9e8utzmyUv0ChQoXJs/DB97nujktPuZLjgVPG8EzAlLT2Y3PZnz6ATKRxdOprcFf3A==@vger.kernel.org X-Gm-Message-State: AOJu0YxzwW7cHiPrM2QqbLkoBAIEP/8hrUgBGSrvCumrTp8MhanBEyrM 4jQGnbV74zjPax9Kgyyv1l2g4jGTUtEjHCi2ql1FZlMDK34LtadIj+vXvA== X-Google-Smtp-Source: AGHT+IE6jvpFCpnnvKiMMgH+HkBS9UpipLVsGn4cGjpTlwVa9imHM3yuWX23/VgKoLZA97Ta33PkMg== X-Received: by 2002:a05:6602:4989:b0:832:13ce:1fad with SMTP id ca18e2360f4ac-83247d2611amr211310239f.8.1727248894387; Wed, 25 Sep 2024 00:21:34 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:34 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Konrad Dybcio , Nick Chan Subject: [PATCH v5 12/20] arm64: dts: apple: Add A7 devices Date: Wed, 25 Sep 2024 15:18:10 +0800 Message-ID: <20240925071939.6107-13-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Konrad Dybcio Add DTS files for the A7 SoC and the following devices based on it: - iPhone 5s - iPad Air (1) - iPad mini 2 - iPad mini 3 Signed-off-by: Konrad Dybcio [Nick: SMP and m1n1 support, gpio-keys additions] Co-developed-by: Nick Chan Signed-off-by: Nick Chan --- arch/arm64/boot/dts/apple/Makefile | 11 ++ arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi | 54 +++++++ arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi | 54 +++++++ arch/arm64/boot/dts/apple/s5l8960x-j71.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j72.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j73.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j85.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j85m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j86.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j86m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j87.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j87m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi | 54 +++++++ arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-n51.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-n53.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x.dtsi | 146 ++++++++++++++++++ 17 files changed, 487 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j71.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j72.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j73.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j85.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j85m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j86.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j86m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j87.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j87m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-n51.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-n53.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x.dtsi diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index aec5e29cdfb7..e1ee803f72a7 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -1,4 +1,15 @@ # SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j71.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j73.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j85m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j86m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j87m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-n53.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j72.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j85.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j86.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j87.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-n51.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb diff --git a/arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi b/arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi new file mode 100644 index 000000000000..4da68f610747 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi @@ -0,0 +1,54 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 5s common device tree + * Based on A7 (APL0698), up to 1.3GHz + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "s5l8960x.dtsi" +#include + +/ { + chassis-type = "handset"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl 2 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl 3 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl 5 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl 4 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + switch-mute { + label = "Mute Switch"; + gpios = <&pinctrl 16 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi b/arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi new file mode 100644 index 000000000000..9afc1b0600b8 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi @@ -0,0 +1,54 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air common device tree + * Based on A7 (APL5698), up to 1.4GHz + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "s5l8960x.dtsi" +#include + +/ { + chassis-type = "tablet"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl 2 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl 3 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl 4 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl 5 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + switch-mute { + label = "Mute Switch"; + gpios = <&pinctrl 110 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j71.dts b/arch/arm64/boot/dts/apple/s5l8960x-j71.dts new file mode 100644 index 000000000000..e13036dacb45 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j71.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air (Wi-Fi), J71, iPad4,1 (A1474) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-air1.dtsi" + +/ { + compatible = "apple,j71", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad Air (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j72.dts b/arch/arm64/boot/dts/apple/s5l8960x-j72.dts new file mode 100644 index 000000000000..afb71b8885c6 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j72.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air (Cellular), J72, iPad4,2 (A1475) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-air1.dtsi" + +/ { + compatible = "apple,j72", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad Air (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j73.dts b/arch/arm64/boot/dts/apple/s5l8960x-j73.dts new file mode 100644 index 000000000000..c871962df529 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j73.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air (Cellular, China), J73, iPad4,2 (A1476) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-air1.dtsi" + +/ { + compatible = "apple,j73", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad Air (Cellular, China)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j85.dts b/arch/arm64/boot/dts/apple/s5l8960x-j85.dts new file mode 100644 index 000000000000..aefb7b36d7aa --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j85.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 2 (Wi-Fi), J85, iPad4,4 (A1489) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-mini2.dtsi" + +/ { + compatible = "apple,j85", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 2 (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j85m.dts b/arch/arm64/boot/dts/apple/s5l8960x-j85m.dts new file mode 100644 index 000000000000..ec2bcaa6d1d5 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j85m.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 3 (Wi-Fi), J85m, iPad4,7 (A1599) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-mini3.dtsi" + +/ { + compatible = "apple,j85m", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 3 (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j86.dts b/arch/arm64/boot/dts/apple/s5l8960x-j86.dts new file mode 100644 index 000000000000..470f2f825e70 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j86.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 2 (Cellular), J86, iPad4,5 (A1490) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-mini2.dtsi" + +/ { + compatible = "apple,j86", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 2 (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j86m.dts b/arch/arm64/boot/dts/apple/s5l8960x-j86m.dts new file mode 100644 index 000000000000..90311d98aaad --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j86m.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 3 (Cellular), J86m, iPad4,8 (A1600) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-mini3.dtsi" + +/ { + compatible = "apple,j86m", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 3 (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j87.dts b/arch/arm64/boot/dts/apple/s5l8960x-j87.dts new file mode 100644 index 000000000000..3580fd8e3831 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j87.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 2 (Cellular, China), J87, iPad4,6 (A1491) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-mini2.dtsi" + +/ { + compatible = "apple,j87", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 2 (Cellular, China)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j87m.dts b/arch/arm64/boot/dts/apple/s5l8960x-j87m.dts new file mode 100644 index 000000000000..fa0da4fa6727 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j87m.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 3 (Cellular, China), J87m, iPad4,9 (A1601) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-mini3.dtsi" + +/ { + compatible = "apple,j87m", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 3 (Cellular, China)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi b/arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi new file mode 100644 index 000000000000..778f470b5fd9 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi @@ -0,0 +1,54 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 2 common device tree + * Based on A7 (APL0698), up to 1.3GHz + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "s5l8960x.dtsi" +#include + +/ { + chassis-type = "tablet"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl 2 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl 3 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl 5 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl 4 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + switch-mute { + label = "Mute Switch"; + gpios = <&pinctrl 6 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi b/arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi new file mode 100644 index 000000000000..4e397b3d7d7a --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 3 common device tree + * Based on A7 (APL0698), up to 1.3GHz + * + * Copyright (c) 2022, Konrad Dybcio + */ + +/* + * The Mini 3 seems to be only an iteration over the Mini 2 with some + * small changes, like the introduction of Touch ID, hence there is little + * to no differentiation between these 2 for now. + */ +#include "s5l8960x-mini2.dtsi" diff --git a/arch/arm64/boot/dts/apple/s5l8960x-n51.dts b/arch/arm64/boot/dts/apple/s5l8960x-n51.dts new file mode 100644 index 000000000000..cd52f814fbf2 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-n51.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 5s (GSM), N51, iPhone6,1 (A1453/A1533) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-5s.dtsi" + +/ { + compatible = "apple,n51", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPhone 5s (GSM)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-n53.dts b/arch/arm64/boot/dts/apple/s5l8960x-n53.dts new file mode 100644 index 000000000000..4795798a4444 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-n53.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 5s (LTE), N53, iPhone6,2 (A1457/A1518/A1528/A1530) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-5s.dtsi" + +/ { + compatible = "apple,n53", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPhone 5s (LTE)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x.dtsi b/arch/arm64/boot/dts/apple/s5l8960x.dtsi new file mode 100644 index 000000000000..b36c06a6d96c --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x.dtsi @@ -0,0 +1,146 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple S5L8960X "A7" SoC + * + * Copyright (c) 2022, Konrad Dybcio + * Based on Asahi Linux's M1 (t8103.dtsi) and Corellium's A10 efforts. + */ + +#include +#include +#include +#include + +/ { + interrupt-parent = <&aic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &serial0; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "serial0"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; + + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "clkref"; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "apple,cyclone"; + reg = <0x0 0x0>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu1: cpu@1 { + compatible = "apple,cyclone"; + reg = <0x0 0x1>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + }; + + memory@800000000 { + device_type = "memory"; + reg = <0x8 0 0 0>; /* To be filled by loader */ + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * The bootloader reserves a region for the (varying-address, depending + * on what FW your device runs AND model) framebuffer under this node. + */ + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + nonposted-mmio; + ranges; + + serial0: serial@20a0a0000 { + compatible = "apple,s5l-uart"; + reg = <0x2 0x0a0a0000 0x0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + /* Use the bootloader-enabled clocks for now. */ + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; + + wdt: watchdog@20e027000 { + compatible = "apple,s5l8960x-wdt", "apple,wdt"; + reg = <0x2 0x0e027000 0x0 0x1000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + }; + + aic: interrupt-controller@20e100000 { + compatible = "apple,s5l8960x-aic", "apple,aic"; + reg = <0x2 0x0e100000 0x0 0x100000>; + #interrupt-cells = <3>; + interrupt-controller; + }; + + pinctrl: pinctrl@20e300000 { + compatible = "apple,s5l8960x-pinctrl", "apple,pinctrl"; + reg = <0x2 0x0e300000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 200>; + apple,npins = <200>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt"; + /* Note that A7 doesn't actually have a hypervisor (EL2 is not implemented). */ + interrupts = , + ; + }; +}; From patchwork Wed Sep 25 07:18:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 830746 Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) (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 D2D8B158D80; Wed, 25 Sep 2024 07:21:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248908; cv=none; b=KOESJl1BmOUN2iSTSLzGTt7Ri6ueQ9d0FYHKYvfntoI+Fl5qQh7EK4TKRs6vE6RAM4w08m53qr5MzjnuhLhT/34sFfuhIv4aj52r7AHYzaB+uBWdzDMuk2Sjta1qeyA5Qu2kYmf43Ci+eAWO5dbzN9DR0Mh0ue0AnvVkmUORCKQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248908; c=relaxed/simple; bh=lXl8SwthCV8c9d56ZqscL+tx3XIh1u0ei/8lgk+1myA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Te859tdXjgs1nxwppxEBU61jsA1oa4OIBqcb8YHYSzJ0ub4NYq0fjdp5HbMtL8bvVbhca05vugJc6ahhqye6PCwpez4pc9CnZmYGj0Fi/8HQ50K4GE2ON1lGEdF7hM8sr8wGagKDOWK6PdNR925P+rZoHljxp+jZbflcpiQgtrk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eaIu3L4c; arc=none smtp.client-ip=209.85.167.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eaIu3L4c" Received: by mail-oi1-f175.google.com with SMTP id 5614622812f47-3e042f4636dso3803621b6e.1; Wed, 25 Sep 2024 00:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248906; x=1727853706; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kUukXodqKGFf7mDoToB48LouskmdBhSOgZjlCXQ9i70=; b=eaIu3L4cM4kiclGDpNNn9ekzaJXHKcuCUmzc1HF1wPd/09pkkirp+UHYy5wqoA7dOq eq9JNozwXbvCsLm6UXIZ4df6Li0zYqvhw5cxkiQ79igYJramDlYhNCd+KYOqzpU30Yqq KPrCbeGcEZH0ivgSP964BfaT+5QtX4v6TLjK+42nJq0JQpBAcnEpx8ppCtlxdbwkTcAP N9aiQXWeZ2bS9v9ZJT5gVUNAY4+CejLYixrfHi4ltNQ8mesIEUmprfBHind6WiBOeyQN uxV1wS0yZkcrC/AnaNgK3XvEvqlzc11774gVemm85bBNpLzFHZNCSkSuoA/J1ojiPmGY Dnqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248906; x=1727853706; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kUukXodqKGFf7mDoToB48LouskmdBhSOgZjlCXQ9i70=; b=XNDFPGrDfPk/CVaGQ9fAtCIET3XOFoaiiQl13VlvaILtJRD+Baj3C8yGfxpD2y2JW1 0gIuW2Y+UqX1NS3Buz0/DPbpLmBoYKIU5mwiZxvCLfULsgtMKTPq5aag3wSXx75y/7Gm fIJluicI5iYTQfpmvaWM7uGlNX/4CxUT6iqw5K1wwKJ4YhGMLE2x5UUaXI2bCT+VaJIJ r1YK6Dt2e9+9gbM7qYg1IXebZBDpOYPj0xUvWICVhp1vYCmphv8H6KbXug8DYnOcg+Iu xQGr56B40PrT0vMhCGxftaPmt1ImYuPOUztrrlA7fhae2eKfKqoyj33mP/H39ZHApEvM zRBw== X-Forwarded-Encrypted: i=1; AJvYcCUe8qVuXOZu8117pxzSd0ql/qZqHuI7Qi1UJOjtTVh8oHEF17r49xwt6tgcgSWSwoOm8zcavrAzvACXncQd@vger.kernel.org, AJvYcCW8j6kmm9smxirMGpo6iYLg40DSbCzn9lQBvLE99ni6VQuC1pqyokTKFD8uABEvSNP9aeBIdN49htAyHgUT69Q=@vger.kernel.org, AJvYcCWfAofryIaog1vLOId8vRZhmkLvDK7Vjzp4jPUo0bNBmHXvx1krheGIb5rLsZvDpSSFkl9nCXLFE7vn@vger.kernel.org, AJvYcCWrX+WkgSUorl313Y5IRwUCpdOSAHuRMJycjq2Ylb3fEOV0IeBJbvGGnqpsS5qNZSxL4nRv8zMwSiv0SA==@vger.kernel.org X-Gm-Message-State: AOJu0YwlSbuSfau9fwja/t2CLv5c9tVhCeV2501wFr3Y7MwdZV+fyxQL 4EJMYOd9WUlBlqV3l2hzrPMsjqpRVxRQJ0/WbkRgREbC514tn2JP X-Google-Smtp-Source: AGHT+IFrm7e873ny0eszt1p/YVRlB8yq6ci1VZIcwI3KF7C3BnOotWKXHrXnxPpxx5u/wK0i9fXl3g== X-Received: by 2002:a05:6808:202a:b0:3e1:70d5:d00a with SMTP id 5614622812f47-3e29b7a7564mr1437644b6e.27.1727248905867; Wed, 25 Sep 2024 00:21:45 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:45 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Konrad Dybcio , Markuss Broks , Nick Chan Subject: [PATCH v5 14/20] arm64: dts: apple: Add A8X devices Date: Wed, 25 Sep 2024 15:18:12 +0800 Message-ID: <20240925071939.6107-15-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Konrad Dybcio Add DTS files for the A8X SoC and the only device based on it, the iPad Air 2. Signed-off-by: Konrad Dybcio [Markuss: System memory bits] Co-developed-by: Markuss Broks Signed-off-by: Markuss Broks [Nick: SMP, m1n1 and gpio-keys support, pinctrl fixes] Co-developed-by: Nick Chan Signed-off-by: Nick Chan --- arch/arm64/boot/dts/apple/Makefile | 2 + arch/arm64/boot/dts/apple/t7001-air2.dtsi | 46 +++++++ arch/arm64/boot/dts/apple/t7001-j81.dts | 14 ++ arch/arm64/boot/dts/apple/t7001-j82.dts | 14 ++ arch/arm64/boot/dts/apple/t7001.dtsi | 154 ++++++++++++++++++++++ 5 files changed, 230 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t7001-air2.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7001-j81.dts create mode 100644 arch/arm64/boot/dts/apple/t7001-j82.dts create mode 100644 arch/arm64/boot/dts/apple/t7001.dtsi diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index d5dd1e2e4f4c..adda522ea490 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -16,6 +16,8 @@ dtb-$(CONFIG_ARCH_APPLE) += t7000-j97.dtb dtb-$(CONFIG_ARCH_APPLE) += t7000-n102.dtb dtb-$(CONFIG_ARCH_APPLE) += t7000-n56.dtb dtb-$(CONFIG_ARCH_APPLE) += t7000-n61.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7001-j81.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7001-j82.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb diff --git a/arch/arm64/boot/dts/apple/t7001-air2.dtsi b/arch/arm64/boot/dts/apple/t7001-air2.dtsi new file mode 100644 index 000000000000..8ecf2842e8e5 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7001-air2.dtsi @@ -0,0 +1,46 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air 2 common device tree + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "t7001.dtsi" +#include + +/ { + chassis-type = "tablet"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl 0 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl 1 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl 92 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl 93 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t7001-j81.dts b/arch/arm64/boot/dts/apple/t7001-j81.dts new file mode 100644 index 000000000000..ca90dc0c872c --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7001-j81.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air 2 (Wi-Fi), J81, iPad5,3 (A1566) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t7001-air2.dtsi" + +/ { + compatible = "apple,j81", "apple,t7001", "apple,arm-platform"; + model = "Apple iPad Air 2 (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/t7001-j82.dts b/arch/arm64/boot/dts/apple/t7001-j82.dts new file mode 100644 index 000000000000..d9fd16f48db7 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7001-j82.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air 2 (Cellular), J82, iPad5,4 (A1567) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t7001-air2.dtsi" + +/ { + compatible = "apple,j82", "apple,t7001", "apple,arm-platform"; + model = "Apple iPad Air 2 (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/t7001.dtsi b/arch/arm64/boot/dts/apple/t7001.dtsi new file mode 100644 index 000000000000..9a5f0a4bde52 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7001.dtsi @@ -0,0 +1,154 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple T7001 "A8X" SoC + * + * Copyright (c) 2022, Konrad Dybcio + * Based on Asahi Linux's M1 (t8103.dtsi) and Corellium's A10 efforts. + */ + +#include +#include +#include +#include + +/ { + interrupt-parent = <&aic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &serial0; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "serial0"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; + + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "clkref"; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "apple,typhoon"; + reg = <0x0 0x0>; + cpu-release-addr = <0 0>; /* To be filled in by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu1: cpu@1 { + compatible = "apple,typhoon"; + reg = <0x0 0x1>; + cpu-release-addr = <0 0>; /* To be filled in by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu2: cpu@2 { + compatible = "apple,typhoon"; + reg = <0x0 0x2>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + }; + + memory@800000000 { + device_type = "memory"; + reg = <0x8 0 0 0>; /* To be filled in by loader */ + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * The bootloader reserves a region for the (varying-address, depending + * on what FW your device runs AND model) framebuffer under this node. + */ + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + nonposted-mmio; + ranges; + + serial0: serial@20a0c0000 { + compatible = "apple,s5l-uart"; + reg = <0x2 0x0a0c0000 0x0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + /* Use the bootloader-enabled clocks for now. */ + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; + + wdt: watchdog@20e027000 { + compatible = "apple,t7000-wdt", "apple,wdt"; + reg = <0x2 0x0e027000 0x0 0x1000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + }; + + aic: interrupt-controller@20e100000 { + compatible = "apple,t7000-aic", "apple,aic"; + reg = <0x2 0x0e100000 0x0 0x100000>; + #interrupt-cells = <3>; + interrupt-controller; + }; + + pinctrl: pinctrl@20e300000 { + compatible = "apple,t7000-pinctrl", "apple,pinctrl"; + reg = <0x2 0x0e300000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 184>; + apple,npins = <184>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt"; + /* Note that A8X doesn't actually have a hypervisor (EL2 is not implemented). */ + interrupts = , + ; + }; +}; From patchwork Wed Sep 25 07:18:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 830745 Received: from mail-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) (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 B2180157466; Wed, 25 Sep 2024 07:21:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248919; cv=none; b=sGUvuOBF5NpbyaPTdmLtGLqJdbRK+ZAZ3L5b5xJDWCmRZBA1ehzk5FeRJqZxMFYun7QovlTcDdEDGCxJC/nI1vq6xQwQVx5GmRQsowJaSYicXv81G9YK7+RivqXVgr3PNQlOgrVOJ3e0s4gF6+0xLqH20sAgj8GlLDSs4BGj/qU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248919; c=relaxed/simple; bh=TAT79Xnzl1oNNV5FROigdgNXLb2Cybp4CLgUCT939cw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Def3VdpE58OiZQ3Bsqv5gMyFYrtu8/EFiC/vtRtClItU4vTanGWYx+Yoe+rsa5/X30jCu66oZssTzu0M9P9z12MSGQ4kbhi1qKCXRFZ6VYpmHocE7c4eZm0/C5//fOcTF6EByKr9G45FaaXHi4Bf3UxInJK5N7Z5lkeqk8I5Vd8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=M5CqPumB; arc=none smtp.client-ip=209.85.166.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M5CqPumB" Received: by mail-io1-f43.google.com with SMTP id ca18e2360f4ac-831e62bfa98so313519239f.1; Wed, 25 Sep 2024 00:21:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248916; x=1727853716; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zyWUpX9SDl0pBa3ZzU7qUw9/ZE6s9qUhKf2MUIrA7EE=; b=M5CqPumBz1vxWlb8FaVFLCmoc7QhFHKPaly1VvtMzB63Odi3/PxyFwhlmxKIzJWHEs 5pKQhoc3ms65O7Cv59wLS43T/MbTF7DIREu93fitNJm34axAaqexUEFRUayETg/vAr22 LCJ/02HWD3YsJKWpbgAQKx4VSdVMHdZWvnXkquozdfRUsccyooL/CtjaaAjPiK7mWjk8 eA0UPK9DQ1g91ELR1ELL0RGw8bRdxOPQUCbN+4Ux4vMicHshS/qm0ejzSpZapcyj36wA fQtoIddua+ke37mZ6E9OFZLYa9UDLnap0mIb3bMFoTanl/D4EAJF8CS8yrZgEX/DUPKf 2MSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248916; x=1727853716; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zyWUpX9SDl0pBa3ZzU7qUw9/ZE6s9qUhKf2MUIrA7EE=; b=fxfQlrztnVYEBhknzJXvUH2S8n7OS5vP/7XGiBSoKYvSK9b5qGUrkfBEYk4DWlNIK0 O2V+VR0+XElZuUd6GbyjLsgZggoUb0TDa0xT9ulskbaCSBFSKghjmYb8G0c1UCfU6kjs 8PX39gSolPT5zqd3ceZL7GHjJv6ig0N117AYaaz+ScVzFzstXtc0M4JgHDqlOqlXLYHW mHuZM7naSBpSDPp+Q2999dQVGvbidHKPhBdoVu+9yGos66DSzCmbZGPFtvCpvTTRager bccuho6Jff7uJUYCNPngVWtBpeYK2B6MZvsCdKdb+JqB6vwRr1nkp4z+1Ln+LEaLHlD9 Vegg== X-Forwarded-Encrypted: i=1; AJvYcCWwaLbyZGNY9/kttCpajCa1u5GEWKIXF4aLcwdasjn0X8HF6U5Q+Q8Rv5MILynmcMQ1LhOsVHgObmVloJRT@vger.kernel.org, AJvYcCXSbp6/wfSKSuytcdZEKpF0rDbbsSmmNyg2JkRC/Uf3F+Y5BrybPP0FbfLRgHYjZLjT0XB4UgULmLK+rg==@vger.kernel.org, AJvYcCXhJMb3VivJumQ/71N50vX/BE/RgtTfws7UIevxCNt3DVS751UZpDWpW2tlJ8tiNvCrnHQrygg9OdFF@vger.kernel.org, AJvYcCXtGQeM/1Z2Z36O826UyUF5ctbB7Upo3uyZrOZm6pOvBSM+HgkaHlrSPAC1Cu6qtsvJH8xkAGXnoL/GKC41hAw=@vger.kernel.org X-Gm-Message-State: AOJu0YxXZfVol4s0vaVlu6rMICLsWIJOa56d7HTmDMFSZNn/SHXk5f+G YWDRbicZJfLQubUURZuRdUtc92AywBjHUBQ12Y2Ga8HF2wH/19GP X-Google-Smtp-Source: AGHT+IG0Xis3dnR1WQJRbxbbyiwBbbt0nE+54hnHJh9BbqGdY177lLd8N+D1GZSMiAbxxW2c4dsaAQ== X-Received: by 2002:a05:6602:1650:b0:82a:2ad1:d622 with SMTP id ca18e2360f4ac-83247f793c0mr161601939f.16.1727248916510; Wed, 25 Sep 2024 00:21:56 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:56 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Konrad Dybcio , Nick Chan Subject: [PATCH v5 16/20] arm64: dts: apple: Add A9X devices Date: Wed, 25 Sep 2024 15:18:14 +0800 Message-ID: <20240925071939.6107-17-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Konrad Dybcio Add the device tree for the A9X SoC and the devices based on it: - iPad Pro (9.7 Inch) - iPad Pro (12.9 Inch) (1st generation) Signed-off-by: Konrad Dybcio [Nick: SMP and m1n1 support, uart interrupt and pinctrl fixes] Co-developed-by: Nick Chan Signed-off-by: Nick Chan --- arch/arm64/boot/dts/apple/Makefile | 4 + arch/arm64/boot/dts/apple/s8001-j127.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j128.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j98a.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j99a.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-pro.dtsi | 47 +++++++ arch/arm64/boot/dts/apple/s8001.dtsi | 167 +++++++++++++++++++++++ 7 files changed, 274 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/s8001-j127.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j128.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j98a.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j99a.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-pro.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001.dtsi diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index cbb7e409b7e3..f8cd10889d9f 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -28,6 +28,10 @@ dtb-$(CONFIG_ARCH_APPLE) += s8003-j72t.dtb dtb-$(CONFIG_ARCH_APPLE) += s8003-n66m.dtb dtb-$(CONFIG_ARCH_APPLE) += s8003-n69.dtb dtb-$(CONFIG_ARCH_APPLE) += s8003-n71m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8001-j127.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8001-j128.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8001-j98a.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8001-j99a.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb diff --git a/arch/arm64/boot/dts/apple/s8001-j127.dts b/arch/arm64/boot/dts/apple/s8001-j127.dts new file mode 100644 index 000000000000..8b522085cb3e --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8001-j127.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (9.7-inch) (Wi-Fi), J127, iPad6,3 (A1673) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8001-pro.dtsi" + +/ { + compatible = "apple,j127", "apple,s8001", "apple,arm-platform"; + model = "Apple iPad Pro (9.7-inch) (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8001-j128.dts b/arch/arm64/boot/dts/apple/s8001-j128.dts new file mode 100644 index 000000000000..cdd3d06dcbf1 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8001-j128.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (9.7-inch) (Cellular), J128, iPad6,4 (A1674/A1675) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8001-pro.dtsi" + +/ { + compatible = "apple,j128", "apple,s8001", "apple,arm-platform"; + model = "Apple iPad Pro (9.7-inch) (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8001-j98a.dts b/arch/arm64/boot/dts/apple/s8001-j98a.dts new file mode 100644 index 000000000000..6d6b841e7ab0 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8001-j98a.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (12.9-inch) (Wi-Fi), J98a, iPad6,7 (A1584) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8001-pro.dtsi" + +/ { + compatible = "apple,j98a", "apple,s8001", "apple,arm-platform"; + model = "Apple iPad Pro (12.9-inch) (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8001-j99a.dts b/arch/arm64/boot/dts/apple/s8001-j99a.dts new file mode 100644 index 000000000000..d20194b1cae7 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8001-j99a.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (12.9-inch) (Cellular), J99a, iPad6,8 (A1652) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8001-pro.dtsi" + +/ { + compatible = "apple,j99a", "apple,s8001", "apple,arm-platform"; + model = "Apple iPad Pro (12.9-inch) (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8001-pro.dtsi b/arch/arm64/boot/dts/apple/s8001-pro.dtsi new file mode 100644 index 000000000000..214fbbcf66fd --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8001-pro.dtsi @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (1st generation) common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "s8001.dtsi" +#include + +/ { + chassis-type = "tablet"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl_ap 122 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl_ap 123 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl_ap 15 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl_ap 12 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/s8001.dtsi b/arch/arm64/boot/dts/apple/s8001.dtsi new file mode 100644 index 000000000000..ab22d7948f62 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8001.dtsi @@ -0,0 +1,167 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple S8001 "A9X" SoC + * + * Copyright (c) 2022, Konrad Dybcio + * Based on Asahi Linux's M1 (t8103.dtsi) and Corellium's A10 efforts. + */ + +#include +#include +#include +#include + +/ { + interrupt-parent = <&aic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &serial0; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "serial0"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; + + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "clkref"; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "apple,twister"; + reg = <0x0 0x0>; + cpu-release-addr = <0 0>; /* To be filled in by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu1: cpu@1 { + compatible = "apple,twister"; + reg = <0x0 0x1>; + cpu-release-addr = <0 0>; /* To be filled in by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + }; + + memory@800000000 { + device_type = "memory"; + reg = <0x8 0 0 0>; /* To be filled in by loader */ + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * The bootloader reserves a region for the (varying-address, depending + * on what FW your device runs AND model) framebuffer under this node. + */ + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + nonposted-mmio; + ranges; + + serial0: serial@20a0c0000 { + compatible = "apple,s5l-uart"; + reg = <0x2 0x0a0c0000 0x0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + /* Use the bootloader-enabled clocks for now. */ + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; + + aic: interrupt-controller@20e100000 { + compatible = "apple,s8000-aic", "apple,aic"; + reg = <0x2 0x0e100000 0x0 0x100000>; + #interrupt-cells = <3>; + interrupt-controller; + }; + + pinctrl_ap: pinctrl@20f100000 { + compatible = "apple,s8000-pinctrl", "apple,pinctrl"; + reg = <0x2 0x0f100000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_ap 0 0 219>; + apple,npins = <219>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + pinctrl_aop: pinctrl@2100f0000 { + compatible = "apple,s8000-pinctrl", "apple,pinctrl"; + reg = <0x2 0x100f0000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_aop 0 0 28>; + apple,npins = <28>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + wdt: watchdog@2102b0000 { + compatible = "apple,s8000-wdt", "apple,wdt"; + reg = <0x2 0x102b0000 0x0 0x4000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt"; + /* Note that A9X doesn't actually have a hypervisor (EL2 is not implemented). */ + interrupts = , + ; + }; +}; From patchwork Wed Sep 25 07:18:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 830744 Received: from mail-oi1-f170.google.com (mail-oi1-f170.google.com [209.85.167.170]) (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 97F5C18C039; Wed, 25 Sep 2024 07:22:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248929; cv=none; b=AqZIANcwkmJZogk8oos3BxCMOaEc1DQEdSZFG/xl0fWz0mc/GLTF4qsY0/cfQw5TTygSgx8tNiii3p2RR4FYG6URGy24KHzkmLao1jALPJ6tpkUsR01kKk5j+p/RyDWbCYcc3LWFVY6Ix8SF4asiHJM7vpugKzkoZoX7NXDsdd4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248929; c=relaxed/simple; bh=J5SEPolgAawSH5c+wA7Z9Ao9L7d2oXkDAmd1T2EK/Cs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tBa3YgfzPnfD6BWu0d85f5N7iLRkG4Sfy2d1j1JZridWwMrx2JqxSgpqxEusL+vGxlrTnzJwZM6OyeCgU1mzjd6QPhORDwM2q7sbb3yTgWtV7q+uSLsZyFUoVCGoYdH0OM9x8o9Pt1uvDbtK7VcKu9GfBl+q3stQZDwLq1boJ9s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=CeMUYdjG; arc=none smtp.client-ip=209.85.167.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CeMUYdjG" Received: by mail-oi1-f170.google.com with SMTP id 5614622812f47-3e27a6d0bb5so2014816b6e.2; Wed, 25 Sep 2024 00:22:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248926; x=1727853726; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rfUOSGh3pPERF4l//XzS1dlj9PxGJ9eyoQTy2F1aJ0g=; b=CeMUYdjGvE4tJ85Naq0VoZ/srKFVpXcLE9dpOrIVzSZaR5oOl4Wn95qYdN/ZwVcvaH L6MdA8HVPrFC2KPXSDSnswF5SU4CnLDjicGLW3wa2U9Agm4IDVD15cJyFOgE/95KNUNT ZenY5i+62a2MWMS8mKumlIkGMGI805ou/28vqh1uoFiOj+c75R7l2EglX1gxR4bn2oEg JF9GdcWGsaZpjOOkx6INvxOVGp1VA1/8iuruZedlukAe8DTwd/Tgu9UET0IHnpBBNIzt dS8g3kDSLxSnKLZqZFyoxPd5J0YkiDvB508Empw/y/2tNGGxOkxEgDDw7yJa7yN7ivBh VOMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248926; x=1727853726; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rfUOSGh3pPERF4l//XzS1dlj9PxGJ9eyoQTy2F1aJ0g=; b=Hcm0t4Gjn9MBeelGFNlGPPPiFz27N/4tbYSGoaa5qj6QaqL5qRaNySGu9NY1EwufwW 9uOmJ3wYwB7w0Y9DonL8rFPLXE0jszZDsxQbuwfK04866iFkSIrMka0qDB61f8IMxM3u ncg2pHwuyiL5ygURgFe1jQhXiXZab2KeoM70gV/Z7zd7ggDT+4R4IjVbDhTB/vI0a/Py 5ZZ7oB2kC7BhpZJWpz1uUO79cdAj4SUzBNvUnfYUll7ftWD4kId04pCbg0o9QOglIVBu d2Rza8yMSJCY25yocX7FjiA4ZI2RnJPSysPFSJfOlF3yazaKGxUqQzdDme9rV/76tYdR tGKw== X-Forwarded-Encrypted: i=1; AJvYcCU7fYZVDdjARDlUf0+A1dMGtd4KWhuTerao5A/bU5grk59kNlw8F0INRZiMhJUxyxhFLaVgLMjVASwr@vger.kernel.org, AJvYcCUBeebo0k5zps4JxvzTxiayBE61bMaj4Oss3DVycdYKu/Qh0EzkqKorqD/0LuoCqnnwxANp7el4BNp1Ahrv@vger.kernel.org, AJvYcCVSW186M+A6taUt0v6R2Z7QPNObtQVEcpE8bo3Ans4vMPD/yIa98cNkMcSlGjZIHr0vc+CvtJAVSEiwpQ==@vger.kernel.org, AJvYcCWUIe2yAO39ajyaH2mvJcpzWkOPmakNDMT16oHFz0R/cQh+HC9MyvLoESAC4/83GjC2fwA5Ls03Me1Ep3sdklE=@vger.kernel.org X-Gm-Message-State: AOJu0Ywq+VcA9ah0E7+90Ks7yTEkP9p+DN8P3R+3qZGQMvetiiMk/I8e vqPG5aGJ+qjmpv11ib8v/kShBLBM9xP1u9y+SD4kFLt0S3Qrm3lf X-Google-Smtp-Source: AGHT+IHAUTP35mHXx3RrmMlyv5pHlfkvwj8zWnGr1nClMRcIdKQkEDBbk0wMb4QzM86kwasUHHfRJg== X-Received: by 2002:a05:6808:150f:b0:3db:1b29:f28f with SMTP id 5614622812f47-3e29b790039mr1152700b6e.24.1727248926549; Wed, 25 Sep 2024 00:22:06 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.22.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:22:06 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Konrad Dybcio , Nick Chan Subject: [PATCH v5 18/20] arm64: dts: apple: Add A10X devices Date: Wed, 25 Sep 2024 15:18:16 +0800 Message-ID: <20240925071939.6107-19-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Konrad Dybcio Add DTS files for the A10X SoC and the following devices based on it: - Apple TV 4K - iPad Pro (2nd Generation) (10.5 Inch) - iPad Pro (2nd Generation) (12.9 Inch) Signed-off-by: Konrad Dybcio [Nick: SMP, m1n1 and Apple TV 4K support, uart interrupt and pinctrl fixes] Co-developed-by: Nick Chan Signed-off-by: Nick Chan --- arch/arm64/boot/dts/apple/Makefile | 5 + arch/arm64/boot/dts/apple/t8011-j105a.dts | 15 ++ arch/arm64/boot/dts/apple/t8011-j120.dts | 14 ++ arch/arm64/boot/dts/apple/t8011-j121.dts | 14 ++ arch/arm64/boot/dts/apple/t8011-j207.dts | 14 ++ arch/arm64/boot/dts/apple/t8011-j208.dts | 14 ++ arch/arm64/boot/dts/apple/t8011-pro2.dtsi | 47 ++++++ arch/arm64/boot/dts/apple/t8011.dtsi | 175 ++++++++++++++++++++++ 8 files changed, 298 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t8011-j105a.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j120.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j121.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j207.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j208.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-pro2.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011.dtsi diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index 4a7002e289a0..a44c14fae7bc 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -41,6 +41,11 @@ dtb-$(CONFIG_ARCH_APPLE) += t8010-j172.dtb dtb-$(CONFIG_ARCH_APPLE) += t8010-j71b.dtb dtb-$(CONFIG_ARCH_APPLE) += t8010-j72b.dtb dtb-$(CONFIG_ARCH_APPLE) += t8010-n112.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j105a.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j120.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j121.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j207.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j208.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb diff --git a/arch/arm64/boot/dts/apple/t8011-j105a.dts b/arch/arm64/boot/dts/apple/t8011-j105a.dts new file mode 100644 index 000000000000..4efd02725963 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011-j105a.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple TV 4K (1st Generation), J105a, AppleTV6,2 (A1482) + * Copyright (c) 2024, Nick Chan + */ + +/dts-v1/; + +#include "t8011.dtsi" + +/ { + compatible = "apple,j105a", "apple,t8011", "apple,arm-platform"; + model = "Apple TV 4K (1st Generation)"; + chassis-type = "television"; +}; diff --git a/arch/arm64/boot/dts/apple/t8011-j120.dts b/arch/arm64/boot/dts/apple/t8011-j120.dts new file mode 100644 index 000000000000..a620d8aaf468 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011-j120.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 (12.9-inch) (Wi-Fi), J120, iPad7,1 (A1670) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8011-pro2.dtsi" + +/ { + compatible = "apple,j120", "apple,t8011", "apple,arm-platform"; + model = "Apple iPad Pro 2 (12.9-inch) (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8011-j121.dts b/arch/arm64/boot/dts/apple/t8011-j121.dts new file mode 100644 index 000000000000..dfec25f7d54a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011-j121.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 (12.9-inch) (Cellular), J121, iPad7,2 (A1671) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8011-pro2.dtsi" + +/ { + compatible = "apple,j121", "apple,t8011", "apple,arm-platform"; + model = "Apple iPad Pro 2 (12.9-inch) (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8011-j207.dts b/arch/arm64/boot/dts/apple/t8011-j207.dts new file mode 100644 index 000000000000..12582bfe7532 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011-j207.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 (10.5-inch) (Wi-Fi), J207, iPad7,3 (A1701) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8011-pro2.dtsi" + +/ { + compatible = "apple,j207", "apple,t8011", "apple,arm-platform"; + model = "Apple iPad Pro 2 (10.5-inch) (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8011-j208.dts b/arch/arm64/boot/dts/apple/t8011-j208.dts new file mode 100644 index 000000000000..c0cd18e0ab18 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011-j208.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 (10.5-inch) (Cellular), J208, iPad7,4 (A1709) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8011-pro2.dtsi" + +/ { + compatible = "apple,j208", "apple,t8011", "apple,arm-platform"; + model = "Apple iPad Pro 2 (10.5-inch) (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8011-pro2.dtsi b/arch/arm64/boot/dts/apple/t8011-pro2.dtsi new file mode 100644 index 000000000000..9f681dd9d463 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011-pro2.dtsi @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "t8011.dtsi" +#include + +/ { + chassis-type = "tablet"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl_ap 139 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl_ap 138 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl_ap 43 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl_ap 40 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t8011.dtsi b/arch/arm64/boot/dts/apple/t8011.dtsi new file mode 100644 index 000000000000..e9f7d54893fe --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011.dtsi @@ -0,0 +1,175 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple T8011 "A10X" SoC + * + * Copyright (c) 2022, Konrad Dybcio + * Based on Asahi Linux's M1 (t8103.dtsi) and Corellium's A10 efforts. + */ + +#include +#include +#include +#include + +/ { + interrupt-parent = <&aic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &serial0; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "serial0"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; + + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "clkref"; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "apple,hurricane-zephyr"; + reg = <0x0 0x0>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu1: cpu@1 { + compatible = "apple,hurricane-zephyr"; + reg = <0x0 0x1>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu2: cpu@2 { + compatible = "apple,hurricane-zephyr"; + reg = <0x0 0x2>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + }; + + memory@800000000 { + device_type = "memory"; + reg = <0x8 0 0 0>; /* To be filled by loader */ + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * The bootloader reserves a region for the (varying-address, depending + * on what FW your device runs AND model) framebuffer under this node. + */ + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + nonposted-mmio; + ranges; + + serial0: serial@20a0c0000 { + compatible = "apple,s5l-uart"; + reg = <0x2 0x0a0c0000 0x0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + /* Use the bootloader-enabled clocks for now. */ + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; + + aic: interrupt-controller@20e100000 { + compatible = "apple,t8010-aic", "apple,aic"; + reg = <0x2 0x0e100000 0x0 0x100000>; + #interrupt-cells = <3>; + interrupt-controller; + }; + + pinctrl_ap: pinctrl@20f100000 { + compatible = "apple,t8010-pinctrl", "apple,pinctrl"; + reg = <0x2 0x0f100000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_ap 0 0 219>; + apple,npins = <219>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + pinctrl_aop: pinctrl@2100f0000 { + compatible = "apple,t8010-pinctrl", "apple,pinctrl"; + reg = <0x2 0x100f0000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_aop 0 0 42>; + apple,npins = <42>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + wdt: watchdog@2102b0000 { + compatible = "apple,t8010-wdt", "apple,wdt"; + reg = <0x2 0x102b0000 0x0 0x4000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt"; + /* Note that A10X doesn't actually have a hypervisor (EL2 is not implemented). */ + interrupts = , + ; + }; +}; From patchwork Wed Sep 25 07:18:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 830743 Received: from mail-il1-f171.google.com (mail-il1-f171.google.com [209.85.166.171]) (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 7DA13158205; Wed, 25 Sep 2024 07:22:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248940; cv=none; b=pQ5ik7+7y/gNyxLou+3M4iYunZuqUp3K4im7/SMeY1RHUqgCfQe1dbCrH6REFSR4EuYc0Faaf0Wqd+F/5D0zmqYJmN+ZiTcAJco09u+lzBBoPoPUUw9jqK/4ofZb2WbwOSpA+JlX0uSix8YQq/SPVGaOeU6vajBPQxej/nCzSyo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727248940; c=relaxed/simple; bh=kG58CaMEoU4DdU7bolt1bzjzFH1kroT8bMnpYUKuuXg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rO9f3LIsRhBKii5IRw1PHvEHv/3J3oxlEMH0J7eHSwbOzaw6qa2ZsZTBtHHNB55GhEn6tweihOzBB+YW4DNfWrAbRkA/mfWmA1KEBZE/Or+wDDz2JJSF5mFOb4Z+j9lSQhEhEK6s9kuqyu8NWWjeuFeVdd4owDOjGTvTMKBv3C0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WhJJcwZo; arc=none smtp.client-ip=209.85.166.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WhJJcwZo" Received: by mail-il1-f171.google.com with SMTP id e9e14a558f8ab-3a1a90bd015so4254255ab.1; Wed, 25 Sep 2024 00:22:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248938; x=1727853738; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RRLCqNetYnYWyPf9J2UWD3fLwnbXhpstWw/tgUw9xEY=; b=WhJJcwZoUG9wbqAk1R5HBc2R1U7TlF/SFi+cgAIRzUjeRQ3z/XHP+oX9xXTH9v0/PQ gTK0rWCWdQ5If+Is81M+T+UcKEoj9X988lJNk58yJcAjG/gedngzT5ssLoxDHHUdD/q2 NO3K4V/ycAO24cllC+gJ+xbNl04ggBqWy4mpU/N+5YarUQ4yvsCkvy3qWBNsuITxsdM2 1JoTbIBlgbWs7K/mUdCTe1ayrfMrCMhpq0Rs0aI/UyEFairxoT21twjEjRiQwFdAIkVr uFsMn7ol1eri5JJXXhh3p/dzRudl/54tWCOz1lF1Fg9v8bgp+b+JaxCiLA+8PIkB2WAM 7U4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248938; x=1727853738; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RRLCqNetYnYWyPf9J2UWD3fLwnbXhpstWw/tgUw9xEY=; b=VdBZE0LSLgD1t49NVpAuJWw/jJOPs87rfrnR1bZQRScRwwn3Ypm8ytencuIDlSKDCA LNS6iU9y3xAk3OcDP75FkgKLmikbT1+ZQnuHIAxppp9AYSveaoEhlWRoo7AjLyL4CTq4 CBu6adQWe9gfhHaRZUpkk/mA/Fu3BZJQS4GhYXayU6D59y3Lc3kVkzavpl3tyQiz89c4 IAI0enX6cFR/faaFYbvqervu2I9ubSq0GY9XJlBLCAxC9DGlJonUUWNdKAJWyDqQNzTF SKHye6LJrNaOUhIhQkGVceA1SPUF4EOCDYQnNOb/2Rq1O4DEfLMt79WGCLsCyT5eZa/r JWWg== X-Forwarded-Encrypted: i=1; AJvYcCUdWv4+2Y8ZCB8j4W33O2/wqRR1PVktZemeh55TdxQJ5ePXh2o8eCgRmKKEsbL+nV57HqR6QIUf7FS0@vger.kernel.org, AJvYcCWDoAZOZVq/WT9VJNYbUoMcrZz6v0xKShsU0nJ+ySOaB9BrS6/xO723sqVJ+ErwIglMWx+AMQOdzrIr+Q==@vger.kernel.org, AJvYcCX2b/Jai9511c9CTclXWy8WDpGRAv8ODhafxqWemYxUm3EdZcqq696OEDAfUzA7MzB+ZL6ZDDYISeNMvnB/@vger.kernel.org, AJvYcCXXLJ3I4ibFZspcVGt2OMg7Ycu//kRasIcHd94CccFbuIF2B9WBNSOJ3g5NYhpzPdtdly11OCjndtDok28OlaQ=@vger.kernel.org X-Gm-Message-State: AOJu0YyCh+KM5jcb++F7bVPndbd03ATNjjVRW/RTRCjlLyzVm9NpJCtR bufDBbsSTtdl1G/y6cpPTW8s4g9neBMh8YEP8dtaoH9QZztnoDYgye3iQA== X-Google-Smtp-Source: AGHT+IETX8CWefdc0Nvnm8SysF1BFeNutZGW8jfx8k39aP+OdRQ7xmONHsOel/oUKonVTdqxPqZEGA== X-Received: by 2002:a92:c546:0:b0:3a0:ab86:928f with SMTP id e9e14a558f8ab-3a26d7f49b7mr18789925ab.26.1727248938543; Wed, 25 Sep 2024 00:22:18 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.22.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:22:18 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 20/20] arm64: Kconfig: Update help text for CONFIG_ARCH_APPLE Date: Wed, 25 Sep 2024 15:18:18 +0800 Message-ID: <20240925071939.6107-21-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Apple's A7-A11 SoC is now supported, so the original help text is no longer accurate. Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- arch/arm64/Kconfig.platforms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 6c6d11536b42..370a9d2b6919 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -37,8 +37,8 @@ config ARCH_APPLE bool "Apple Silicon SoC family" select APPLE_AIC help - This enables support for Apple's in-house ARM SoC family, starting - with the Apple M1. + This enables support for Apple's in-house ARM SoC family, such + as the Apple M1. menuconfig ARCH_BCM bool "Broadcom SoC Support"