From patchwork Fri Apr 26 13:10:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 13644789 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9F419C4345F for ; Fri, 26 Apr 2024 13:11:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=J5OPy+DtSMP2nwcYtC+sXFlNUXxzQWbky7yjigc7W3E=; b=abEF249z/T5E5t t3Qvasr2dfbjYMWisFKTkRMCS6Z2RQ+vhf0cygpUmgTXxUFKnQ5AViQh5Uovh4YWM0m2Xb4h0bWBU qKnFovdzSgblYi69GcLNfDl2rQdcOFA4tBTTzllO0roKGdUUiRdLzoY4awUqRXFYYED53YJbiwLIi CYgvloF29zmhav7rWh3yX9JJ50PttoMjdvON7HPzZMVuKZIXW3eE+sQasxis5BWToeveaZ2MfavcT dvwjx63KakOMe7UDMnvQn9pKwuJNKAVbmsB56EopIrzEwQ4jKBD82xeA2ZA5eZkuJZehrgeddiFGu eq5Hq4gB36ipU2aJewpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0LLw-0000000CabM-3DGG; Fri, 26 Apr 2024 13:11:00 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0LLt-0000000CaZP-0eM4 for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 13:10:58 +0000 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-56e477db7fbso3219349a12.3 for ; Fri, 26 Apr 2024 06:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714137050; x=1714741850; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=kyR9vWPsqsAUgpTsJMpV9yCJydAsWbKkcw3s9RwSvbs=; b=B5ZzXtpJwOVp40temdiAIog6svOROp7CsvJopYV+2+5FxsuEBe0uIyDHCU39WiNFnR BB904dyvvUk84VhTMy6IV8bWi2mlLyI8w6EzHeuGHqRJxXJLYQSqaQyBB1v6XN866U5N LYYJprqNir7iMu/+4Mlq4YHsP09k+YnOQxhgT2Q0Z8vx3Mv1qTZ+jgqiiGjC7Bo+PQI4 0rQJ78QSb4KtrRblZ4HUp00IR35C68btazkFCb+x1bt581sMnsfc+HmSKYJF88Tpk9ZJ C11cFz2fkLVbPREOQdowjqxfBYfP+wlPJzS8a6BWKmkFGFdMRtf897tuprPKcKY6Pq/o JCJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714137050; x=1714741850; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kyR9vWPsqsAUgpTsJMpV9yCJydAsWbKkcw3s9RwSvbs=; b=dAKMoprwuHy/mTQtOYvKKx6JDrHEURX7+yv7qWFlafNPgvPJR+ryfb/pk/Eyg5caZT goIoVlOs/wW4aor6vq2zH+a/wiQaB5WudZ8CnOOySoXRWboCYlVWKmYKofWsafFaRnmq J0bbC9n3cgz9z4HFExQpj6ijhd6oWe4r42r3ok2nCSfjzdDUI2gCdOyOv5vUcGpwSZUm aZ9w0AY09vmcpckusfP4OqfIomK/DpT74evXGbpxInvcMR0fqfkMaOD50ktbLf7QVTSF 6WymJ79n0NQyiJ8esspPGkKr64gArPAax3UOsrcaVBRnrsDoglrT/cZAUKAKmCQGUW/d vekA== X-Forwarded-Encrypted: i=1; AJvYcCUV62hT8rX7pXz2Ru8Kvc32fYJzC1SPgZaigQ8oaCFZ0fMWkZbhXuJpXtfa0/F4gPX+3fP65qxEpJojkSeUOgsC9F5j89OtrfUozpCD5AqjlDZ5W8w= X-Gm-Message-State: AOJu0YykoinJTEToroQsHr7JdaFUVlpcSKVEKJwkVprz72lkbWpoXETq dOzq4zw+fjBYPQFN9kH9vwqc0NZ8jjtoR+6BisT3iU71YQTrOglGaT1Q5goKLQ1PJgTVSZbM7yh OJZLLYg== X-Google-Smtp-Source: AGHT+IGSGholbRCB3xXRiKBdGHoIKLecb79/UgfewA7TWa6VNEesp01r2lLxHu5AHKlfCKAu7HlkxQ== X-Received: by 2002:a17:906:305b:b0:a58:a4bc:575d with SMTP id d27-20020a170906305b00b00a58a4bc575dmr1819263ejd.40.1714137049990; Fri, 26 Apr 2024 06:10:49 -0700 (PDT) Received: from puffmais.c.googlers.com (8.239.204.35.bc.googleusercontent.com. [35.204.239.8]) by smtp.gmail.com with ESMTPSA id u18-20020a170906c41200b00a58bec2ae2bsm1396948ejz.39.2024.04.26.06.10.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 06:10:49 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Fri, 26 Apr 2024 14:10:46 +0100 Subject: [PATCH v2 1/2] dt-bindings: pinctrl: samsung: google,gs101-pinctrl needs a clock MIME-Version: 1.0 Message-Id: <20240426-samsung-pinctrl-busclock-v2-1-8dfecaabf020@linaro.org> References: <20240426-samsung-pinctrl-busclock-v2-0-8dfecaabf020@linaro.org> In-Reply-To: <20240426-samsung-pinctrl-busclock-v2-0-8dfecaabf020@linaro.org> To: Krzysztof Kozlowski , Sylwester Nawrocki , Alim Akhtar , Linus Walleij , Rob Herring , Conor Dooley , Tomasz Figa , Peter Griffin Cc: Tudor Ambarus , Will McVicker , Sam Protsenko , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240426_061057_247821_733E1E11 X-CRM114-Status: GOOD ( 10.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The pin controller on Google Tensor gs101 requires a bus clock for register access to work. Add it. Signed-off-by: André Draszik --- As we only have the one clock here, please let me know if the clock-names should be removed. Having it does make /sys/kernel/debug/clk/clk_summary look nicer / more meaningful though :-) --- .../devicetree/bindings/pinctrl/samsung,pinctrl.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml index 118549c25976..49cc36b76fd0 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml @@ -73,6 +73,13 @@ properties: minItems: 1 maxItems: 2 + clocks: + maxItems: 1 + + clock-names: + items: + - const: pclk + wakeup-interrupt-controller: $ref: samsung,pinctrl-wakeup-interrupt.yaml @@ -120,6 +127,16 @@ required: allOf: - $ref: pinctrl.yaml# + - if: + properties: + compatible: + contains: + const: google,gs101-pinctrl + then: + required: + - clocks + - clock-names + - if: properties: compatible: