From patchwork Thu Feb 15 20:52:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 773003 Delivered-To: patch@linaro.org Received: by 2002:adf:9dc2:0:b0:33b:4db1:f5b3 with SMTP id q2csp1034718wre; Thu, 15 Feb 2024 12:53:02 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXZ5q1eEIWm3ZNWAXjbIiCMBSXf+CSF6ex9ulio+bOchcc1bQPhrUKIg8Fw4hnFbZ8cdcDrPhebSg8a8DtHAMi+ X-Google-Smtp-Source: AGHT+IGtNmt82s7Fc64T/v/RgVYv9LZq4qeD/U3HECYpPtmMEV7BCfM0gf2kgPNNhcUxCCOLX0jt X-Received: by 2002:a17:906:780f:b0:a3d:cf66:51ff with SMTP id u15-20020a170906780f00b00a3dcf6651ffmr74322ejm.13.1708030382709; Thu, 15 Feb 2024 12:53:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708030382; cv=none; d=google.com; s=arc-20160816; b=tXrhI35GDjj5n7CU/lZW8TpNhNvGYO2tgqL1OHHwqQjlNcnPpT1STg5nJJb9kfivWt REvSzLGYAx1EDSurrmVvyZPDzovzA42xYf2w+OKZodvRFh23MFRn5dT9f8NXw8SWs7+N Z3JVjTOBbXBOKEce9IAAFl5JnG0xOJpk4b6Za9g5O0FSjfGQyW4rp2MZ/6XzNiVXeplz q+osDYoxWbYY2Ti9ezXjVhRc/fUlqy1qK12rgLOzXSQbu16meTrGp/dMzOsY6Ph/4rK+ vToRFsiSt7GJCCsYzQDSxg8RPPo4im1r7EwNqInCEh++m+Crw4p7N6bM+3QXLLMcUZN4 izTw== 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=cZBNm98s+8jVvBQjHUPRpwr9NT0SIeFPwfCeJ48D4WU=; fh=iedv/V5sDDSJnbGNAXCwcA0g/4ynxNkVaCEGTkpjyZ0=; b=pSqXVcOXHxVELD5UhNMAhHSvmgjDrlJ03tNA38Tjg2kuGpjDcIpUKvi8d87IIqSv6W lcULIr6ZXqUlO8rNAcWRcM5oMrcOdU3DVehDVUrgriQ71fshNvKXHTisbQv9RS96g8LA o7xM9h/Mqm2I/BtViFeBAJLn7WzyAk77florNsCKAv6+VZV9eTiKlW1Ihz140AhUTV/B PRatUbQAaXhwt9EX+41ZGz3YHzPETe3ALDCVv76gbSib+hk//tUHCDUUeqhDWVaE/hrX NVC+TBP/6qy1uoSvvRwpToidQ0WVTbu3oFG6Vbxpp9s3fPYd62qHQB46iHpE2lgHWshc f31g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iSM02Ei4; 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 re18-20020a170906d8d200b00a3d11938502si969658ejb.425.2024.02.15.12.53.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 12:53:02 -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=iSM02Ei4; 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 CEBD887EFA; Thu, 15 Feb 2024 21:52:51 +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="iSM02Ei4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A9FA887ED1; Thu, 15 Feb 2024 21:52:41 +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-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (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 ED12687E6D for ; Thu, 15 Feb 2024 21:52:30 +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-wr1-x42e.google.com with SMTP id ffacd0b85a97d-33ce8cbf465so571709f8f.3 for ; Thu, 15 Feb 2024 12:52:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708030350; x=1708635150; 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=cZBNm98s+8jVvBQjHUPRpwr9NT0SIeFPwfCeJ48D4WU=; b=iSM02Ei4K8hdZiF+Dfe7CsS31I6AOw8k2VvvOAzZxYtfbAmoal1UaIdMM7wByPI2qu VuyC5vVcWOiTZOl0WNA3vzitnuICj5dbLeK2sOJzEsTj+vHP16KRyTdLAUu9pdjoAjYB SJD34gdKZn+Fb06QGXuh1T2mCX0wmpkuBePpmamTYco0iNyBAPWlEGk1UW37e/GdLMhu AZX2Tm/9qwWG4Xq4xNt22BcmNLhNkVUjXYgAxIJm3jjgwtKDKguhmlPwDFGNWrMuSa66 chuJCU/3VCTkgns+AKkBF+L7a0tXZAP30VCo5lAlcyfLdZ7hY9hQ9FZgF7H6mFRDGSPA YJNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708030350; x=1708635150; 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=cZBNm98s+8jVvBQjHUPRpwr9NT0SIeFPwfCeJ48D4WU=; b=aZ856N/hq6wkrPVGWbdXIH9EU+ZVomB+tLVxbKWYp7LCejxFoecpnoKgzceoOz9i2T kcAyFQLCp4WNYZIvGAIFLjdoauXl+1Z715nMECZLX18ta5g+OvkhrRlRvBLaYEmSXz0s JaCpQQ1YL9feYUGEPnXCvpaiU1HFvRUipSsur6hDr2aB6fqRsY3QplLmPpTYHjZMhtpc IHD1Oj2iz0bSzPpjMqLY70pbMP6hqGZaEwh0oAYuhOPnFpnOWqrN+1UqOyPitDOk9hve Jqv8YYefOf1lDIQfH606aXliChPtomYOsH3moogCde/qhgxDhr+1Ckh/w79EhCC6vcqw uwqQ== X-Forwarded-Encrypted: i=1; AJvYcCUEzZyje7nbf4qJcrUpGZ2DoYn7d88oI3HuQxB2XaScBV/Ep1TngyoC8xyU+vjCvfLQE7GQ7lXb/GzejkHk/MSjbzgYsA== X-Gm-Message-State: AOJu0YxpaoLa2HQehQLyQywluQb+hIr/PjqUBShu3Ag13tUjRxUe6n5X Ckz80M9lk+sBH0wTcNLsa96ONz39hxCSSJyAwXDxqK2eB4bX3P5GRPHVVA9s/kt6+J9BNSWS5mk E X-Received: by 2002:a05:6000:14b:b0:33d:7eb:1a6b with SMTP id r11-20020a056000014b00b0033d07eb1a6bmr1719622wrx.67.1708030350084; Thu, 15 Feb 2024 12:52:30 -0800 (PST) Received: from lion.localdomain (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id e4-20020adfe384000000b0033cfa00e497sm194025wrm.64.2024.02.15.12.52.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 12:52:29 -0800 (PST) From: Caleb Connolly Date: Thu, 15 Feb 2024 20:52:23 +0000 Subject: [PATCH v4 05/39] clk/qcom: use upstream compatible properties MIME-Version: 1.0 Message-Id: <20240215-b4-qcom-common-target-v4-5-ed06355c634a@linaro.org> References: <20240215-b4-qcom-common-target-v4-0-ed06355c634a@linaro.org> In-Reply-To: <20240215-b4-qcom-common-target-v4-0-ed06355c634a@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=R/BDL2N4IRweDQtqcfiPBRAskM2ezH6gCEbox/lwSRA=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhtRzlS0/W59dOShcZvNf63XvJ/vjJVXrFsj/WBDPWZk/I 62D6ZtyRykLgyAHg6yYIov4iWWWTWsv22tsX3ABZg4rE8gQBi5OAZhIShDD/1C3aeXN0z1SK5bI ShVZv711SDpWfp/mxCsPfJ+6MoS+MWVkaElml1fSlmG0Wh3DHpkfK7Uh/buGf2luUofA92yZEwy XAA== 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 Reviewed-by: Sumit Garg --- 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, }, { }