From patchwork Mon Feb 26 17:26:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 775911 Delivered-To: patch@linaro.org Received: by 2002:ab3:621a:0:b0:258:3251:9e33 with SMTP id w26csp1492807lte; Mon, 26 Feb 2024 09:27:30 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUtaBVNOfodFbA6b3bGX7t12hCH5EKR/iqjXEvTg5COyXxvKBZoHvYyAAL5DAj8JeSgHtMLOUO5JL9Lkg2/tbQw X-Google-Smtp-Source: AGHT+IHQWjdYXeJAZ+OCI/W0RnENhVWQzBdJtVO6oramYKPWOB7bCNMP9eN3vUWinfj3jiCst52N X-Received: by 2002:a2e:9913:0:b0:2d2:8b07:ccb2 with SMTP id v19-20020a2e9913000000b002d28b07ccb2mr2234190lji.36.1708968450744; Mon, 26 Feb 2024 09:27:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708968450; cv=none; d=google.com; s=arc-20160816; b=SW6uGAkNQNwRgF9QHhLcAPs/7vHC+asa+wRpA6jS8gj2pu+uMmKXe+2QFaX2w/EORw svAG3zxjlx6N/nWU3YGYGICEKXJa5QBCvLUHzcTHMVpKTszp5oiTuJmUqZqZ5jGXzy2J eXmSLvA4YihgQQxLeh6Depz0JCsk1r+qxQq7KfTIpU0UwsTX91T2TKmKkny6yIfCdj17 1k3yeXifhgpqAEbhBJ5aTdv7VU9DQyGbMYvSX/zVymcSo70kMeonX4uI1gT1EPb/N8Kd J3pWZOG9bvoR+QbxzSSp+wl2rjpLCi7nsklrygKRxwkGskQWgfMO2W3lsS85gupN/Z1d vDFg== 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=PLCxfquOFP5eGC757z8vqBm6UqLEUigh/y7meanjeTA=; fh=hoHrOMVAJjmsHfgPcl9Dq1Ku/waLecV0k0NfygLMOEs=; b=sl+xDPcxck8I93CRAyeRkPOS8o6oyl8sozxNrpWBiuaOtYU+2HP5OEqcloFhroClTx mJZ6nVz3auisngbaieSOwiWh4eI1Cltt8JhvuP7OZbHk9wF6S8Sz3SC3dLdGJYyWa6MM KZmCQo0zHO6V1aHwojKDj+pWb4yh6YIKtme0EfKMTTkjPbWdY8XYbe++D8HDC/zKOHD0 7sWiuY9LC/NqG6cZfx34I3n44rK/KdrXPjXBTN89qUlLk/O5/T8d/kZcXWd67Bm4LHvj R6OauDrIsCvfaZG+++i7lHQtwYx0kK0escVAdorsLFTxlRrknoyqT+sQ5shT9BRHrlME MDHA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TEKzpBpv; 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 f15-20020a05600c4e8f00b004129f45570dsi2568752wmq.110.2024.02.26.09.27.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 09:27:30 -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=TEKzpBpv; 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 28C9D87F2B; Mon, 26 Feb 2024 18:26:36 +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="TEKzpBpv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 99C7F87F6E; Mon, 26 Feb 2024 18:26:33 +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-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (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 8F60F87F34 for ; Mon, 26 Feb 2024 18:26: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-x335.google.com with SMTP id 5b1f17b1804b1-412a7b68809so6056395e9.0 for ; Mon, 26 Feb 2024 09:26:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708968387; x=1709573187; 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=PLCxfquOFP5eGC757z8vqBm6UqLEUigh/y7meanjeTA=; b=TEKzpBpvsHRA/tR9ToX3r/2KUWxjLfgYf4RwSe9yP0R1U2LnR1gYMUP5ZBTEAsaB/y lXc7ng/mCAm/fpNN0MRH6+Nha70KBQOsgJ9aFReLkPiZTIzM1lGAldohlkKKC7vbBYOX iUEu4oh+lDBWTthng/y964y29NSObZRfoHDe5ul3Uf4+qE2waeQF6FHtXCzxum5aeHys iwr/rGiS3eQ6fd1cUaU7iHNy1fJQ5/U7bMw2XRRJWfSgyemVhPEznWFGuyQ/Uso1bw7V fNm+FdBECmEHPo6zy2ffJiwpwfTNArHS/G/6H5K+joPOftLYsThUF48lM7q0x1/GFuqU LiTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708968387; x=1709573187; 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=PLCxfquOFP5eGC757z8vqBm6UqLEUigh/y7meanjeTA=; b=pBxT35bTKDZL1wvsDPrXhBbQb0eqiA6OZU9jr3MJFvfa3F8AF+zzLGAFH6nkaBcwSj flla0CsgFeV154/rhdkN2KFSOgEOIq/vH7gw7I6itBoqU3Cpzv20MYpcQwCe7J7pYkSJ fUDYZxUCoJdzzfg6HfF+r9hB83vQKAfYAKBI6zVA2kz0Qnc+lSa6TW/ETUdZyJW2kLSP i0F07LAx/ByewD5Yt3H6eicD8dLGQRLLasHhp1z954bkwOyCGMfsBReRPbiP4ZIqLXOH i/HxI/ge2Zxm5BtD2Ohg8RB5ot12qW2A7u6ikNyr3PscrLf0Lz616uVCl5trkPL437Xk KVlw== X-Forwarded-Encrypted: i=1; AJvYcCWsMWbY3JK0OxKphmCjGVmAZja4YxppocKRbtbNns5pntZnnJXfNPh9DjfKw/xO0R07ontswFKXi14pRF45KBiUEKAivw== X-Gm-Message-State: AOJu0YywfkmLAE108f7abbo8wOpzWgwbC7TB4d20AnN1mrOkyEVERczC CsJgEhimALMNLkWdl9W0nr1zPgZdLaxyfuVfdSDHkg3OPzYJr/QLXi7aa34k6bY= X-Received: by 2002:a05:600c:4f0c:b0:412:a123:492f with SMTP id l12-20020a05600c4f0c00b00412a123492fmr3808334wmq.35.1708968387080; Mon, 26 Feb 2024 09:26:27 -0800 (PST) Received: from lion.localdomain (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id bt1-20020a056000080100b0033d9c7eb63csm9142256wrb.84.2024.02.26.09.26.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 09:26:26 -0800 (PST) From: Caleb Connolly Date: Mon, 26 Feb 2024 17:26:09 +0000 Subject: [PATCH v5 05/39] clk/qcom: use upstream compatible properties MIME-Version: 1.0 Message-Id: <20240226-b4-qcom-common-target-v5-5-10c8e078befb@linaro.org> References: <20240226-b4-qcom-common-target-v5-0-10c8e078befb@linaro.org> In-Reply-To: <20240226-b4-qcom-common-target-v5-0-10c8e078befb@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=1962; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=EPnr5aaQ8q6sWPeR3jcOX1xa/jyqbhitNxQLHwc8lKQ=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhtQ7J3caPOrqX3RCvGW99z7rsyu+ZXiKRdqove6MsGucF GzznOt9RykLgyAHg6yYIov4iWWWTWsv22tsX3ABZg4rE8gQBi5OAZjIUimG/0FmdauvG14N3Vfj NbW+/+jNU9dsU0uvccrPXxjLyxBboMTwz8Z39qpft6+4t8bac/+TLCiYcDuh8MH042l//xc21Ka vSwYA 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 Reviewed-by: Sumit Garg Tested-by: Sumit Garg #qcs404 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 @@ -74,9 +74,9 @@ bias-disable; }; }; 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 @@ -144,9 +144,9 @@ 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 @@ -122,9 +122,9 @@ 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, }, { } };