From patchwork Tue Dec 13 13:25:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 633599 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF3F9C4332F for ; Tue, 13 Dec 2022 13:25:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235545AbiLMNZ2 (ORCPT ); Tue, 13 Dec 2022 08:25:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235546AbiLMNZZ (ORCPT ); Tue, 13 Dec 2022 08:25:25 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA74D20375 for ; Tue, 13 Dec 2022 05:25:22 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id x28so4873417lfn.6 for ; Tue, 13 Dec 2022 05:25:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zbT0fafmzTHukwKRXE1XU496DYVTEGMa/YXTFnZk2Hs=; b=t+nh+QQwG1a3tUQ/DJyuMDQDHAF+B3fbEABr+cam+Z6IzFe6SqjafVZFGoLhxQqewX yqxSP+M0SCfyGDsGe2JUD1FYgWmgDM1SKaOREFgRlsjcoS4sZ7oDASIdmmawNF0jTaOU FB6S6658trp61k879qJJJQifXMMC3SRaw0iFBI6j4mKKeBMerpC9fwWtXiN2JaJCCxOj XHlZyVs8MukN6G5T0XiQptzkygqgKktSZ7gPWezL61sUgR7QWTwUscsab6bL6qxL9J+D MWe9+wQuK9LW2i50TLq/DlG7gPyEgV+xB0kvWHs0pIc7S+zDcQXnzXChoiDBLbNamv2t 8PsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zbT0fafmzTHukwKRXE1XU496DYVTEGMa/YXTFnZk2Hs=; b=fO9Ky8voTqQVRO9H3wyw+9OO+eg8my9CIFNRr/bA+8poDlSX8Wrlp5alMY7vJU7PuA QVGMdcmrSu4PkHHIXa5GGBnA2FNN/qAbY51K/AYs8juYLmgs13MroziNc/JfC+NIBhtw jgUzKhYBjZKm4VqN70Z1mlSTezXix10WZzdI6KqFpMoB1Bg+VvxekT/Foltj3wVVJ6Zo gHQpm8ela3wcCm1lLFdAlbFu4iQ2nWouJtg4LPSF8D+euTUVmJ95tJSXjU2xoNrQOVsk 4o1IE5sZsaGfxbfqB9/EpjL+e7ObVn7EiRHx5iwIAmoFjXpmc23UqsD3ZMJrUb9aucFT ofjw== X-Gm-Message-State: ANoB5pmVjLKL17ppRTaoNqSbRbyCKv/B1ZofKPasbbPs/sl3ELDTGeoX mIbdReMGdGYp/Q0jkTgKqXUl1KHyKVbzNoo5 X-Google-Smtp-Source: AA0mqf6isKEIc0Od+et/Fjj46eJY5oJB/zV5/1mJn+DMAAO4ifVJV+bIKTTZRX3FWL2h6Wt7bnjXZw== X-Received: by 2002:ac2:4e4e:0:b0:4a4:68b9:608a with SMTP id f14-20020ac24e4e000000b004a468b9608amr4437277lfr.21.1670937920436; Tue, 13 Dec 2022 05:25:20 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id k8-20020ac257c8000000b004b0a1e77cb2sm366564lfo.137.2022.12.13.05.25.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 05:25:20 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] arm64: dts: qcom: sm8250-edo: Remove misleading comments Date: Tue, 13 Dec 2022 14:25:15 +0100 Message-Id: <20221213132517.203609-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org As much as it hurts me, there is no FM radio chips on these devices. It seems to be present on Japanese models, but these are not available globally and differ in a few more ways anyway (such as a super high-tech NFC chip). Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi index fdfed4c3201e..bf484ee20b21 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi @@ -529,10 +529,8 @@ &i2c15 { clock-frequency = <400000>; /* Qcom SMB1390 @ 10 */ - /* Silicon Labs SI4704 FM Radio Receiver @ 11 */ /* Qcom SMB1390_slave @ 18 */ /* HALO HL6111R Qi charger @ 25 */ - /* Richwave RTC6226 FM Radio Receiver @ 64 */ }; &pcie0 { From patchwork Tue Dec 13 13:25:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 633598 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CCC96C10F1D for ; Tue, 13 Dec 2022 13:25:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235518AbiLMNZd (ORCPT ); Tue, 13 Dec 2022 08:25:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235548AbiLMNZ0 (ORCPT ); Tue, 13 Dec 2022 08:25:26 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A869C2036B for ; Tue, 13 Dec 2022 05:25:23 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id p8so4838184lfu.11 for ; Tue, 13 Dec 2022 05:25:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=FN8xeSOYenD0W3En3HueNdUVcXmiSJI9dmO6Pv4GArM=; b=dTUs9PMabrB2FUaw7UavxAkbtMp9OkhbxTt5XYTKbhvQkRPjh0ahQWoPEkhFgsRkmG IKIik0HE1JM7h9pBPGO17w8wR0iVLeZNhyZTlXNhftBHv34o769f/N7kpXyvOxl73zVK n5kE+ejelu0lhRtt8chU7DsIlLncsCn7/Pg2bCN9bLIaZolsnBWo2eY3p9pZid+Tg0oy PO8Dsz4gmVVb0HkWhlvYhB9cMlaIahCfY89JyqZQ5xtymiuSsI64rqcEN33vOWIS1fqh lt9xzifEGsSSJZVZegL2KgO2DzU+dx+JMxU7VsQj12zqmocgzofKZ0VadjLeqwqGkHBy UWzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=FN8xeSOYenD0W3En3HueNdUVcXmiSJI9dmO6Pv4GArM=; b=cGFW/EYSuJM+Cei1yKAlktQ9O9FO8IRpNtbEmlOhCViIfw1zT0/+xNL0Rkc4koID5e 9ls2yBD+FTMN9Z6YHsBP/YrNFJHcJQGS85SF9SKXaK6p5Ukwy47uqJWSGxwywM4lpm+X Ee/29kg2LO21179yZEUWWKWOr1JPoSNKcRpPqn1fpMo6GYoo/nr8AjT3JUPw3D0HMFef 5I0iGh/7JHOwjDAtZF0ukP3YJBS/QleZfKILEfEDuPu/Ug/RQcTDc+6Rhfqn3tLbKHjO 6wvRIcCVjHpfVk4nSI+G37HU+u1tgPWhs4CDluVzJVVOl5GTqet6KZQnPw1EwljzhwcX Hjcw== X-Gm-Message-State: ANoB5pmgg+bpN0/EGD2O9DensSBXiTz1revafb1kz2tWK8T4IK32ad0l QGRy6Qgmekk8wnOOJXeI3CHO0jG2abacnDQ+ X-Google-Smtp-Source: AA0mqf5TTa9Ln5hGbm/fCzc9kJuMht3cImENJ+R/IMnbc9y43eCk5WuguyaVHrvT9PgbAKrFSo5keA== X-Received: by 2002:a05:6512:3d2:b0:4b3:9fdc:1697 with SMTP id w18-20020a05651203d200b004b39fdc1697mr5077168lfp.47.1670937921813; Tue, 13 Dec 2022 05:25:21 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id k8-20020ac257c8000000b004b0a1e77cb2sm366564lfo.137.2022.12.13.05.25.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 05:25:21 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: qcom: sm8350-sagami: Disable empty i2c bus Date: Tue, 13 Dec 2022 14:25:16 +0100 Message-Id: <20221213132517.203609-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221213132517.203609-1-konrad.dybcio@linaro.org> References: <20221213132517.203609-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org As much as it hurts me, there is no FM radio chips on these devices. It seems to be present on Japanese models, but these are not available globally and differ in a few more ways anyway (such as a super high-tech NFC chip). Since it's the only subdevice of its I2C host bus, disable said bus to save some power. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi b/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi index 2f727e4f2e57..c63f813d6d5b 100644 --- a/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi @@ -472,13 +472,6 @@ &i2c1 { /* Some subset of SONY IMX663 camera sensor @ 38 */ }; -&i2c2 { - status = "okay"; - clock-frequency = <400000>; - - /* Richwave RTC6226 FM Radio Receiver @ 64 */ -}; - &i2c4 { status = "okay"; clock-frequency = <400000>; From patchwork Tue Dec 13 13:25:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 634615 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 692E5C4708D for ; Tue, 13 Dec 2022 13:25:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235529AbiLMNZf (ORCPT ); Tue, 13 Dec 2022 08:25:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235586AbiLMNZ0 (ORCPT ); Tue, 13 Dec 2022 08:25:26 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36A6C20379 for ; Tue, 13 Dec 2022 05:25:24 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id p8so4838282lfu.11 for ; Tue, 13 Dec 2022 05:25:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=lUxAZhR93P0jRFXyS5n17x4tHYYen+iMdLH9RRDlI4I=; b=OWPen/1WbdEXfF4UbgZgZVpVAV3LqXs4INh8HU2tlDI4qRxn94EIvaE6KRiTfkAQ5j QMa6GSRVjK53+F9t+7QLy/ZiRBYaoVfYBuv5tjw9HJUJmVR13qioeT9Udik+AczmNRj5 5LqgkK1yHzkMBilsdsuhBDdlgoS+Gq/cYhz0mOIGaqmeEY8Nbhpy685YTKQq/fQ4AbBF IBqYuAfvONs1MIbXofCNUZ6fJ2U/HpBk0hhB2xTLRtcxrnQim+p4MrtqCfhju2JjYtie pXk5tSE7a7d/DYzsF3VwgxNZE6CMGDxXsubacGCmUyFTvatsV65AJieT2TLQnLobHQQh Lgew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=lUxAZhR93P0jRFXyS5n17x4tHYYen+iMdLH9RRDlI4I=; b=U9xuO5nhBCcK6cjlRJLTAlP7BEJSoro9Xv9l4M/GhBWK8DWAc9OJJHfrD1YXuOYKHf RfUVa7zJ7c1GhEpz2ZiQ8uN56F5VOyek5KcN9fl0PeLtaUVOqlMkEUdcBFxlY/8YUpUm 2Zs3C77TN/CVEzhpKpit8kzpe+7yiqjH6Tl6n0jDvY4a4c46tcYQXWqrWnHcC6s1ietj lCj76/g0qspTtxOGxwGd9lVJFQ7hG5+wAvkhbJ50pCgJmdIvgbLoLNm2hMPLpgL/U8tI uCsC2gi/LHT0awE8Pd7hndETMYyaJotJp4CSc42hRVp9NSl7S6Lswneoq3/suWKG/L7X EVHQ== X-Gm-Message-State: ANoB5pn9w4Dnko8VafrPkvCzgiotAIolj10FarFNja5iFNCDSewuCBOB HinomjC1gIDEvutVuzA4vpELopMMJV2s0UU3 X-Google-Smtp-Source: AA0mqf60FH1tofrnU8P3ShRDM3PPXipwLoDUAQAWXJa4P/m1ihYXpXtJAHs4Az4u0Cl4bvuyhO4O3w== X-Received: by 2002:a05:6512:b0e:b0:4a4:68b9:66cf with SMTP id w14-20020a0565120b0e00b004a468b966cfmr7101939lfu.26.1670937923154; Tue, 13 Dec 2022 05:25:23 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id k8-20020ac257c8000000b004b0a1e77cb2sm366564lfo.137.2022.12.13.05.25.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 05:25:22 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: qcom: sm8450-nagara: Disable empty i2c bus Date: Tue, 13 Dec 2022 14:25:17 +0100 Message-Id: <20221213132517.203609-3-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221213132517.203609-1-konrad.dybcio@linaro.org> References: <20221213132517.203609-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org As much as it hurts me, there is no FM radio chips on these devices. It seems to be present on Japanese models, but these are not available globally and differ in a few more ways anyway (such as a super high-tech NFC chip). Since it's the only subdevice of its I2C host bus, disable said bus to save some power. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi b/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi index 6e100b97eaed..c7c20d374f77 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi @@ -604,13 +604,6 @@ &i2c9 { /* NXP SN1X0 NFC @ 28 */ }; -&i2c13 { - clock-frequency = <400000>; - status = "okay"; - - /* Richwave RTC6226 FM Radio Receiver @ 64 */ -}; - &i2c14 { clock-frequency = <1000000>; status = "okay";