From patchwork Tue Apr 30 09:49: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: 13648650 Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (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 943301292D8 for ; Tue, 30 Apr 2024 09:49:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714470591; cv=none; b=Rv/Z+T3U+N1eFTvXty/R3kRzWD5CCTazFQKY9oUOjDpw+EkT91mSas374Vj/aCFECUcKnjTR0BNIZvdeHk+7de3vZdQOVPUKVr8Ij+YTeAQn2rxL725A8LYr7m8yN+KMBJ2wtMu0E85aysZiX9ae19M6SsiMor4AwsPxvgH/Ae4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714470591; c=relaxed/simple; bh=OHbOYwGssa/uRbe/4TDCDGAgML0a+7L1EyAmdQh+g64=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=k0ICnyuOVdADuhlZlPUGnNN8nClcho/xUOQghB3SdeSNiU65WqnRBFk0BB/CvJdpyNSjrmRz8z/jEhau3sIZsZb74hliuXeYPxKXL4xsDtTDtoQCc6xIMB/ovv2dJ2bqjQvUMbpxsajlYRyyOTy5xcO4Q+4kIafpg9AizE+Keiw= 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=ltkFyhT9; arc=none smtp.client-ip=209.85.208.46 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="ltkFyhT9" Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-5708d8beec6so6809708a12.0 for ; Tue, 30 Apr 2024 02:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714470588; x=1715075388; darn=vger.kernel.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=RQWtsOUn4uiQZnL3yK4nvk33ev/xiP7OrIVV8S/1ztQ=; b=ltkFyhT95nj8pO9wThMZEQvHEmTz3RyQLK5nrn8dRt+SS0gP1UgWc6gpxKkinKY+nA lWH1Z39yFULrLtpP0Xb1/+bQRByATFr1b8MM4LftuP2BLHsAS70fGHYcVlL1cyoq3slE ffNE+twrLNx8FzBvmwY0D1KSh/THkKklprWHWMzdShLLGMl/cODIsBxXUsMShOSs7OOa MEYPMSxM5UV4L2JyJA6CYDFNgEduw0YVDm4XJhYxdIF7kSyBUIQG1OqHgeojYbDuRUHR 1GOv96Hm4iBqnMpTzkEdBE+uaRhd0XXl86j8KGW588HccyAAPaDsj5W4ks32pNytxA7Q gbRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714470588; x=1715075388; 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=RQWtsOUn4uiQZnL3yK4nvk33ev/xiP7OrIVV8S/1ztQ=; b=m36xMJ7d3lcDDT0713i1yWIYCqBwJKVtnFUfXXRVxl4pypxADM6u1X8ODSR67sAiBL YW40TNwkzEWhl6nmKwFgqik9gJWWTt4ajvnD7AwbIv1w3gaqQc2iSE8deHr48FayXIS7 F6V3GlCzxVe7+hDZFLjxKzcUJE7syzvawjukItXOdC0yrXZsz6wRutrQzaNHQ17OAIQ/ 7CKiN0VSwa9uPjEJnDpF8VCrU9geqQAj1Mujp/kJK9gHWfBi3vSTSI7G3/QbDmgoJZDa o1D6o2X3yRKAU8li+km/C9YztJdJLllOAr7SIg/7WfGiBS46Ob5JL3/p4Se6xUyTFD4T bjSA== X-Forwarded-Encrypted: i=1; AJvYcCU9PO/njrLPFKcRkOLB7xzdldMv6o4mZleoFuoZp1LgbapJ17saBH1MhUnCxj0FjqIyaQ6msU15XEUmoqpcP+wH2JcQ2TIKuaIN3DhVRW89a98= X-Gm-Message-State: AOJu0YzvuCjeCeVIvfs6Ifq5/GpXlC4kBLFxDOYJ4RFx36Kbt6KClILG qPAWjLPgG6L8wt31NuvqXlCUPHYJTYYBesg9rHs2z/Z+SFHo31WlbkWo788/9WBJo5MQrqYlty2 oVxc= X-Google-Smtp-Source: AGHT+IEoom4Vqr7lbv//R3RxM/1laAb6TlYrC1ySF0XtZVJmwN8LfDJIm9U7jADH3cDQk5w64A0ZoQ== X-Received: by 2002:a17:906:1416:b0:a58:7304:9cd6 with SMTP id p22-20020a170906141600b00a5873049cd6mr11074938ejc.24.1714470588009; Tue, 30 Apr 2024 02:49:48 -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 dk21-20020a170907941500b00a55aee4bf74sm10981024ejc.79.2024.04.30.02.49.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 02:49:47 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Tue, 30 Apr 2024 10:49:46 +0100 Subject: [PATCH v2 1/4] arm64: dts: exynos: gs101: specify bus clock for pinctrl (far) alive Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240430-samsung-pinctrl-busclock-dts-v2-1-14fc988139dd@linaro.org> References: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> In-Reply-To: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> To: Peter Griffin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Tudor Ambarus , Will McVicker , Sam Protsenko , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr?= =?utf-8?q?=C3=A9_Draszik?= X-Mailer: b4 0.12.4 This bus clock is needed for pinctrl register access to work. Add it. Signed-off-by: André Draszik Reviewed-by: Tudor Ambarus --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index e3b068c1a2c1..f2c7c2a4ce1c 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -1348,6 +1348,8 @@ pmu_system_controller: system-controller@17460000 { pinctrl_gpio_alive: pinctrl@174d0000 { compatible = "google,gs101-pinctrl"; reg = <0x174d0000 0x00001000>; + clocks = <&cmu_apm CLK_GOUT_APM_APBIF_GPIO_ALIVE_PCLK>; + clock-names = "pclk"; wakeup-interrupt-controller { compatible = "google,gs101-wakeup-eint", @@ -1359,6 +1361,8 @@ wakeup-interrupt-controller { pinctrl_far_alive: pinctrl@174e0000 { compatible = "google,gs101-pinctrl"; reg = <0x174e0000 0x00001000>; + clocks = <&cmu_apm CLK_GOUT_APM_APBIF_GPIO_FAR_ALIVE_PCLK>; + clock-names = "pclk"; wakeup-interrupt-controller { compatible = "google,gs101-wakeup-eint", From patchwork Tue Apr 30 09:49:47 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: 13648651 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 020EB1292DB for ; Tue, 30 Apr 2024 09:49:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714470591; cv=none; b=ppMaJJKFLL3XiVkuwpG1GziG3eCAdkRZW4hQgJpciXpw3xTVRUenbDQ28UVU1+KWC1oYQBnR4MJHS3irh5fv5X/eE7O4ejCwJvd/XVArpne57ljBSGwcLbpHvxarrPVTmEkfR5rYFtO0BAzmDZCS3VefOjQ+yPjPLnbFUmzEOCE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714470591; c=relaxed/simple; bh=13Fr4UEwIC36RkZaWaqe5teByY2xo8qLUQtGfXoOolQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FeDsY2ZLo77UP8opbq/ySZ2/oHHe/dMbABU0ChVhNSy8LeD2uIIZDB1aEkGQZJ6EzmxG5uPxVOUh03Tm5PysHqvoWcXg0Xrwbt86rdwHDdNVB7+GoOE7yAm5/kfLAIO/IwFsGvxGAqwYf7PyxSOFEqww3Wi49NQ9ifj8lHAEFFY= 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=gwKHOIhy; arc=none smtp.client-ip=209.85.218.51 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="gwKHOIhy" Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a58872c07d8so1129815566b.0 for ; Tue, 30 Apr 2024 02:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714470588; x=1715075388; darn=vger.kernel.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=IW2Cb8PzWQGoPtLIM4Yb+ZUUwep8epdxp3AM6wmQKqM=; b=gwKHOIhyHbizNTw+NHNdmzGT3t/3AZSnodRJCJD8uKqS1yC/F9G+j0j/UmaETndhGi jxU0daVwONVXxqJ0z/QIkWAR6S88Wo0NaPro8i68jjmjV4+VLqUdrwfOpuGLERMXzfU9 9CPXUjC6SMf4e3hsu23WGHQRIikfDFulfGYJimTpb6okLYz0XHEbdwOOvHgc9S966yPT l0BreJxm6HSra4mRklVy3gx54/i4mCws4Kt7tb7ncDKL3EX+hj1ylHWMZtz3XW1kD/JC iycBSMJ02og09ePtQpnCkyGjQ12RngVmIs9qgIPo2xdj7RsDIqw9SZrrfrrvsxurphvx m9Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714470588; x=1715075388; 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=IW2Cb8PzWQGoPtLIM4Yb+ZUUwep8epdxp3AM6wmQKqM=; b=Y2AJmKYOKNLOvXVZUUKEB2TQJg/z4kiWdfZQAcMIGHVbUqfrfGVnrCxpim99nLtdlJ y3H3a2SCp9XK1KCgBbvU915UujfB5mn2XjN+LwyhpIBKiNB4/k++T7wgmzJqAWipQCSK qKQ+NS151W66E6mciEhVZ1sQlX4pwU1mkdNak6mACMaXFeVj/Xr0RjMP7WRSrfAgTUOZ 5i7bEBOVXRwY0TPWt5lD+pX5io3T2ik4KVjgfc0W7feb+bmhvoGFmjL21UxaHTBnB0Lu 00oYeCNMA9YikK9suegxHT4RBPlmjgO4UR4vMOBJjHRSdlwORnbsCs9A8l543YG1/NYi p5LQ== X-Forwarded-Encrypted: i=1; AJvYcCW52l4WCMl1QLhwYmbtS6XTlgPhDUTDgpMnNZRlbQlrdgpsm9o1Tzkl9y74XMCOsaRDImsKUZT09vCcr19rc1iEdHGjDJhrszYHyZkLCnpB4EM= X-Gm-Message-State: AOJu0YxBM7VkOBRrkxRmbTq6ZziRpW1cHoq6geF/k6Bfi4P2r5yixJOV WkMu3T/qBuIOBSViLy8C1klAOKU+vY6y4BZBt9lX0RlQ3fMHZj4lOtvLlMwZTQz0pa8Z2mFq3uv 5LXw= X-Google-Smtp-Source: AGHT+IGHfVUxz3QjTYfKVaZf1Fxq987xn6bX0DNIr56yMvAIWMlxJqcTpnRu05tSTpmhmv4zQ9O09Q== X-Received: by 2002:a17:907:1ca4:b0:a58:e4df:4d1 with SMTP id nb36-20020a1709071ca400b00a58e4df04d1mr2642701ejc.13.1714470588413; Tue, 30 Apr 2024 02:49:48 -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 dk21-20020a170907941500b00a55aee4bf74sm10981024ejc.79.2024.04.30.02.49.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 02:49:48 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Tue, 30 Apr 2024 10:49:47 +0100 Subject: [PATCH v2 2/4] arm64: dts: exynos: gs101: specify bus clock for pinctrl_peric[01] Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240430-samsung-pinctrl-busclock-dts-v2-2-14fc988139dd@linaro.org> References: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> In-Reply-To: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> To: Peter Griffin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Tudor Ambarus , Will McVicker , Sam Protsenko , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr?= =?utf-8?q?=C3=A9_Draszik?= X-Mailer: b4 0.12.4 This bus clock is needed for pinctrl register access to work. Add it. Signed-off-by: André Draszik Reviewed-by: Tudor Ambarus --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index f2c7c2a4ce1c..8d4216cbab2e 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -370,6 +370,8 @@ sysreg_peric0: syscon@10820000 { pinctrl_peric0: pinctrl@10840000 { compatible = "google,gs101-pinctrl"; reg = <0x10840000 0x00001000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_GPIO_PERIC0_PCLK>; + clock-names = "pclk"; interrupts = ; }; @@ -914,6 +916,8 @@ sysreg_peric1: syscon@10c20000 { pinctrl_peric1: pinctrl@10c40000 { compatible = "google,gs101-pinctrl"; reg = <0x10c40000 0x00001000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_GPIO_PERIC1_PCLK>; + clock-names = "pclk"; interrupts = ; }; From patchwork Tue Apr 30 09:49:48 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: 13648652 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.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 6E25D129E8A for ; Tue, 30 Apr 2024 09:49:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714470594; cv=none; b=kRX+NgP6xfWHjnvoP1cVFRDd64KiZ+is/AROLYkJHZljbgb+W054LNePXKvFeCtE3FIQDqYnhvHKczKNZiHrA4lJuLPoBUDdbLCwzK2Z9t1NTywTSDfUz6lrHOSfGqt7Z0HNBlKIOxSAjVkhlheqZWApRlY0cpweDbBfAU4jD6w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714470594; c=relaxed/simple; bh=6EPfWTqm/lFaZs1kyJ73zKT+bkJLAEfvahvw8Cv8KkU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MxT4arybY8K9BvUY1a0K1KwxfibZizNwdBxvqlQyoz9i1aKk/rRbTVH4jzIKRsFnPo9R2bi+junPgz9J2j5gJLGUSuhqnK9HIaO1HbTbvRPMG1dAToYBP6RoeOsVKvNspRMtZBeEnGNhZQs/aTtmFk/v+ZqBS84WdXNi4CSYpMY= 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=YEzPlRbK; arc=none smtp.client-ip=209.85.208.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="YEzPlRbK" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-57230faeb81so3254844a12.0 for ; Tue, 30 Apr 2024 02:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714470591; x=1715075391; darn=vger.kernel.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=F8gW4wGr4HSLlzWyo25Ekg/cBo+LkQV9cqhppDRnOws=; b=YEzPlRbKJDyg47YeWH4dSrB3ivagEfs3rn5dCq5Ly3qgb+q0LrZiErlbbhehtZIhtF sMA3nMV/561SdY7rz1zatcqNo4SMmO/iQmznK4zOr8CoY64Hh3l1xQ5nH3wpSvo0jIXv mDByOjJemlt1UJlc17OXYbiDYcjqjJigueQX0KylqWsiFwWe4oI3ZRD+jt68U9R+nPKk Eb5pkdm9m/rVKXuIu/LLJBWQl9/WcmoGe3fyJTIAsPwUPSeLjhDuHj4mvK05y+9eTRqg 6wGDVbCw1VUuD516GiIuSKM6YnttQ3Jecz14ROJXhIBx/f0WlzufelWy7iToWOI6KyQp Gjsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714470591; x=1715075391; 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=F8gW4wGr4HSLlzWyo25Ekg/cBo+LkQV9cqhppDRnOws=; b=arLSARBpkilRuTy1Ys/Qjzw6Kn2fvCGa8mJCPb+eHmWoODKkb1AN+MgdaeUVIYGwBd QRYSK29TlM3kTMOLYRslodZW4HnoXJkj/S5ttJqk53bjLiGfRkHfSyTRiIPUvfeFQueF fLbhi22ODnf0qwFyQCvjG8Qfxci3t3XfnN3p6APwrk1tGo3Xn4S+f7NWfMR9X4MOu7ra +dv7gOUGtIRpyHussXm5bzUhyZSmknBF5BTBwLNDBcI9jOLwtY5CKq38Z6hRUg6V19S0 Igekd0BX7YPXRVo1aTuiiS36fQpzffRSXc9cfTHQLXS+ghvlnmfNGH5MH2c+O6P9L25x j0+g== X-Forwarded-Encrypted: i=1; AJvYcCUT2A6H5ir5FyXfySoe5BofrCyhpHKs8qWg70orAktpGnL0CejFlBaIR/Tu7O7tiI9k56jJLXWQkSNsHgDmEknGIPgPpMQT+BwGgqaCzcQc3xQ= X-Gm-Message-State: AOJu0YygGc9suNbwoqQ675ilOUnTZJ7OO5JeM/kIVdR8OmXX+U1SxN2h WgGpIollAfV2ebnQQ2dpWf6AchlbXKhLZKCcv+m4YKLblxGtQ3aXFObG+Sokl9qZi4ShFKbAI41 Swas= X-Google-Smtp-Source: AGHT+IFEPu0i5ueU8PBJF1LFQN690pXMf0YIKw4rNgvmabF16RNW5n71cyetXv/nDePGBSZtm2u4qg== X-Received: by 2002:a05:6402:50c9:b0:572:6aaf:e0d0 with SMTP id h9-20020a05640250c900b005726aafe0d0mr7836085edb.40.1714470588818; Tue, 30 Apr 2024 02:49:48 -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 dk21-20020a170907941500b00a55aee4bf74sm10981024ejc.79.2024.04.30.02.49.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 02:49:48 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Tue, 30 Apr 2024 10:49:48 +0100 Subject: [PATCH v2 3/4] arm64: dts: exynos: gs101: specify bus clock for pinctrl_hsi2 Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240430-samsung-pinctrl-busclock-dts-v2-3-14fc988139dd@linaro.org> References: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> In-Reply-To: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> To: Peter Griffin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Tudor Ambarus , Will McVicker , Sam Protsenko , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr?= =?utf-8?q?=C3=A9_Draszik?= X-Mailer: b4 0.12.4 This bus clock is needed for pinctrl register access to work. Add it. Signed-off-by: André Draszik Reviewed-by: Tudor Ambarus --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index 8d4216cbab2e..f8fcbbb06e7b 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -1327,6 +1327,8 @@ cmu_hsi2: clock-controller@14400000 { pinctrl_hsi2: pinctrl@14440000 { compatible = "google,gs101-pinctrl"; reg = <0x14440000 0x00001000>; + clocks = <&cmu_hsi2 CLK_GOUT_HSI2_GPIO_HSI2_PCLK>; + clock-names = "pclk"; interrupts = ; }; From patchwork Tue Apr 30 09:49:49 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: 13648653 Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 BCFAD1292C9 for ; Tue, 30 Apr 2024 09:49:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714470594; cv=none; b=aLO3Hu9OKAYonnd2maY3/kVjISg/jiEI4p5rTukrEvMlDJbqx2VOxuFkTfyvu30Fz8+PQw6ZRsnhdRzNDgyJnBEz9GOrkXRlFcL1QTL32M6vEIuKKq3ZcUu+3n1VPzk9FgojN9wRsT50VJRWWNY7LM4nQ+Vsr5oXxe8ZXxffneo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714470594; c=relaxed/simple; bh=qQyNd2h599qj7egaidio8x869sx/hrwA+mPO7tRkKQ0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BQPB46qkzRRr12TpnzcRWfEpL1GsfTsu0p8wWUpoRRl6pOUJ5jeYUlVtrG2875jkVzRoG19zLSO9TGrTXH0FMPXKuP7g8H/oPUfBcXj7BIKOvxeb3ZSQYBAB1AFDNomP2jDdZqe3g3JXVtm6wuemy10IX8RDwnmuTIU3kUAXhK8= 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=aptQc0kg; arc=none smtp.client-ip=209.85.208.53 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="aptQc0kg" Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-5727dc6d3edso2545845a12.0 for ; Tue, 30 Apr 2024 02:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714470591; x=1715075391; darn=vger.kernel.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=FhJZGevRo1C++Okgeic6/uROn8S2Hxmi7kQowqw5A8g=; b=aptQc0kgbEyGGIUBaMnq5g7rpl1VsGEDY9f5KGZA21DNfOAde04myyc1C2sL3ln3YP R+E8SDvpHwAY9zNjTmXDxegMqpgbJVueDRxE6515TpSbuoUo4MMHs2ONsfOFDFVZTdUf lTC+HYhP68Xpha7jqfO6Q86HsiVC6Q0H1hj/YhdDTQAFneAFdL7fOBY6KDEzMUqZFQoW +wcKyTN6muQLBE1FcTm1ZeKmR6Is/l3Vc7QqP26UqqHvcAD3caEuY+BehyA0aXqq2UN7 ilYf/X95j0OAAE1HD4QqfTPYUzttTXvplri/S0ojifZzi5hO7lJj3K4jiXSEBo9/4f1D CcKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714470591; x=1715075391; 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=FhJZGevRo1C++Okgeic6/uROn8S2Hxmi7kQowqw5A8g=; b=SZEQb35H9710DS1LuSjUVccqTipid0X6wopH0tC3nvMXBv5zjO0S9pZr1Vdk06hkqZ zyjITtE01X8iTrl2jvuZN+iU3toI8d+WOp/fv07jiGKIP9yx8YXYuvIdkgsLXihzV/Pg fVNK5nyoOigHpZ/mEjO4YdTZiXWGB/UwnHC7jym1VnXqDqdOl6DzZI26a+eUSkbn7c6D 0pZbYs2mGD6pTdY6mehW3jtuzFrTiq6C49YDflBtseM9WtQbooW6GJWuvOqywZaR/Ujh NXpyJQelfnoXS21B1N08aKy9Z6Ye5BmVQMWe0E8SEbAcXFyyYXQVWnzZ4mdYdOxPnuTZ IgLw== X-Forwarded-Encrypted: i=1; AJvYcCUr1jxgJkOh2HloURcneg/hDxzajEOIp4c8g4D6e9S5ZwHM8ERZD45y5oWQ+iUCmj4tfAKXxWkdo20NMdglvyuD0jSputm9EJcKktj8zn3leio= X-Gm-Message-State: AOJu0Ywrc2Znrtqw5vK8RcvFo2OHgJyUNybbxtHkXKaA8Fv1nVpdwFFj X3ffMcsQ/wT4hEBHSbFMJvkbw5p9XPiOZWFruALz5PoI0OM0s2VcFzW+YwuyYH7PgX0xmAfqKMB vFdk= X-Google-Smtp-Source: AGHT+IHjR4VqbKBno6oOcsP9I88ns4NXyyx0hAoOpEbN6efsrEc8kzTNCaPoS2beYddSSlbI/rWFBA== X-Received: by 2002:a17:906:c352:b0:a55:8820:e8b3 with SMTP id ci18-20020a170906c35200b00a558820e8b3mr1488739ejb.19.1714470591199; Tue, 30 Apr 2024 02:49:51 -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 dk21-20020a170907941500b00a55aee4bf74sm10981024ejc.79.2024.04.30.02.49.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 02:49:50 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Tue, 30 Apr 2024 10:49:49 +0100 Subject: [PATCH v2 4/4] arm64: dts: exynos: gs101: specify empty clocks for remaining pinctrl Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240430-samsung-pinctrl-busclock-dts-v2-4-14fc988139dd@linaro.org> References: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> In-Reply-To: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> To: Peter Griffin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Tudor Ambarus , Will McVicker , Sam Protsenko , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr?= =?utf-8?q?=C3=A9_Draszik?= X-Mailer: b4 0.12.4 The pinctrl instances hsi1, gsactrl, and gsacore need a clock for register access to work. Since we haven't implemented the relevant CMUs for the clocks required by these instances just add empty clocks for now so as to make the DT pass the validation checks. Once the clocks are implmented in the gs101 clock driver, these should be updated then. Signed-off-by: André Draszik Reviewed-by: Tudor Ambarus --- v2: use empty clock instead of placeholder --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index f8fcbbb06e7b..c8a5eb8c7d45 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -1309,6 +1309,9 @@ usbdrd31_dwc3: usb@0 { pinctrl_hsi1: pinctrl@11840000 { compatible = "google,gs101-pinctrl"; reg = <0x11840000 0x00001000>; + /* TODO: update once support for this CMU exists */ + clocks = <0>; + clock-names = "pclk"; interrupts = ; }; @@ -1380,11 +1383,17 @@ wakeup-interrupt-controller { pinctrl_gsactrl: pinctrl@17940000 { compatible = "google,gs101-pinctrl"; reg = <0x17940000 0x00001000>; + /* TODO: update once support for this CMU exists */ + clocks = <0>; + clock-names = "pclk"; }; pinctrl_gsacore: pinctrl@17a80000 { compatible = "google,gs101-pinctrl"; reg = <0x17a80000 0x00001000>; + /* TODO: update once support for this CMU exists */ + clocks = <0>; + clock-names = "pclk"; }; cmu_top: clock-controller@1e080000 {