From patchwork Fri Sep 29 13:38:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 14727 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp4173069vqu; Fri, 29 Sep 2023 09:51:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFr4mUeC2MLgHlq/k0EfwLbo7V1BWW3MxXncnX3dNy3cRWH0WQyidXLqPYQntoKQE1GFW4x X-Received: by 2002:a17:90b:4014:b0:262:ded7:63d with SMTP id ie20-20020a17090b401400b00262ded7063dmr4741332pjb.17.1696006287066; Fri, 29 Sep 2023 09:51:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696006287; cv=none; d=google.com; s=arc-20160816; b=dxMv8XIdGFFeUdHeAGmrVadUpfJL9Gonurff/2V/LFkXxdziTh/s3szVIK5wVONd2U ZsDtbVOSpOrYVt3rzMoI+3PZI/b65ZRgiMvg1kIw0lGPZOymH3vZJyMaHplUB7gOHEJR gBbyAKz5ekPZZhmTM/W1OAFXJ6F4A8hqKTy7jcxo5jD90es5W7RFc7GHS9mxRUP5iakx smyzFVBLUZ/9QU1DXBCCvc9NMbuNrmvlWBT4/OV6Lg98+aH8CIImTOoLnKJ3D7Ci4p2B uNVf4xvTXzn5wsqvToSCONm6631Pc+k1RAPYkxv8KUMvwtLAKEy+YU1FTCwTWq6ghp/7 C3RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=N80cnpAhKZAQNAt0LvDi0BgqS0Cl+s+lMzHKGl0eRh4=; fh=jTxxrIhheSgunmDiLkbJKGOtxWtojOoMsz2BV8Fqrhs=; b=GDXNAl6ia+onqORVzsa6Hu1pnceRB4qEUCJNbbmMtZzgElavYav3JOvmQr2ybRIxmi zO4FqRL90UwiKLg5JYH3uu3OE5KHY8+mRvrp9T2hUpljIf+MaSwWlgLiYKN8Md19AQYY JBfsr+w/WAozD7jAwEtbuLreOUtqyNhvpFMr5jq22ixoNaIftOMMfRLgcTg/rLDiTsdn 5O+XATOWkpjQi4qbDBiEKgjEa1W3YGz0s061NDDDZSuFdktOdBM48CrMdFRv9ihUn7l/ vxvVM3xpzV8DNqNTZVlbxt3WAi855mfaSbTE3Bh3+HCh9SXQfoWyQPZl0vAwFlTn3Fh6 ICcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PB8XYtTt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id lk8-20020a17090b33c800b0025bb4a1c12esi2112128pjb.148.2023.09.29.09.51.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 09:51:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PB8XYtTt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 13F3E85C6CEB; Fri, 29 Sep 2023 06:39:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233340AbjI2Nj2 (ORCPT + 20 others); Fri, 29 Sep 2023 09:39:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233464AbjI2NjQ (ORCPT ); Fri, 29 Sep 2023 09:39:16 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32E4BCE3 for ; Fri, 29 Sep 2023 06:39:02 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-53447d0241eso11239261a12.3 for ; Fri, 29 Sep 2023 06:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695994740; x=1696599540; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=N80cnpAhKZAQNAt0LvDi0BgqS0Cl+s+lMzHKGl0eRh4=; b=PB8XYtTt/2Krfplz+H6ZYkl33Gsq3y7RiFEHlwN2Fx5sYwSBaxmZHsI6PzDMLixWuc GimMf2klP1e394MhNDSs9zB2qqgttaiSiqf2pRNMMVdLfs/T0o4TWEvl+3e15n66gzM/ CYBpPeMZL19lRhu4wjSNwX0iOpA3o2/IbTBsiddzUsZvETt4vrOknQXJx4bZAn5me3lV 2Di6xELuCUHCPdiEHOppLqdr84AcwUTWqpX1TkHSz0T2zca84LRYWdF+7py9tG8Ks7eZ HOr0jX4+V2ZHpEXrR/djBjh1OU7DkUHGxdzSBiy1T5JKFCm63nQOaNWhbAI8QOYL2uWL fSNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695994740; x=1696599540; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=N80cnpAhKZAQNAt0LvDi0BgqS0Cl+s+lMzHKGl0eRh4=; b=u64ESEsvQfZL06AxOr2COZsppgReXjgh5Tac79fKbpdELEA8H3Hn/ZkQdgTmWco+6D l/ZVZ9nm0v1Y6d6e9vofpcyJnN8CEE9jQkzN4xXtgq5lPdLAYrBOKnGXI7n5qj7k8JLK APACHrpYU1gLFTeWKarZbKhYyZIqCQygzZE0NtFwVT3EZO9V/KrHDpIg/4HP8WgsVC9E Rf2o0zk5oL8Zjt1tjyurxag/njsjkeXiAfKI7jNQok4BU8Ry6Xa9Kfn8JgU8VQCRC2CE uNSZqplbOXpaaPpo1476bMUZ9OgwUgcgxl34A/LQok1osPj6dCRw27jleVNSzYOqazyC 3yww== X-Gm-Message-State: AOJu0Yy3XZ/GbC4ppJgoiya6vB6TpF5vBLVzSx8WtqVPHNCONVs7ETrt 5kvxEGLAS3x++6rxf78NSLrwDA== X-Received: by 2002:aa7:c58d:0:b0:530:8d55:9c6f with SMTP id g13-20020aa7c58d000000b005308d559c6fmr3183409edq.2.1695994740560; Fri, 29 Sep 2023 06:39:00 -0700 (PDT) Received: from [127.0.1.1] (178235177217.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.217]) by smtp.gmail.com with ESMTPSA id cx14-20020a05640222ae00b005362bcc089csm2215701edb.67.2023.09.29.06.38.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 06:39:00 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 0/2] 8280 display ahb clk fixes Date: Fri, 29 Sep 2023 15:38:51 +0200 Message-Id: <20230929-topic-8280_ahbdisp-v1-0-72bdc38309b9@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAGvTFmUC/x3MMQqAMAxA0atIZgMxClqvIiK1Rs1SSysiiHe3O L7h/weSRJUEffFAlEuTHj6jKgtwu/WboC7ZwMQ1GTZ4HkEddtzRZPd50RRQqpaEnOWmYchhiLL q/U+H8X0/pz8Sc2QAAAA= To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Vinod Koul Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.13-dev-0438c X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 29 Sep 2023 06:39:46 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778391488713852392 X-GMAIL-MSGID: 1778391488713852392 Little fixes to shut down disp ahb clk when dispss is not in use. If possible, the dt patch should theoretically go in first, but x13s worked fine regardless. Signed-off-by: Konrad Dybcio --- Konrad Dybcio (2): arm64: dts: qcom: sc8280xp: Use the correct AHB clock for DISPSS1 clk: qcom: gcc-sc8280xp: Don't keep display AHB clocks always-on arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 4 ++-- drivers/clk/qcom/gcc-sc8280xp.c | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) --- base-commit: df964ce9ef9fea10cf131bf6bad8658fde7956f6 change-id: 20230929-topic-8280_ahbdisp-e170e0ca2442 Best regards,