From patchwork Mon Oct 26 12:02:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 318965 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp607297ilc; Mon, 26 Oct 2020 05:02:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxghd8+B+lJJ2abmlj1+LtpLFk178QftwHXbBxfclAx+zcN/LjNVL4lAMKib9MKYd5DmfH2 X-Received: by 2002:a17:907:2110:: with SMTP id qn16mr16082824ejb.133.1603713747870; Mon, 26 Oct 2020 05:02:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603713747; cv=none; d=google.com; s=arc-20160816; b=PxPEJrdlG+UUNlDo3UNeLnwYzbiZ0aIJXTMkhcigSQhSgO5Q41SKegjDoxVsKLhkME 5OUOU7Y5Gg1SgPYW5gx9hysqFuqM6l3y+cmsXJb59kIQDh0tlppif1hfZ9tK8UUT9iQL Z6BA3JfjAO6wzGjIjXpO8HUlis+ThCSDfVHvvfY/8b5/D0JAEbCMbAKSLaPliyVp0uHL fFYnC7zEOTRKVlj0RiSMfCEdk7fi8mPf0W3U0UvjVz8dN9xVsLZbdJHubE2GGhZkXiZX eLWeeVBeLzZoCxIdzBDAqejk7Tvwdgin4eUSTYJlpdGq62KSW1kH/imrsNnqYTbJZwuN raQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=rzDcAsPcv9VfA3khTArkxlqmE18NNhfd2DKZyq6irZY=; b=KwF6v1uJ2sft4ru0MZK7yUgdpYmMYvzoiwlwJtsKAlirg6yQS/U1mnQBcMRN6o6zwN O+7vnAm52AZGmENbsmUdbkv4thb6gIA8dFdMnTgFJePsX5clg09pB39Jro5oWxCXHTqc VMzjuN2+mUJIWu03VmgQhLXgzyQ8F+MVeTHiufuOt9kFqtFn7xbsfRXqDYVxs58VSXHy 3SjE6G4ufch9XUNAOCP50w1seJsUUYZYFWm8cm7s+amKCGVzdAYf2V5nfQ3AKsGRctIV Yz7r7oTr2hwfV+SRJyvqdCf9ceHug9KNF5NWMCuDn7aL07q0mKUWPg3OaI0Khs5j3dwe FFnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uZPtgb0t; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c12si6894219ejb.751.2020.10.26.05.02.27; Mon, 26 Oct 2020 05:02:27 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uZPtgb0t; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1774639AbgJZMC1 (ORCPT + 6 others); Mon, 26 Oct 2020 08:02:27 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:45494 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403827AbgJZMC0 (ORCPT ); Mon, 26 Oct 2020 08:02:26 -0400 Received: by mail-wr1-f67.google.com with SMTP id e17so12121522wru.12 for ; Mon, 26 Oct 2020 05:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rzDcAsPcv9VfA3khTArkxlqmE18NNhfd2DKZyq6irZY=; b=uZPtgb0tzTa6z7hyIgpYYeiGvN2Lk58Yu7JfKzN5prXR7zq4DIVxngBEFXTIbE4I2H hg1HKf2qLDXQ+CpaVf85YEXzB7p+UuQM+G1c0mHhp7TcksAehhrvvra95s0tR9r/bfdg XlLspjjirubQjw+r2vhKqx5PfN+kCZHlcJiGvnggxMzagxPDtleeMqVbFdMzgcbVStfp IPgTqucPsZ6Poqp5yHmAnGPa6WebVhvE2sBZm7oEpm4Yl0vSd4xIEVVGeM7boDsKdT9r aGQNtEt6gECNemFc6EI8ZpefOKB7DmG/+Or25J+vJ78EzpJVnFvJrkNVu5K04KDnv1gW GdaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rzDcAsPcv9VfA3khTArkxlqmE18NNhfd2DKZyq6irZY=; b=U2rxNY2Q0UdHkwGSp48Nt+aZyfm0vbvJg8Er+7tboOSJJMQybs7xepilAjBPSdwi3U MWz2THM+YJ2/njWmm1C3jh0E81mYQ3y9xxeftiSl5PvNfW1yLYHwJFhbrvRidgCtGUL7 W/ZvoVfb8y/397VMXWEKetCqZ2IGqPCY3Vk3jDS/MGl88L7o70800bHz1lQBdTgIJb+3 /6Y3WsnnQu7ojHfMg7bo1E3Nv53YNVThgO1hYeYdd/72vhypT3IP+rL+lhbtkK+9+TQY hnVm4TXk0D72S5zGv2MdoC1RxonLOGEUUkKVro4LQmnHikHWC34WnZxdm2oCVsdQrXmT BdNw== X-Gm-Message-State: AOAM530JJGAoJVNxH+rkpflumSdbmp6/uAEmywvhLcsYINcvr0q1tUGB SyiK7Hc6+NyLe0k0VGRGKrPWyg== X-Received: by 2002:adf:fe81:: with SMTP id l1mr17322530wrr.11.1603713744985; Mon, 26 Oct 2020 05:02:24 -0700 (PDT) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id i33sm23659337wri.79.2020.10.26.05.02.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 05:02:24 -0700 (PDT) From: Srinivas Kandagatla To: sboyd@kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org Cc: bjorn.andersson@linaro.org, mturquette@baylibre.com, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Srinivas Kandagatla Subject: [RESEND PATCH v3 0/4] clk: qcom : add sm8250 LPASS GFM drivers Date: Mon, 26 Oct 2020 12:02:17 +0000 Message-Id: <20201026120221.18984-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This is resend of v3, due to dt_bindings check failure as rc1 was not out when previous v3 was sent! This patchset adds support for GFM Muxes found in LPASS (Low Power Audio SubSystem) IP in Audio Clock Controller and Always ON clock controller. Clocks derived from these muxes are consumed by LPASS Digital Codec. Currently the driver for Audio and Always ON clock controller only supports GFM Muxes, however it should be easy to add more clock support when required Changes since v2: - updated Kconfig text and help as suggested by Stephen - removed unnecessary header file include - use fw_name instead of name for parents - use devm_platform_ioremap_resource verified dt_binding_check to pass on rc1, Srinivas Kandagatla (4): dt-bindings: clock: Add support for LPASS Audio Clock Controller dt-bindings: clock: Add support for LPASS Always ON Controller clk: qcom: Add support to LPASS AUDIO_CC Glitch Free Mux clocks clk: qcom: Add support to LPASS AON_CC Glitch Free Mux clocks .../bindings/clock/qcom,aoncc-sm8250.yaml | 58 ++++ .../bindings/clock/qcom,audiocc-sm8250.yaml | 58 ++++ drivers/clk/qcom/Kconfig | 6 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/lpass-gfm-sm8250.c | 320 ++++++++++++++++++ .../clock/qcom,sm8250-lpass-aoncc.h | 11 + .../clock/qcom,sm8250-lpass-audiocc.h | 13 + 7 files changed, 467 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml create mode 100644 Documentation/devicetree/bindings/clock/qcom,audiocc-sm8250.yaml create mode 100644 drivers/clk/qcom/lpass-gfm-sm8250.c create mode 100644 include/dt-bindings/clock/qcom,sm8250-lpass-aoncc.h create mode 100644 include/dt-bindings/clock/qcom,sm8250-lpass-audiocc.h -- 2.21.0 Reviewed-by: Rob Herring