Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp893269rwd; Thu, 25 May 2023 05:36:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5kmuEskkHNSZAQRLgMHq6IMKRP5tT3AiXZ2YK2AJUOYP8vTMrgz27XCJt+oXtE3r95nAhA X-Received: by 2002:a05:6a20:8417:b0:10b:5ce1:bee2 with SMTP id c23-20020a056a20841700b0010b5ce1bee2mr15549711pzd.27.1685018178484; Thu, 25 May 2023 05:36:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685018178; cv=none; d=google.com; s=arc-20160816; b=0tghczv3ySD6q6S9sULGvLliuDCNH2+jCE++G/SX7OFUC9AWOlKcAhzhmooeVweKtZ lyypjer5sZrWMBNJyDVw9tj4SzCqYu8tTQc3LnX0y6rlYTXUOoruYMwnEyM/VD2ZveP4 6a+4jfZm2pcDy/1vovE6nvTlUFgd7cxEKRjUr1vkZUaAtt+GKs5MGUjL0KvK5AqYcSoP 2uBHJFZbkvPoanMS6gEPNyAC8LfQmI5SkBAjOP8YyiP3f40QLBZ8i+qnK7Zwnd0ArOGi qwCpeJ4Yh84aq09UiXdmKM/CbchCywE5gBqzsvcXTW24eNL0Eul+S1rSYhVfhzpn+TLk KYag== 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=XbjF4qIKtaMQTYJ+wlxvW8+DnMXh9O9l4H+hCicLL3g=; b=mKOLq9k5ihXK0jRgVRDceTS0gKHJ8Mys5nI7mX01/VWBAjVOosKiJqoeQmPCVr9JCE GkOnjQSizwcBgKqU0BZV/xut4hrbUkmnGn3z65JgALxi2w8PW9v9QznBcgGSZZWDdsmV 5b/9e+1ZibkIOcFFqvXc65OTocELrRzUPL6UFsED+CKtHx0ibOpaY38rdU/fs29xZWXk l5WASQyV6rpLI2wbP2L91vaaCNvXUAZro4kUgsw8qVvoyLY4Y8PHG5tMCzkFEkZYwHjs jFbhmDkqKa98ThfH03CPBucVurHQjoKehm/30n2cuCmfm1H28DrYOqI3exZ49LYxSR35 x8Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WhWXnEZ2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x9-20020aa79409000000b0063bcab61625si1433595pfo.178.2023.05.25.05.36.05; Thu, 25 May 2023 05:36:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WhWXnEZ2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S240649AbjEYM3y (ORCPT + 99 others); Thu, 25 May 2023 08:29:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241013AbjEYM3p (ORCPT ); Thu, 25 May 2023 08:29:45 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A76A135 for ; Thu, 25 May 2023 05:29:44 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-3093a6311dcso2014986f8f.1 for ; Thu, 25 May 2023 05:29:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685017782; x=1687609782; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=XbjF4qIKtaMQTYJ+wlxvW8+DnMXh9O9l4H+hCicLL3g=; b=WhWXnEZ2q8RXW6A/hQwITkthrXBDl4NRDYPZoetBFLivPwZFyDuDZ3vqEEPtomUCq0 6RcN8Amy90LcgKN2jruJrysXD5V1EESMrbJmIGh26LHp83hyUZxkqBWL6hA88kXOx0lJ ab1agDtK04+8MvjsaeyjnwuHMGXN8gph62LaGHNK365H0PsPxx87wxLZBy6brAjzxfMa MskIXA8vH4UYfAuhclqLpVx1NDrwFEB3sXFkeizVzUjNI9YWgyegyjdekRF3vOstetD4 sxi+BCRBQdjQ1Svu2Kbbt8T2XcO86WYCW5RC65zwO1zdLM2LWhQk1kR5sAtONgxziebl wzAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685017782; x=1687609782; 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=XbjF4qIKtaMQTYJ+wlxvW8+DnMXh9O9l4H+hCicLL3g=; b=Xpnrvpo/518JQgzyWdLh25hJz1Hm3eG96sdxC3SQV5nfWONvYBkQ85i9dZoDskApRS Drf/w3hIu9YdpqCCVh1wroHabD5GaLG8n0nxV3Gon5VYPi90DVVX5gJz3L5kS0Hyhhhj 9iQugccC70xNe6zkktkxQa3vUMwSa83qh4Xmy2phfrDGZNi2X67TkSnTbqHfKmstI/gw Lrkr5QbZOiERHjauW7JdByQZoftZaTTQmjGZm/qKrJd2JRVPTRJpGZ825rn/GBc+h6GG Ju1X7kUcdlUs+F8LiyyjXqagFGlM42tAwN8DMPEGKcfzfnKNvtbAv8jYgYM5XTZsAQ00 vHKw== X-Gm-Message-State: AC+VfDzjAaChVMOCUEg4aSuOU5cIKV4kXyZ6PiPQHL5Nho3GLaR2GURw TAJ8PdJ1ckh6ZNYsVRVx1VVQ0Q== X-Received: by 2002:adf:f348:0:b0:306:3381:67fe with SMTP id e8-20020adff348000000b00306338167femr2517041wrp.27.1685017782357; Thu, 25 May 2023 05:29:42 -0700 (PDT) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id k7-20020adfe3c7000000b003062b2c5255sm1700227wrm.40.2023.05.25.05.29.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 05:29:41 -0700 (PDT) From: Srinivas Kandagatla To: andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: johan+linaro@kernel.org, agross@kernel.org, konrad.dybcio@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v2 0/6] clk: qcom: sc8280xp: add lpasscc reset control Date: Thu, 25 May 2023 13:29:24 +0100 Message-Id: <20230525122930.17141-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On SC8280XP, LPASS IP is controlled by q6dsp, however the reset lines required by some of the IPs like Soundwire still need to be programmed from Apps processor. This patchset adds support to reset controller on LPASS CC and LPASS AudioCC. Tested on X13s. Thanks, Srini Changes since v1: - updated dt binding to be in a accending order and fixed spaces in example - updated kconfig and make file to fix the order. - updated driver with various minor comments Johan. - added defconfig changes patch - fixed missing reset entry for swr0 Srinivas Kandagatla (6): dt-bindings: clock: Add YAML schemas for LPASSCC and reset on SC8280XP dt-bindings: clock: Add YAML schemas for LPASS AUDIOCC and reset on SC8280XP clk: qcom: Add lpass clock controller driver for SC8280XP clk: qcom: Add lpass audio clock controller driver for SC8280XP arm64: dts: qcom: sc8280xp: add resets for soundwire controllers arm64: defconfig: Enable sc828x0xp lpasscc clock controller .../bindings/clock/qcom,sc8280xp-lpasscc.yaml | 68 +++++++++++++++ arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 23 +++++ arch/arm64/configs/defconfig | 1 + drivers/clk/qcom/Kconfig | 8 ++ drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/lpasscc-sc8280xp.c | 86 +++++++++++++++++++ .../dt-bindings/clock/qcom,lpasscc-sc8280xp.h | 17 ++++ 7 files changed, 204 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml create mode 100644 drivers/clk/qcom/lpasscc-sc8280xp.c create mode 100644 include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h -- 2.21.0