From patchwork Fri Apr 26 13:25:14 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: 13644801 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 EBF33C4345F for ; Fri, 26 Apr 2024 13:26:06 +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=ul1ZHnizF8cHWGOh3aYMVA79znrko1iKwu0xBXbHARk=; b=YamnoYFyTVCePy +fp0gMfbLASoSNsky4AQeVRZbvgTsT7DZBTyT2GvP/ukXADc/jMOfut53Kb4/qqbgjn5So/upP1nI 176RYlT6op3HQCwm3P3teAQe3VbSfGLFMa4EPDp99ToMCL/XhWUFR0z79WnKiVqjVx51VKXBzs1vK miNewJ2RS5BVQ3feKpeIxxp+kwgeo8h+JoO9MEIYG3+v5uNhGydprf7Un+KY43v1IgffEuj1sJC+L xTAj9HHf0932KVJYfg48qWXLt0hVOfvwovjm2BrC3d7xYrZp46iKaFBB3oaH7djpZ61Uz3nsYookB ur5M2NcBM3ucxj4dGBvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0LaM-0000000CdVd-4AcO; Fri, 26 Apr 2024 13:25:55 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0LaB-0000000CdQT-13hk for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 13:25:44 +0000 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-57232e47a81so3658754a12.0 for ; Fri, 26 Apr 2024 06:25:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714137941; x=1714742741; 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=lvJQ6z3LIYsXbX0CNbTi23jNqb0LHvvyCvPaynRyaTs=; b=Lu/+BuXL4cwbxhuwx8DqrsU9958YgrqF1IRbIaomj8EUUEJVRRyvxX1mmvzAfnvuOz uOAM3PcPrZoltz8d9lpxme3m7zTs/VD+69CQLQFRV8zqANyUAfTvBASud6+jqUlM3D/e nOkzlWYL/unW2/9rPfXbZVvtI+0MQ3b6WVWMxSW2qd7o7y2aaqDrTjQBbfVZuy1Byjsw bP6gF4YF4pdX3CwfFXYdS0Ckk3FgCvvScngqRlKsLV4ikyKy4M5muOIeIVgZjyKNlI6h G15I/vDzqgjViBShWiHByRCiNXXPbzeSRsvrQlm7GpIz4wlp+v5AJMh3R5uhKn5FS4IH RDNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714137941; x=1714742741; 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=lvJQ6z3LIYsXbX0CNbTi23jNqb0LHvvyCvPaynRyaTs=; b=e43xs0PzNxKRF/qOM6nIEQ3o0L2DrQ2msbgEc9t4c/eWxdl0E0KqKzB9YeVuQtPweE 9aEOQ/sIpsSxcBXIj7L4NFmoRVaoPABrKt8aFyJzDQ1rOW5j1QBfyiATmlB7wA+Dgg4R fN3SQpOw2oKWbDla579YOKZF9VYTJwr4j991AQjGCklX5DdMHlWgQIEalh2KoaK556xK FMLEmsfZqVXGPnzd7XfkBIzfhhAY8YO9/pLeMYTQvkjIUtJCGJWLSLvYQ7EuD9CCPzi5 oH2zIQrKxroBFjxhBtdRuG4SiarMQdsW82lHcRxDNpOMMbmTf1VI0KExMiXvGhwOtxmY M4yQ== X-Forwarded-Encrypted: i=1; AJvYcCWCBUA43pLiVXb1yhhUMzgx8mF7I5GY8v3+ljFPN06KsdyXfNeHNJ2VKHLpbdExD79iHClV/EvlRd2eSQGj7YVCF8OLNuSlqxAlKm9ENwfXIJ+z0SA= X-Gm-Message-State: AOJu0YyZ/tyEpaygTus1Lj6hJZstx2fTnmeGQus4rw2tuKuFt12YAZys 9QeUeMf3OH0Of5QLLOiJsoGUlO7xR6mkM1wrsuwuuAYPf8fCYeu09CI32CU9/B8= X-Google-Smtp-Source: AGHT+IGyLKLUTlpLc0/JKdHbgkUEEFP/rYyXDO/oYK6H/QYkI4iS98NiLFkTCs9d+I1/u+WoUFPuQQ== X-Received: by 2002:a50:96d1:0:b0:572:553e:6c1b with SMTP id z17-20020a5096d1000000b00572553e6c1bmr1170246eda.5.1714137941095; Fri, 26 Apr 2024 06:25:41 -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 q25-20020aa7cc19000000b0057203242f31sm6187837edt.11.2024.04.26.06.25.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 06:25:40 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Fri, 26 Apr 2024 14:25:14 +0100 Subject: [PATCH v3 1/2] dt-bindings: pinctrl: samsung: google,gs101-pinctrl needs a clock MIME-Version: 1.0 Message-Id: <20240426-samsung-pinctrl-busclock-v3-1-adb8664b8a7e@linaro.org> References: <20240426-samsung-pinctrl-busclock-v3-0-adb8664b8a7e@linaro.org> In-Reply-To: <20240426-samsung-pinctrl-busclock-v3-0-adb8664b8a7e@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_062543_418761_940C4827 X-CRM114-Status: GOOD ( 10.41 ) 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 :-) --- .../bindings/pinctrl/samsung,pinctrl.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml index 118549c25976..242dd13c276b 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,20 @@ required: allOf: - $ref: pinctrl.yaml# + - if: + properties: + compatible: + contains: + const: google,gs101-pinctrl + then: + required: + - clocks + - clock-names + else: + properties: + clocks: false + clock-names: false + - if: properties: compatible: