From patchwork Tue Jul 16 10:45:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayyan Ansari X-Patchwork-Id: 1960990 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=cNpjIv7L; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.48.161; helo=sy.mirrors.kernel.org; envelope-from=linux-ide+bounces-1892-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [147.75.48.161]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WNbYN2W5Hz1xrQ for ; Tue, 16 Jul 2024 20:54:32 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 16184B23E27 for ; Tue, 16 Jul 2024 10:54:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A8911991C8; Tue, 16 Jul 2024 10:54:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cNpjIv7L" X-Original-To: linux-ide@vger.kernel.org Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 9EFCF198E99 for ; Tue, 16 Jul 2024 10:54:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721127251; cv=none; b=TmXyuSDGcqIrUT0p9Tpmty/PXbwmgzJm/ZpXOcg8eoTVTRdd48GZ0vfXfZxmlaG3OuIJsvGZezqBR2t0EmyoIKZFwXj321ZheQqHd/VW0JyfHF3aOJSTij248u8BiOJBMg5N/1Towd8DYmLwR8SHAMwvARo5JnRAGSbzlVVdeeA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721127251; c=relaxed/simple; bh=+w/bnjZ/tn+nq8poqu+IGSDPvhb5UpTzj50jHOkdDW8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HAAwXa79hkBvFzqNLVw5S3a0UBstFL6A1HUWPNXer+m2zx85dK4uXAdOjaCX5dheKhF5woYgzut6TtA4D6E2jqJXmJeXpfvBtEtMESNSx/wJhTlS/kEzLzN1+FFahZFstSFNV6sy5u2ffyVkjjKou9ZTa0rZ6P12a70fyfx6+9Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=cNpjIv7L; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-427aeebaecdso13174095e9.1 for ; Tue, 16 Jul 2024 03:54:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721127248; x=1721732048; 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=kyuo7ymVcbzU+lbv0ozx2Wp1zadLF4u4V/2ydSe41UA=; b=cNpjIv7LHcp7Iqi8lsZV9oDQNceLM6funX5RD/mkTkyYQs9dSeGmdxSGvjACTJL4MP DSJ4zeb09jIXmwJcsF1DPpM9hoA6MfZDV2Vlr4mpeOA2s79+DFoxZLCjTjH+3jZW5QUe q7ljlG2r0Gd/kjG+zR6ajw8uuCnw0WVN6El6HAP3P5iozC2S86PHca2YBtWIRC7Yc91d yHHMXzJ77ZdKrbcbKLZbr1g4zhoo2U1WowqDpCfcVDlAwT6PiAPKeYYJJhtTXwHAxw+Z umnSzaCQcXQnXNBG2aT4TtwPOgC+G/bpjia2UxmfleCHAKNXQzoccCJekJfE3OQwMnpx f7kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721127248; x=1721732048; 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=kyuo7ymVcbzU+lbv0ozx2Wp1zadLF4u4V/2ydSe41UA=; b=TpOJw3X95k9jvmHOJDqk23cM0DbBkDQ2HEOiYrxU9rEdY8cV8KgZhRwiRrVY3KUtb9 IV+Dr8Gvpw48EnYre4H4gLkZUuTU2fx+4NUkr7KBLh6mYf1gexxm76liuHEbrRvhZrP+ csKpF7BK2TnLRvWsdIii8uMgq0MUTz/IViChiokgshvXvguhj+6tisscRjDCzBr/18RN blTmB7HC9RNSmLlySF1Z/1aC69LICHGgmDya3TSrs9vAzUtBs/cPTN/XzIzB5uTEoWHB +IkMf9jYSOvIMkc518yPVNW7ph7syvxCm8H2ZjuJA2PNm4Ry9EGT3bddhqV8/mueeS+s o32A== X-Forwarded-Encrypted: i=1; AJvYcCU1PuG2tuuQgYYYOkQex0TFg86raNQSYNV/7XP80nxjwlcuRU6VKEPgpit0hLDIjOTD8dxyutXRfUtQCf3DccrgbX/aBn2gXi4C X-Gm-Message-State: AOJu0YyVLjWzRX52R5aZaEiNoTC3xNKjuWnejg8tGTSkK0mq8ofayyBn ZlR2kJmw84Qfv3TIrsteAjlGkdUSiXzHNiluzkZsjC/fgbdl/sFOOOGwgkfA9+x6OiQmIrEWnCt c X-Google-Smtp-Source: AGHT+IGu0CFER4lOm7lC+0CLH03MwpuK6ZEYW93hhMMbm1SLzfoJbXRKPTT7qeYX96r2r9ne8vQUaw== X-Received: by 2002:a05:600c:444a:b0:426:6389:94c4 with SMTP id 5b1f17b1804b1-427ba6b154cmr11340165e9.37.1721127248012; Tue, 16 Jul 2024 03:54:08 -0700 (PDT) Received: from rayyan-pc.broadband ([2a0a:ef40:ee7:2401:197d:e048:a80f:bc44]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3680daccbafsm8608295f8f.51.2024.07.16.03.54.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jul 2024 03:54:07 -0700 (PDT) From: Rayyan Ansari To: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Rayyan Ansari , Bjorn Andersson , Conor Dooley , Damien Le Moal , de Goede , Jens Axboe , Konrad Dybcio , Krzysztof Kozlowski , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, Niklas Cassel , Rob Herring Subject: [PATCH 1/3] ARM: dts: qcom: {a,i}pq8064: correct clock-names in sata node Date: Tue, 16 Jul 2024 11:45:59 +0100 Message-ID: <20240716105245.49549-2-rayyan.ansari@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240716105245.49549-1-rayyan.ansari@linaro.org> References: <20240716105245.49549-1-rayyan.ansari@linaro.org> Precedence: bulk X-Mailing-List: linux-ide@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Correct the clock-names in the AHCI SATA controller node to adhere to the bindings. Signed-off-by: Rayyan Ansari --- arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 4 ++-- arch/arm/boot/dts/qcom/qcom-ipq8064.dtsi | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi index 81cf387e1817..277bde958d0e 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi @@ -889,9 +889,9 @@ sata0: sata@29000000 { <&gcc SATA_PMALIVE_CLK>; clock-names = "slave_iface", "iface", - "bus", + "core", "rxoob", - "core_pmalive"; + "pmalive"; assigned-clocks = <&gcc SATA_RXOOB_CLK>, <&gcc SATA_PMALIVE_CLK>; diff --git a/arch/arm/boot/dts/qcom/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom/qcom-ipq8064.dtsi index da0fd75f4711..dd974eb4065f 100644 --- a/arch/arm/boot/dts/qcom/qcom-ipq8064.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-ipq8064.dtsi @@ -1292,7 +1292,7 @@ sata: sata@29000000 { <&gcc SATA_A_CLK>, <&gcc SATA_RXOOB_CLK>, <&gcc SATA_PMALIVE_CLK>; - clock-names = "slave_face", "iface", "core", + clock-names = "slave_iface", "iface", "core", "rxoob", "pmalive"; assigned-clocks = <&gcc SATA_RXOOB_CLK>, <&gcc SATA_PMALIVE_CLK>; From patchwork Tue Jul 16 10:46:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayyan Ansari X-Patchwork-Id: 1960991 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=QOIe+j4i; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=linux-ide+bounces-1893-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WNbYk6g2xz1xrQ for ; Tue, 16 Jul 2024 20:54:50 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8A2C31F2402D for ; Tue, 16 Jul 2024 10:54:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 255E9199243; Tue, 16 Jul 2024 10:54:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="QOIe+j4i" X-Original-To: linux-ide@vger.kernel.org Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 2B9991991A4 for ; Tue, 16 Jul 2024 10:54:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721127253; cv=none; b=e4rnDilJm4xa526Dg/pOsOYTUgGamMkVlvLAqEqPD5dVToFtzR5eAoJPrO/bJHNDIgpGaW2Ceyg9ITEkooycymTQ3fJPWLhcmt7uGk+DUm0DooZS0OA35iwUu4oUVOaTYZK4LwmY2qR4NB+FiinTPchVJjfIFcjoosgsoc/KN1Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721127253; c=relaxed/simple; bh=AxX7wCkkfOj42QI7vsWajUNUXVUkZbWsJaH69GKrKh0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BmpKlg+U3H6Cmy466RQ8UqhuH7NuEubZf8KwlWBBvBhHXR7d/ADTI0Dt6ejpsLPU/9TzK9NsXeGiOAucrFtW/AyK08qF4YUxqoehFVFtULz+/BD4MkFjXwNTYqWE2a/5sBTIwFG04uOPUcW8qSRveL+xT4f1rXHah5+P9IAYyU0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=QOIe+j4i; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4279c10a40eso34101185e9.3 for ; Tue, 16 Jul 2024 03:54:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721127250; x=1721732050; 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=/q+vCguQf3NUUbSEhJNStzM73J6osU7HD6N++I0+lqQ=; b=QOIe+j4iAQRkbZsfJSAwQmuOEUSy9+yxy5yeoPVYeYGug54ETMs85nZ1w7aXQECGP1 1fuOuA0usZZ5mojOB/w4ux6COxUs2H6ObCAfCZ+zEtOli6/GBf2CdmdJvCdsyT88XOuL INhk32lR8qPIrmION8tO9eipy/2HsV3/tHc2Hv4mNymNa2ni+7iG4R3a7hF81hehMJ+y OXcG/QrJXymAKW9bLHIiuYhHrWPVOkm+PPRcLnT3rs/WQWTAtRYhvnUZFIzWXudU9Yc2 fU0inutXenNdVnCYgxmPHl6dlKtDGVM9I2SFB9OlBOPX8BRhEL4rn1oloC1mcq7nMuXD QQmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721127250; x=1721732050; 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=/q+vCguQf3NUUbSEhJNStzM73J6osU7HD6N++I0+lqQ=; b=ExogeAEYU0eEMnM7Uo4IfBioJCcpFLeo0ll0W9V5QUAannohZd7mpo6oBV1ITDm3in XmdJEUA4pTCCiK1OVwxPNhvGb9Y8ddtguiblTmp+ReDnGXEDyeTG1rKwUb4cXKSLp2gu icZyCjnyj2dUlswbBh5PbXwpZWpIesjB3zWebJGcXHFlbONjrpTPva/qrM+SD8BVXQq1 uIB7ZfW/D5qdP2u+AcMJqM/Ybd4R7xW6okQ/mf3TjAimvXWBpNkD4L+IinSvIsUBUGiB 1rRVWlaXoJenZCp4g3EZNuKkU2jS96m9H8hXNMsSdQk/IM8ZBmwdYkUx7alE5DWlBvAw BTTg== X-Forwarded-Encrypted: i=1; AJvYcCV9gIJtXHaSLcPgtg2guZdAXjat/Y/Iv24mhhUwCh2Ca25XHuBtq7KL/0FQTp0vnQ5eWm9fFy04LSx/FR/o6nPU/BvhZsd+TiFd X-Gm-Message-State: AOJu0YzTKjGokie427FIzo7j4aMaIyOPOBQVT1RK/OUPLvgZ2yH6N47/ AnumVyMCGsS9G/Mue7lqBVg6m5G4PakwdE1JATUjDZMAWjJbjnqatwmsEmEPrBo= X-Google-Smtp-Source: AGHT+IEhjOcGQEmu3Anam4Iq8+f5K76T83y06jbOta7ND04zwcw7VGC98aRFKAmunjQoyid33YORuA== X-Received: by 2002:adf:b30c:0:b0:367:8fbc:8892 with SMTP id ffacd0b85a97d-36826316853mr1075117f8f.44.1721127250680; Tue, 16 Jul 2024 03:54:10 -0700 (PDT) Received: from rayyan-pc.broadband ([2a0a:ef40:ee7:2401:197d:e048:a80f:bc44]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3680daccbafsm8608295f8f.51.2024.07.16.03.54.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jul 2024 03:54:10 -0700 (PDT) From: Rayyan Ansari To: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Rayyan Ansari , Bjorn Andersson , Conor Dooley , Damien Le Moal , de Goede , Jens Axboe , Konrad Dybcio , Krzysztof Kozlowski , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, Niklas Cassel , Rob Herring Subject: [PATCH 2/3] dt-bindings: ata: qcom,ipq806x-ahci: use dtschema Date: Tue, 16 Jul 2024 11:46:00 +0100 Message-ID: <20240716105245.49549-3-rayyan.ansari@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240716105245.49549-1-rayyan.ansari@linaro.org> References: <20240716105245.49549-1-rayyan.ansari@linaro.org> Precedence: bulk X-Mailing-List: linux-ide@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Remove old text bindings and add ipq806x AHCI compatible to ahci-common.yaml, as well as its required properties. Signed-off-by: Rayyan Ansari --- .../bindings/ata/ahci-platform.yaml | 39 ++++++++++++++- .../devicetree/bindings/ata/qcom-sata.txt | 48 ------------------- 2 files changed, 37 insertions(+), 50 deletions(-) delete mode 100644 Documentation/devicetree/bindings/ata/qcom-sata.txt diff --git a/Documentation/devicetree/bindings/ata/ahci-platform.yaml b/Documentation/devicetree/bindings/ata/ahci-platform.yaml index 358617115bb8..b103d2c44421 100644 --- a/Documentation/devicetree/bindings/ata/ahci-platform.yaml +++ b/Documentation/devicetree/bindings/ata/ahci-platform.yaml @@ -30,6 +30,7 @@ select: - marvell,armada-3700-ahci - marvell,armada-8k-ahci - marvell,berlin2q-ahci + - qcom,ipq806x-ahci - socionext,uniphier-pro4-ahci - socionext,uniphier-pxs2-ahci - socionext,uniphier-pxs3-ahci @@ -45,6 +46,7 @@ properties: - marvell,armada-8k-ahci - marvell,berlin2-ahci - marvell,berlin2q-ahci + - qcom,ipq806x-ahci - socionext,uniphier-pro4-ahci - socionext,uniphier-pxs2-ahci - socionext,uniphier-pxs3-ahci @@ -64,11 +66,11 @@ properties: clocks: minItems: 1 - maxItems: 3 + maxItems: 5 clock-names: minItems: 1 - maxItems: 3 + maxItems: 5 interrupts: maxItems: 1 @@ -97,6 +99,39 @@ required: allOf: - $ref: ahci-common.yaml# + + - if: + properties: + compatible: + contains: + enum: + - qcom,ipq806x-ahci + then: + properties: + clocks: + minItems: 5 + clock-names: + items: + - const: slave_iface + - const: iface + - const: core + - const: rxoob + - const: pmalive + assigned-clocks: + minItems: 2 + maxItems: 2 + assigned-clock-rates: + items: + - const: 100000000 + - const: 100000000 + required: + - phys + - phy-names + - clocks + - clock-names + - assigned-clocks + - assigned-clock-rates + - if: properties: compatible: diff --git a/Documentation/devicetree/bindings/ata/qcom-sata.txt b/Documentation/devicetree/bindings/ata/qcom-sata.txt deleted file mode 100644 index 094de91cd9fd..000000000000 --- a/Documentation/devicetree/bindings/ata/qcom-sata.txt +++ /dev/null @@ -1,48 +0,0 @@ -* Qualcomm AHCI SATA Controller - -SATA nodes are defined to describe on-chip Serial ATA controllers. -Each SATA controller should have its own node. - -Required properties: -- compatible : compatible list, must contain "generic-ahci" -- interrupts : -- reg : -- phys : Must contain exactly one entry as specified - in phy-bindings.txt -- phy-names : Must be "sata-phy" - -Required properties for "qcom,ipq806x-ahci" compatible: -- clocks : Must contain an entry for each entry in clock-names. -- clock-names : Shall be: - "slave_iface" - Fabric port AHB clock for SATA - "iface" - AHB clock - "core" - core clock - "rxoob" - RX out-of-band clock - "pmalive" - Power Module Alive clock -- assigned-clocks : Shall be: - SATA_RXOOB_CLK - SATA_PMALIVE_CLK -- assigned-clock-rates : Shall be: - 100Mhz (100000000) for SATA_RXOOB_CLK - 100Mhz (100000000) for SATA_PMALIVE_CLK - -Example: - sata@29000000 { - compatible = "qcom,ipq806x-ahci", "generic-ahci"; - reg = <0x29000000 0x180>; - - interrupts = <0 209 0x0>; - - clocks = <&gcc SFAB_SATA_S_H_CLK>, - <&gcc SATA_H_CLK>, - <&gcc SATA_A_CLK>, - <&gcc SATA_RXOOB_CLK>, - <&gcc SATA_PMALIVE_CLK>; - clock-names = "slave_iface", "iface", "core", - "rxoob", "pmalive"; - assigned-clocks = <&gcc SATA_RXOOB_CLK>, <&gcc SATA_PMALIVE_CLK>; - assigned-clock-rates = <100000000>, <100000000>; - - phys = <&sata_phy>; - phy-names = "sata-phy"; - }; From patchwork Tue Jul 16 10:46:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayyan Ansari X-Patchwork-Id: 1960993 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=aEqDs/i8; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.48.161; helo=sy.mirrors.kernel.org; envelope-from=linux-ide+bounces-1894-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [147.75.48.161]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WNbYx49CBz1xrQ for ; Tue, 16 Jul 2024 20:55:01 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 533C9B235AD for ; Tue, 16 Jul 2024 10:55:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F7B019938D; Tue, 16 Jul 2024 10:54:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aEqDs/i8" X-Original-To: linux-ide@vger.kernel.org Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 C3D37199254 for ; Tue, 16 Jul 2024 10:54:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721127256; cv=none; b=e1tQ/iCZeakemWtve3XwOfsx+519hY0QLGp177ez4THWUfWnd/1WnPSa4g198HDcY67dqjLKXExYhgFsE0lS6cryiT4iKTLXKDVale3nImOmih+y1mcBZ3Q1/4ZTrcuiPiNBH0i7ImB3SXFmwcxDriuK06CXk1AsUf+rQ29R86E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721127256; c=relaxed/simple; bh=fLnCOcn0YVyI228OI5sEyoJf3tCOMYcmsPToXiA0QJM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qy/eiOQu+WbyYvLOKCTolHledmamwRTqThLoaDfU7DPvQ8OxjHtYMy1WSFR+/j+MBBwV2uaTXgRFBsoJNwkbRFmc7GTM4SAbhNmqeHNghFqGMQU159S33j+hxvyNNIfxQm+KuTE75oDqRCs2z9xeeb4nHK7XL3T0GCBXyOqgZSk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=aEqDs/i8; arc=none smtp.client-ip=209.85.221.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-3678aa359b7so3860258f8f.1 for ; Tue, 16 Jul 2024 03:54:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721127253; x=1721732053; 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=06/mGBoVpO/E3PxYGWvGUiycM4NlfZYrcU+JP01aYB4=; b=aEqDs/i8dlbeQAeafablfaFLtzNNEZ3Pt4sElSEcFyrIP7YCtqIj81tgCFfBsBT9g7 Y1VQeKvqGe18DEVpaxOtyBUh5vRXKcdeAo0VOcSI81qDgKyxU0CmpyGtkuyGiMYYb2B1 kKztuC8gt7qwXCvJ/PXdjr+Zdt0SUzIHSUIYG4Y0ufYN2SuSMVMO6Jhv6b9QCsXY1Hsn pSNferPzOSwOi1qHDIBxt3XXA22+E5bv/Hw9/IQv6ClTLSYiJcMKolXfTLr84vLOCB7p PMt0AcmWBwqU3N7dYUm9/66BldzBI0jcP29i61/ovPD2fg0plSuSpbynsjStWyMNnYOJ JfEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721127253; x=1721732053; 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=06/mGBoVpO/E3PxYGWvGUiycM4NlfZYrcU+JP01aYB4=; b=obpWAojMV8ryF/hTLb/MbkSqxwrshycSESVYtpbMD8I3Sp45SF4wnGZfzDoSEXnITf b84XoPMzVlUiheEla+4kE9vFbJGt5cLTSzq4k1thDM+etxOyzSQQ1oF9/w9E3yt1iqyV a7UlQkskyIpIm8x9OwF0Nb4n/mu5BlbYFRR3kLG9Xdn9PXqkm+gINgXetMTCNN2q7Jdo bo1JVExWO+rCsmabHT2fhiaQNLXrzG7rthNhQgRb3XGlIsipclrpyv1/zjFh/qbYxgTs ucWtY1hNEqP0upuibXJkV3U9cjaJ7ACs8DrNL4rhx7fOwgLkEDAn5JPefTab4f+MQzKy 2IYQ== X-Forwarded-Encrypted: i=1; AJvYcCX/eTGGeoGZQzJhP+fFaiNDFj+vnohkfPM53OI7AlCjSde5aZMaWyf5DX6+RCD9RtgCz+nsyQVqUR2JDE5zKvEGGPPDDrPaNC9m X-Gm-Message-State: AOJu0Yz6OMYuzXwKhFYqp//qyciJzMyuAPKF1Lr21h1/DNAdo1cErYnB z7Iob+TpIWZNwRj7TTFS0uquFAExH4ew7dGyRNJeZlMGEMuM5LcYRnFz+YvG5Nc= X-Google-Smtp-Source: AGHT+IF3X3X7MG4NMq7wMRsdQiUSxzDLW2vp7H8VSvOxK4xUxE4UVg727QPaetSCY5evGN2ShEnrZg== X-Received: by 2002:a05:6000:1f8b:b0:363:776:821b with SMTP id ffacd0b85a97d-3682717a775mr1409987f8f.0.1721127253293; Tue, 16 Jul 2024 03:54:13 -0700 (PDT) Received: from rayyan-pc.broadband ([2a0a:ef40:ee7:2401:197d:e048:a80f:bc44]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3680daccbafsm8608295f8f.51.2024.07.16.03.54.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jul 2024 03:54:12 -0700 (PDT) From: Rayyan Ansari To: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Rayyan Ansari , Bjorn Andersson , Conor Dooley , Damien Le Moal , de Goede , Jens Axboe , Konrad Dybcio , Krzysztof Kozlowski , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, Niklas Cassel , Rob Herring Subject: [PATCH 3/3] dt-bindings: ata: qcom,apq8064-ahci: add to dtschema Date: Tue, 16 Jul 2024 11:46:01 +0100 Message-ID: <20240716105245.49549-4-rayyan.ansari@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240716105245.49549-1-rayyan.ansari@linaro.org> References: <20240716105245.49549-1-rayyan.ansari@linaro.org> Precedence: bulk X-Mailing-List: linux-ide@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The APQ8064 SATA AHCI controller is used in apq8064.dtsi, although it was not documented in the old text bindings. Add its compatible to ahci-platform.yaml. Signed-off-by: Rayyan Ansari Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/ata/ahci-platform.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/ata/ahci-platform.yaml b/Documentation/devicetree/bindings/ata/ahci-platform.yaml index b103d2c44421..51624406392a 100644 --- a/Documentation/devicetree/bindings/ata/ahci-platform.yaml +++ b/Documentation/devicetree/bindings/ata/ahci-platform.yaml @@ -30,6 +30,7 @@ select: - marvell,armada-3700-ahci - marvell,armada-8k-ahci - marvell,berlin2q-ahci + - qcom,apq8064-ahci - qcom,ipq806x-ahci - socionext,uniphier-pro4-ahci - socionext,uniphier-pxs2-ahci @@ -46,6 +47,7 @@ properties: - marvell,armada-8k-ahci - marvell,berlin2-ahci - marvell,berlin2q-ahci + - qcom,apq8064-ahci - qcom,ipq806x-ahci - socionext,uniphier-pro4-ahci - socionext,uniphier-pxs2-ahci @@ -105,6 +107,7 @@ allOf: compatible: contains: enum: + - qcom,apq8064-ahci - qcom,ipq806x-ahci then: properties: