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>;