From patchwork Thu Oct 17 00:57:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 836216 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 048E918622 for ; Thu, 17 Oct 2024 00:58:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729126686; cv=none; b=DLPWwbDDPTYWrftEXqE1fFHxV581MCArqr2NpBwQRSRaV+rJUo5TObnIOo/5RAmzXWenx1dC0MxEYxxPXdm5gXGRjbUfYoAXtQIJAFxaVIAJhLiteEiaIdJldaieTSBYZQ7i8HaS4/FwbYmYVPo5xB9jXq7XtwMQ9sTEWdcYqLI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729126686; c=relaxed/simple; bh=o/hKjkpIXN5X9YEh3aqgzH3lbQ/mZRL25pDg6BvBfrw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EiyeWvWd01H6Lqqp7XK7iSJWSDr09TVqMancK4btCLeZUxLhxPZDcz7fLf1MCRnc5RFMpNFJIX5xPpmhzOM4vMl7FDQe1zEk7U9zoZ8EvoxW8RbGy8OEHyJN7WhP8Kk/7jhEac+rKzpb6OWnMKB5ucQtv3emd/lYLYIrmGLRTNc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=wdAMqi4N; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wdAMqi4N" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4314f38d274so5550395e9.1 for ; Wed, 16 Oct 2024 17:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1729126683; x=1729731483; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=k1maisugeZXRPQVK8E0aCsP5z+6Oqs6IPuJ8CXduzX8=; b=wdAMqi4NpIkv3+wQQddefEBlIA+ca6dfI8RW/OIoZ6poMb8K/uIZHYfFnPE6ZcbTee L+5gReaS/9nY49ZoGJQrC+bkZr2BEHTPTLzWfmlsoYFZ8wOWdvVBS5hxkRWPyGJ1iuhD Ffz3tGKC9R4vLPhq/CmJHtY/RMK1lgC+qd10SCbP3CBPwFvHVc8cEKDF7CVL7Bjs+AmR RMsPGAaq3xs4/Eo1daCQGTiqDgd4KSm7C+drjU1Mktje0BWM91aSWJ4hwRphtphNO2MD 8XRx64SwP8m99wtAOAwE1mqBMjeJvI5C/3NENuTvlOsavx99Sw1T/gZtz+yZv7vNA1ch /ajg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729126683; x=1729731483; 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=k1maisugeZXRPQVK8E0aCsP5z+6Oqs6IPuJ8CXduzX8=; b=JA5w8zbYWenp8BMIn+8dHIiBfP6SiaL/0qXQZo+5Pwb0wqT1OmkhqwvsmHSh/xtYeL twPGhlWpudytZSJLdVO/5TxYrOEwiY25gAESDNmoYwYlcf8vHSXkhQeGok8g+3visZ2W UNzBurxJlYSb0WDyTMoVUedLs5CF0sRjllbdkUHiGysMN+HQf2dItNhHh+Jzcxa99Am/ r9leX8FDZRgAVWKz6QEWKgt1uA3+edPLPPNiqxj0gXdt2xzCgAJICCnOMq66Ok01NFRv 3lsM9EZkKHlYpCDbHxWabHaqcZO6NT5VjaHhqZ/fRAHsOuaZTnDu09TMHLU3l5tPvaub GT/w== X-Forwarded-Encrypted: i=1; AJvYcCVa4CNGTQIYe2y7mC0HBvkK6637NrrCgntfPP1JrELWlEf9e5tLv5QSyV65P2UYr+6LNMYk+s9EmnrcgOFN@vger.kernel.org X-Gm-Message-State: AOJu0YxRPoqa84VzaHc9ch6OW4js9VWnQtc3UvFhBkmT9vqhMY8xqHQQ hE/cYj5ryvOJ//9434pU+HVWZmzugYC6qIwLDD6mp3JG37zbrCaaO6ZO2H+z50E= X-Google-Smtp-Source: AGHT+IHQOZdoVHwdDnPmYo0BPHF99KOUTkgQrhJaQe7J8+H2TN4TWG6rm3GApCnqm8iB7/Op/pBa0Q== X-Received: by 2002:a05:600c:1c9e:b0:42c:b508:750e with SMTP id 5b1f17b1804b1-431255dae1bmr185559755e9.11.1729126683234; Wed, 16 Oct 2024 17:58:03 -0700 (PDT) Received: from localhost.localdomain ([2.125.184.148]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d7fa9053csm5657259f8f.59.2024.10.16.17.58.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 17:58:02 -0700 (PDT) From: Alexey Klimov To: konradybcio@kernel.org, konrad.dybcio@oss.qualcomm.com, andersson@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, krzk+dt@kernel.org Cc: robh@kernel.org, conor+dt@kernel.org, srinivas.kandagatla@linaro.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/2] Qualcomm sm6115 LPASS clock controller Date: Thu, 17 Oct 2024 01:57:58 +0100 Message-ID: <20241017005800.1175419-1-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This is one of the required dependencies for audio support on sm6115 and its derivatives SoCs. This was written by Konrad Dybcio, however his linaro email is already invalid. Konrad suggested sending it as-is and keeping him in c/c. Some updates may be still required, for instance the maintainers line in DT bindings file. This was tested on QRB4210 (Qualcomm RB2 board). The only changes from my side were fixing compilation errors and small changes in commit messages. Konrad Dybcio (2): dt-bindings: clock: Add Qualcomm SM6115 LPASS clock controller clk: qcom: Add SM6115 LPASSCC .../bindings/clock/qcom,sm6115-lpasscc.yaml | 53 ++++++++++++ drivers/clk/qcom/Kconfig | 9 ++ drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/lpasscc-sm6115.c | 85 +++++++++++++++++++ .../dt-bindings/clock/qcom,sm6115-lpasscc.h | 15 ++++ 5 files changed, 163 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,sm6115-lpasscc.yaml create mode 100644 drivers/clk/qcom/lpasscc-sm6115.c create mode 100644 include/dt-bindings/clock/qcom,sm6115-lpasscc.h