From patchwork Tue Dec 19 16:04:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 755915 Delivered-To: patch@linaro.org Received: by 2002:adf:b181:0:b0:336:6142:bf13 with SMTP id q1csp1500324wra; Tue, 19 Dec 2023 08:05:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IE1l1CmA232PKn3WJw56oIHk5eBVLcsU9ntV6SV225HVslqntnuGBpn8VMInvBO402DbDb4 X-Received: by 2002:a05:600c:3d96:b0:40c:35fd:be08 with SMTP id bi22-20020a05600c3d9600b0040c35fdbe08mr6485588wmb.122.1703001933596; Tue, 19 Dec 2023 08:05:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703001933; cv=none; d=google.com; s=arc-20160816; b=tlbOfypPWh5xTci+3K2E30O2oM3oEJXSs3jmC5Pc1qjpg1yq358IegwUdMTqzGFUP2 urJL6Fv298Z+CnjN+1toVglRhPfWUHk+5RmlpmIso21Om0ceBWBloyJ0vKmi+J7oHE1r /wQZuVETMtNuS07f5YJdMjSiu4F2apkDdJ2rawrjbpUUGDHtkRD5A2zv5gjINvrHFt46 ZoS0MOlDnCEeIDa2yRa4qqv/R3wkoQuG3rFQbRdrFjW7e1Y5+klK7XiKF4ICyXKBPbQi SSVpO6YK+3wyBufNVGCHSVTlfgHx1qTqLDndYAKzpxQfGXiiR8znXK13ULj+zWIllhKs hVkg== 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=QiBmtbjZUgEcqLlXdvcmsZskO1Rn1r1FSdqFrkP2Nt0=; fh=GB9E9KzRIiNXhkRWIZbZpSMjbCjxnqnvE8nYuQxq8UI=; b=M9ifQkPsEFsn6gTOgzEaT+kx7B+MhCPA0BzU4zaJYwyfbZZWCPbmZQiNSSBAx9lzzI SqcMErtIJL56qivaMp7aY9TEHSprbDLxmm/FukyItrVn6nEWTN8WPd224eaIOs9S48mM X4qwozHZd/knTDpp87VCMXvX4PudtJJH/tzf5zfMfVZnzbE14r/RTmtNemHi/51TD+bF U1ARgMCfiLoqcwmVA8vATYxMG3FWpvwJ3vNbbSeCc947I/8uOCk+LFXWirIMhoMAQa3j 1KfB2dlLwCxWUhzBTzWcHkZgSExqRkpRKiwKw1d1IolntcECmuUUl5/zFSb1Jj64gosK ctcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q0iLPdAW; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id o17-20020adfcf11000000b003366b17f7b0si1836732wrj.875.2023.12.19.08.05.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 08:05:33 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q0iLPdAW; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 440AF87786; Tue, 19 Dec 2023 17:04:43 +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="Q0iLPdAW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 84BB5876F7; Tue, 19 Dec 2023 17:04:34 +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=unavailable autolearn_force=no version=3.4.2 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 907DD87705 for ; Tue, 19 Dec 2023 17:04:27 +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-x332.google.com with SMTP id 5b1f17b1804b1-40d2e5e8d1dso3980085e9.0 for ; Tue, 19 Dec 2023 08:04:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703001867; x=1703606667; 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=QiBmtbjZUgEcqLlXdvcmsZskO1Rn1r1FSdqFrkP2Nt0=; b=Q0iLPdAW0RRAJIcWZ0g7QzHVYikBnj73gCPqnT02KxWC4FBhWwSsHRvb2/8mZRLyL3 QcTeIL2W6bbcSVngufk48u25nEfbWdJKH4/v+FvAFqmKGtC0HbzMRP+8NpjQgEzNBJvI 3qiQndDRTgtOzHlRxvD3kYcNZnVWsC38RXhvEIXlRu6H7LnRHQHxhJUJZEpEAv0W5wQy BM56JzQBnwv2KBfgCfq4Tkvqs2ygdW5+Bl/+rO3STnOSjohfuapN+3rnUAs1khh14HNr XQKuBh2iMYm6umYrQJAD0EwwmKFAA6HCtkyLjEBcfnT9SjejcscgA5gTVJMw9z23f9+P w3Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703001867; x=1703606667; 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=QiBmtbjZUgEcqLlXdvcmsZskO1Rn1r1FSdqFrkP2Nt0=; b=o94+dcbs49P8Thvjo+rgjgg+ENTMZuUmOtzHV/rNOJX8oaSmtyLAVga/t9Is+6VRui 8/xKJ9Z2y6d5vUW2Q56eoZelnd+S3+PMn8XTMhpe9ZxSJ29UQ9E5SvuadKenBIvfDwiU FNudI0MSItwSf9PVTcOjqXFRQVn7xCKLfmpt06ZWfnCZktG4kMDLG7Qc2n7ZIPAZAO35 lcuyttG/YuRATvZOeM+SJ4XeZ6Kbon/brdNOpW0CqoEho3CsDUnCgvx+/NfeOmZlXoHG 71riNDjln76lS8z+zH5vW99Rekj5GecLG6BWAIt7pcirg23RgUX8I1hjfr/cMnW4vgge rI7A== X-Gm-Message-State: AOJu0YzTQzNdg4wi93Erp7AipA2paA3DX76fpVo63CHQUw6QyZIo2H21 RT68Z9b3fEfr6rb+42DkjFab6A== X-Received: by 2002:a05:600c:2a8d:b0:40c:1da7:a5fe with SMTP id x13-20020a05600c2a8d00b0040c1da7a5femr6722536wmd.25.1703001867189; Tue, 19 Dec 2023 08:04:27 -0800 (PST) Received: from lion.localdomain (host-92-17-96-230.as13285.net. [92.17.96.230]) by smtp.gmail.com with ESMTPSA id je17-20020a05600c1f9100b0040d1450ca7esm3429723wmb.7.2023.12.19.08.04.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 08:04:26 -0800 (PST) From: Caleb Connolly Date: Tue, 19 Dec 2023 16:04:06 +0000 Subject: [PATCH v2 05/32] clk/qcom: use upstream compatible properties MIME-Version: 1.0 Message-Id: <20231219-b4-qcom-common-target-v2-5-b6dd9704219e@linaro.org> References: <20231219-b4-qcom-common-target-v2-0-b6dd9704219e@linaro.org> In-Reply-To: <20231219-b4-qcom-common-target-v2-0-b6dd9704219e@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=1754; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=gKr87lVRqUOoN68BAsbJs8gqpiVUVEWCMjXxBq6PkmM=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhtTG/UxCJv/fiVy4O3VPj1/fxiLJyo13Q5ZzXZH9s2zlH WfmaOH2jlIWBkEOBlkxRRbxE8ssm9ZettfYvuACzBxWJpAhDFycAjCR/byMDMsmiDdO6z34pzxH Z8sPjvbwpEfNxadErz/1S4mdkT5logbDX9ltIazRqXvSIr4eCgiM+/TN7m7vGz4dIY0gcZn/Kw6 u5AAA 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. Signed-off-by: Caleb Connolly Reviewed-by: Neil Armstrong --- 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, }, { }