From patchwork Tue Nov 28 09:43:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Gerhold X-Patchwork-Id: 17197 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3794099vqx; Tue, 28 Nov 2023 01:43:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGW1I1JumJlg5hYn/yV1OMCX75PxRA0tJxQWgrxuuP0f9Rp3nzpBFJXj4pASo7kssvgbtpz X-Received: by 2002:a17:902:bc49:b0:1cf:c618:d770 with SMTP id t9-20020a170902bc4900b001cfc618d770mr6338585plz.14.1701164630226; Tue, 28 Nov 2023 01:43:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701164630; cv=none; d=google.com; s=arc-20160816; b=bxAYklu637XdZQLgtDx+u92Lnf5clMXiX6JqwN1MeScMBqiF0QpMg1tPljtMW4hsEj +XLGnOuqtnp4kb5WtAYnY816+AR9wj85/t0jpRE0BSH3gFvtHmy/9OsyYSpnAPPSLSY5 KCqOITXaVZDB15aNUAuRFZKo3jKxtGupEOxrDRCUMNL7KDB4EUzugxPoMN6BSNhhC3rt ccf+tsCeyK8/gt+WEyAYQnx3ecLcUTD0mWXwt2Scmb9GYrLiE/zp6aTvOK9Z1+TZFj9e KTIlF7vCmFlAVq8Y7MKVv74QQDY051lBrJDPn3v7ETQ/EK41oN419SxF96DFmmkwy9ki 8lUQ== 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=dhnXcjMI9E7q+q8qflgLfPbgmQz993e+7z5nLM7la5Q=; fh=G50WESriYCxuL8pWq+/emZiN93thjcFMI3iSASoeCxo=; b=FNr5wsPReeFEZ+R2VzrzGS715X45fV87idJmmI88/lMrWCw1qbV6Qk0swgYQNI+mTT vqmqm3yWyRcvK2VM1fGl+i2bla22OdzPAvIH4V8vkDGJJBh6wlGu9i4YsmnYLWGyngc2 CznzfbkdY8vvZCz9Av0JHaC66Nzq8uBVpe7aBeu6pqcN+Nkiqe/HoY3hnHZ2KiNrpywg LooKGHK6KIni1wD16rrCozLbmMfxEAkmpe/riEQ6HrCfqEYmhR+gQ5mRpT+fNeiN/2Ci W/hrDfKhpYWVF7iowLqlQ/FuFoiCuQhoSUNTkRGapMZkVLefse41sRflX7QVOeV5ZW7j x2dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernkonzept.com header.s=mx1 header.b=mcT9MeLj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernkonzept.com Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id k17-20020a170902c41100b001cf5c99f2adsi12497406plk.261.2023.11.28.01.43.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 01:43:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernkonzept.com header.s=mx1 header.b=mcT9MeLj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernkonzept.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 59F5D8057B10; Tue, 28 Nov 2023 01:43:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232012AbjK1Jnh (ORCPT + 99 others); Tue, 28 Nov 2023 04:43:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230105AbjK1Jng (ORCPT ); Tue, 28 Nov 2023 04:43:36 -0500 Received: from mx.kernkonzept.com (serv1.kernkonzept.com [IPv6:2a01:4f8:1c1c:b490::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75233D6; Tue, 28 Nov 2023 01:43:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kernkonzept.com; s=mx1; h=Cc:To:Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:From:References:In-Reply-To:Reply-To: Content-ID:Content-Description; bh=dhnXcjMI9E7q+q8qflgLfPbgmQz993e+7z5nLM7la5Q=; b=mcT9MeLj12lISJj27FhbjYI2Bw hfjPVGBe0GInISaBancGe0GbfBEamz5K2VungQeIhCN13DEfySOEYS9G/uiUMyJugwi/3TZJ6tsL8 Od4rW6Kd4krfdT+tYao73grAH0mrqSGzffqpUSFfPuZVuwOgzstLFS4avpxlm1v3BzHTaAssM6olK E9WCOfsk8bfFqG+5UmqIX9UD15zZa8ahDIjO/bsAzfekxKWK3NpZSWoRuLcgsu+NPeT8WYkxyrJRE ZC7Zjg8dqYnHe+BKH/ex4/B1q7DKnubHb02hxb8T6n0ekWVmSEwPfJuiq5iFBjGHvnldZ3dj24jHa HhnacPNw==; Received: from [10.22.3.24] (helo=serv1.dd1.int.kernkonzept.com) by mx.kernkonzept.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) id 1r7ucz-008PbT-0B; Tue, 28 Nov 2023 10:43:37 +0100 From: Stephan Gerhold Subject: [PATCH 0/2] serial: msm: Allow scaling power domains and interconnect Date: Tue, 28 Nov 2023 10:43:31 +0100 Message-Id: <20231128-serial-msm-dvfs-v1-0-4f290d20a4be@kernkonzept.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAEO2ZWUC/x2MQQqAMAzAviI9W3CTgfgV8VBcpwU3ZQURZH93e gwkeUA5CyuMzQOZL1E5UgXTNrBslFZG8ZXBdrY3xhr8fNoxakR/BUViT25YnKNgoVZn5iD3f5z mUl6NnpBIYQAAAA== To: Greg Kroah-Hartman Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stephan Gerhold X-Mailer: b4 0.12.4 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Tue, 28 Nov 2023 01:43:46 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783800403429119866 X-GMAIL-MSGID: 1783800403429119866 Make it possible to scale performance states of the power domain and interconnect of the UART DM controller in relation to the selected UART baud rate. This is done by setting up an OPP table in the device tree that describes the necessary power domain states in relation to the UART clock rate. Signed-off-by: Stephan Gerhold --- Stephan Gerhold (2): dt-bindings: serial: qcom,msm-uartdm: Vote for shared resources serial: msm: Use OPP table for DVFS support .../devicetree/bindings/serial/qcom,msm-uartdm.yaml | 13 +++++++++++++ drivers/tty/serial/msm_serial.c | 19 +++++++++++++++++-- 2 files changed, 30 insertions(+), 2 deletions(-) --- base-commit: ab58841ab9fca536e5579312d7b46cbc4822e29c change-id: 20231121-serial-msm-dvfs-aeda58c55af2 Best regards,