From patchwork Tue Jan 30 14:04:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 768068 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1385357wro; Tue, 30 Jan 2024 06:06:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFfJKuM6kBdUmatvfWzIvcMH5/z6EDUPytUj7X5WaSKhtdRCUjPEt3X6RlJfEvTpnQreuqZ X-Received: by 2002:a05:600c:4754:b0:40e:a39e:461f with SMTP id w20-20020a05600c475400b0040ea39e461fmr8154796wmo.38.1706623570897; Tue, 30 Jan 2024 06:06:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706623570; cv=none; d=google.com; s=arc-20160816; b=aYV2xP4ikzMfXMTFHmCEuOskOlpvy1ctJ6kj5ciDm80b/aE07mN/fo1W0afQW4orea nOUni74EEub3UZRZkuEF0MRsrGPfayjbJABM6r98uiq4WPC/X/yI1kc7Su4XZGIctvS7 fx3+lah1p2+uE6wPJzMYsh8BkoQ/4d9zCdtNd+xnpO4tCEI6026eqhCaXrXEI8LdqSL8 XYQuICDMwjBjsRHNMkjhZ50u+qkz7T3QPFMjB2M+p2rKcZdl5xMzzHBQaRY4dxZEuDok wXd30I+F3uVqLUDF5QffqTcU0wLzfw1QCJFy2+4G2fR/w3L2ddEqgxcgbRiYFKsNRUng 16gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=wZMBVMiF0WqsYlh9tO2eg3irgdHcAcxN37g7zp/Pa4I=; fh=GB9E9KzRIiNXhkRWIZbZpSMjbCjxnqnvE8nYuQxq8UI=; b=fA8w4R61s9RQ1XW7AHdTfqcy9xvcoYNnxyfIfW59ApBE7NCWl5KgaVyETY2uuabVCO QyIr55crx2dxRqUtWnYuVBWYq1fScrgVZZ19JHMrqXrGUC01h/HXR6a3sst9VnVaFBmv 3VPxcICzVUtRdyUjTHpYryAFnPOrhUCPQFcE8lO/K6vQUbSk56hnJCC45Y0ybcMD/Ugj ZVvkmM7O3DmUEsc8ov121I0dxWtXV7IQ9FvP57z0ZSQ8l7dRFGIVEPOI7FGuNNg0xR2e I82mmVCJbN/A43hzfayqYYSfuvEIsOehoVL+5Gc4aftzifgHyg1202g65vSG+jAB5lNK VYlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LW/tqz+3"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id ba9-20020a0560001c0900b0033ae56c70e6si3853544wrb.966.2024.01.30.06.06.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 06:06:10 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LW/tqz+3"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8483787D07; Tue, 30 Jan 2024 15:05:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="LW/tqz+3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 47C5287DC8; Tue, 30 Jan 2024 15:05:18 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 67A1687DCA for ; Tue, 30 Jan 2024 15:05:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40eacb6067dso53523965e9.1 for ; Tue, 30 Jan 2024 06:05:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706623514; x=1707228314; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=wZMBVMiF0WqsYlh9tO2eg3irgdHcAcxN37g7zp/Pa4I=; b=LW/tqz+3A+jt5aFY6nOzOKX8UeSF13h51V6UmK7mHuthoCPmMBf7xeiuVgghXPA7pb v42nsXNRbX4xpihyKbS3YZVkOE5z1GW7Fs+U+T7OwRoSeDlwkJBljq4m8IsCqYvWga40 MvXkp9yKmZgLQCtJF4//6KWrJ47XnMJ+Oi3whskEKsQyQ9MIdnhCXCg+2ty9M6og2kMU sonoVhHwANDz/mPF0i3AykE+veBqc4fNAyCbPJ+tg+ke6scA3Bi5+yF+7fvyseieXrr/ AGfg8Q0CQb3Q+cYe7mT9C1TkAUmqXauY2SJwdr6W6RZzLyul0IbPqA2mFlWPNCyX3Q7d ftCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706623514; x=1707228314; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wZMBVMiF0WqsYlh9tO2eg3irgdHcAcxN37g7zp/Pa4I=; b=n4ljn1qBs0tyKRVSfEcVXwn+ov4Xs4/WWSVbN+KOu035n7KS3an31/5m2z3A3temnc pGQDi2HwUAIUHYt1A/QNFVTbMGP1Q1QAw9jOICKGm0px5RrwbeGlbIJM/lKjZaDeSqPI 72wdxGWnB5Kr1uIOoXWXIprCH9U6PUEDWTkcUmAoCDcfTDQ6KVZk7yHMiOecJ3NeNuKY tJUkAVjJoZ0cKY8WUsdFBBAc4WjcOsCns/SgaUnel4aHWdG6axAbRkxBTHt4uK8q8GpP sqn15h0k8ocSEC4O1RQFU30l/BUFomGhBjgLrZ6QJapkk22CJiMA5ll3wLyJG6UaJQ21 2/6A== X-Gm-Message-State: AOJu0YyvKFIRDyxOcDapIIB+3NnNdfIkeYSHYPjIPijJyQv9jj7K5ktP cHcVryUEBLfL1qmKvy9bX8MgpHMwiaYNidCU5s0exHfwxKlcAfRl5zho914CH7c= X-Received: by 2002:a05:600c:3b04:b0:40f:afc8:bb00 with SMTP id m4-20020a05600c3b0400b0040fafc8bb00mr538872wms.13.1706623513972; Tue, 30 Jan 2024 06:05:13 -0800 (PST) Received: from lion.localdomain (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id g11-20020a05600c310b00b0040f035bebfcsm1799017wmo.12.2024.01.30.06.05.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 06:05:13 -0800 (PST) From: Caleb Connolly Date: Tue, 30 Jan 2024 14:04:53 +0000 Subject: [PATCH v3 05/36] clk/qcom: use upstream compatible properties MIME-Version: 1.0 Message-Id: <20240130-b4-qcom-common-target-v3-5-e523cbf9e556@linaro.org> References: <20240130-b4-qcom-common-target-v3-0-e523cbf9e556@linaro.org> In-Reply-To: <20240130-b4-qcom-common-target-v3-0-e523cbf9e556@linaro.org> To: Neil Armstrong , Sumit Garg , Ramon Fried , Dzmitry Sankouski , Caleb Connolly , Peng Fan , Jaehoon Chung , Rayagonda Kokatanur , Lukasz Majewski , Sean Anderson , Jorge Ramirez-Ortiz , Stephan Gerhold Cc: Marek Vasut , u-boot@lists.denx.de X-Mailer: b4 0.13-dev-4bd13 X-Developer-Signature: v=1; a=openpgp-sha256; l=1811; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=0gGpZPGU/Aj6Y/ozb/GJEjFj/hCB904EqK7yiGK/+VU=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhtSdTAJrlm7U1HRappyV0W1xzqCQpcXjtpCtZF253L3U5 IebApQ7SlgYBDkYZMUUWcRPLLNsWnvZXmP7ggswc1iZQIYwcHEKwERmnmf4X3k6Tb+pQstP4sOZ Q3rTfs7/8vW60E+59dJWSW2HJqjMvczwPdL/6sN7iz7rXelvNa44396xjkfnzZzUNl/VKSxRab6 yAA== X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Adjust the apq8016 and apq8096 drivers to use the upstream compatible properties, and adjust the associated dts files in U-Boot. Reviewed-by: Neil Armstrong Signed-off-by: Caleb Connolly --- arch/arm/dts/dragonboard410c.dts | 2 +- drivers/clk/qcom/clock-apq8016.c | 2 +- drivers/clk/qcom/clock-apq8096.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/dragonboard410c.dts b/arch/arm/dts/dragonboard410c.dts index 6a4e3ccf17b1..02c824d0226c 100644 --- a/arch/arm/dts/dragonboard410c.dts +++ b/arch/arm/dts/dragonboard410c.dts @@ -75,7 +75,7 @@ }; }; clkc: qcom,gcc@1800000 { - compatible = "qcom,gcc-apq8016"; + compatible = "qcom,gcc-msm8916"; reg = <0x1800000 0x80000>; #address-cells = <0x1>; #size-cells = <0x0>; diff --git a/drivers/clk/qcom/clock-apq8016.c b/drivers/clk/qcom/clock-apq8016.c index c0ce570edc79..0af7191cff52 100644 --- a/drivers/clk/qcom/clock-apq8016.c +++ b/drivers/clk/qcom/clock-apq8016.c @@ -145,7 +145,7 @@ static struct msm_clk_data apq8016_clk_data = { static const struct udevice_id gcc_apq8016_of_match[] = { { - .compatible = "qcom,gcc-apq8016", + .compatible = "qcom,gcc-msm8916", .data = (ulong)&apq8016_clk_data, }, { } diff --git a/drivers/clk/qcom/clock-apq8096.c b/drivers/clk/qcom/clock-apq8096.c index cf1a347309a5..1e6fdb5cd42d 100644 --- a/drivers/clk/qcom/clock-apq8096.c +++ b/drivers/clk/qcom/clock-apq8096.c @@ -123,7 +123,7 @@ static struct msm_clk_data apq8096_clk_data = { static const struct udevice_id gcc_apq8096_of_match[] = { { - .compatible = "qcom,gcc-apq8096", + .compatible = "qcom,gcc-msm8996", .data = (ulong)&apq8096_clk_data, }, { }