From patchwork Mon Apr 29 11:15:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13646628 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.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 7404F3EA8C for ; Mon, 29 Apr 2024 11:15:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714389345; cv=none; b=U/amLSS6o6fToxZWtJdwzUQrbn2EtAnLJN1SiwxqkwgQpEftJ6kkDbDATva+zFnfnrE+/8P1AAL8JSpK+A2OsdlIS4Lt6P7esFvw21rBrDkGTOpd+/VfBniYEE7n3fDdjjaFZnjZXp+HfTRv+yTSj6AhKyQ6hThTVJm7J1qWDak= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714389345; c=relaxed/simple; bh=WARBLKc8IIwkOZR1KT6Pc8Nf7x5S3Qw6DwX2PgELUbs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SkrDSQlIk6Ao2MThOkyhAX3uQeM0Ry+VK9tpZHGIyv9PinalSbQybHNgL6t9s/5RhEOOyGwgwSUqJQUcvrhg9lu2SZ2opuXSL5vfGUejqXIZyu//ZPliEw4ufeiIYWgEy/OV7UkQsO2HJolUXNjQ6CYQSImjpDIK/SmkXPIuWLA= 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=eTs3vNUy; arc=none smtp.client-ip=209.85.128.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="eTs3vNUy" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-41b79450f8cso25741725e9.3 for ; Mon, 29 Apr 2024 04:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714389342; x=1714994142; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=B7YOs9puuo8onPpvdQ4CfanEhu1eADekMseFBdt3Sao=; b=eTs3vNUya7bNA5zKpq5cxzIQSNBuHDEUCreP0pieQq2Sop/r3kfOZsVVU309MQ9Q0f 7pgQTfFHBs3AytKICf15QMgVNsVE27EzR2u3rWOsrtI1/zvLYsiLgqWnki0FdSuYsJuU eHTi2RK2/A7VzpeYvIcWhBb8lbwyOqiAcYLcNCynAPUrM0LziqPKCUolszWq8uMIawIx l+UKJmavnhKuv3a8kDM53mIaEYkW8Nz0tuPAbTfVASADKbKaNKPtb9PBaVh3USx4O9LW GD1AZ+Yw2/ZgyQqgA6p18yLA54bWnVf5YwqXuEir3fb8EBkrSQhDK1Ndp5WOkhX1eBKy svKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714389342; x=1714994142; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B7YOs9puuo8onPpvdQ4CfanEhu1eADekMseFBdt3Sao=; b=s0asZgIqQ9SeYtCDDtppsCiP9XNo7w4Jbk8NahmMTVDbtVxBxJahhibIDedVykspA0 C/eUfLAGUQM3ny4PmNjkaZ7H+/Oaw37ZFKhzOy3xD70HqczYAzusaEbP6lraWefmlLZg zXR75OuWF/tQ4HqR0/EIwxyBVoPjDYStr1x6PFl3LxDKMpHoWBiCp5AQO6CBFb6cW6eC jTNxApOAomrUc9vEeLBOwEIo/F4pyaDxnaARCftF5H5vrQSEk/vV4rOhQ+w9AVK4f0g5 pGwo6+pyI9j0aXnDlTWT7sZy73qxo7fi5mO+FXNuJp6izxeQ+ETm7fdp6PbjVYH3cLYD ASKg== X-Forwarded-Encrypted: i=1; AJvYcCVy+Q2qHohMbBjxJxOL3xZc4ygrguLTPsxAvuXnlbPZCe6xW7NQjBYeSx/T/2Yl6SgJ6aMGkq5Qjv0PTDBFti0ATgu9l4InfQVdBpXzqgE9VVw= X-Gm-Message-State: AOJu0YzKHenhajyc12Quo5P+zPZhSdD9cHIwT6UutdIZOB1oI8f0Lo5c H7UVUo+2wHknBJpYNSIEYkk/q6qiNo3ThHt4Jqb6nZiV4MN53R55qGigmnKpqOsPetWC27XIhDu dqyQ= X-Google-Smtp-Source: AGHT+IHgx7Hr77YwfgooYgYOrE6P0eeKNZeE70sQQxjdW6m8A4bLVKtOXlKGH9X3NxEJDcLuotdqVQ== X-Received: by 2002:a05:600c:450e:b0:41c:7ac7:17f5 with SMTP id t14-20020a05600c450e00b0041c7ac717f5mr381669wmo.24.1714389341861; Mon, 29 Apr 2024 04:15:41 -0700 (PDT) Received: from gpeter-l.lan ([2a0d:3344:2e8:8510:550a:b373:6b8:63ab]) by smtp.gmail.com with ESMTPSA id c7-20020a05600c0a4700b0041b434e5869sm16005337wmq.43.2024.04.29.04.15.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:15:41 -0700 (PDT) From: Peter Griffin To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, alim.akhtar@samsung.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, kernel-team@android.com, Peter Griffin Subject: [PATCH v4 1/4] dt-bindings: soc: google: exynos-sysreg: add dedicated hsi2 sysreg compatible Date: Mon, 29 Apr 2024 12:15:34 +0100 Message-ID: <20240429111537.2369227-2-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240429111537.2369227-1-peter.griffin@linaro.org> References: <20240429111537.2369227-1-peter.griffin@linaro.org> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Update dt schema to include the gs101 hsi2 sysreg compatible. Signed-off-by: Peter Griffin Reviewed-by: André Draszik Acked-by: Rob Herring --- .../devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml index c0c6ce8fc786..3ca220582897 100644 --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml @@ -15,6 +15,7 @@ properties: - items: - enum: - google,gs101-apm-sysreg + - google,gs101-hsi2-sysreg - google,gs101-peric0-sysreg - google,gs101-peric1-sysreg - samsung,exynos3-sysreg @@ -72,6 +73,7 @@ allOf: compatible: contains: enum: + - google,gs101-hsi2-sysreg - google,gs101-peric0-sysreg - google,gs101-peric1-sysreg - samsung,exynos850-cmgp-sysreg From patchwork Mon Apr 29 11:15:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13646629 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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 2BF0240853 for ; Mon, 29 Apr 2024 11:15:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714389346; cv=none; b=aOjRAYS6uKrKe85r2ViwYfkVRe7KQqKIfO7HjHUr3SWO+YL/UO2dMyFwo3ttNmmhZ+iVeAN5JEIX81DODt5wxyqC0Otgl4AXRzYx6cH5clOmMVxgJrfN5DNdvuSK9O+f0kxLWgfjHmzfj45Of5LLdonZbe5rwXP5tE5JBNaMJCU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714389346; c=relaxed/simple; bh=2bBWeKw/Y+4Mjf1rMVzvCAaya5L2mkp9pQ+MhRjpvLM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hzZk+3lQQkx1Uc0/u+YhFi1l7pmiGQuYJiOYDJnKa0cpeL9R2qjwVbq90KhJ9NjQ77tvl9hr85WHRseTIgxJ612nYWl1OihwVwv/zxu9VuZyTZEHkZTKyzIVeHE4e5YsujEn4hruqeI6bpwegIUb1WwnLjsBzZYHnmGXT09vnpw= 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=W/zGqOmK; arc=none smtp.client-ip=209.85.208.180 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="W/zGqOmK" Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-2dd7e56009cso56170961fa.3 for ; Mon, 29 Apr 2024 04:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714389343; x=1714994143; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BHjJbBAINE/uHYfzybf0SNljSNHWl/yKpH52w4l4aoE=; b=W/zGqOmK0Fe8UVaPP3aTXX/g2+G1zzDf6IHY006cGhXUjUbI2RX4TubyWQjMp1yOEY ykS8m6I/Jty0H+3t4QOKq/nauQTlDTg8XcfXXn+7kMtfv44V9FFFYzBiIu2rglczIhx1 mAKnkzmIk7DBkpOUkUSncw9OGIcY5DyBfAGrk9omPz1X7hQv8zqgFFmeXtescOszHBfH ZZTBOJ05aTLWaNfOZtrpyman7rSCSih/2/ZiORoAoPUmDZVkDvDBVx33WMrNsG8eeAPF RDfRJIyHRNGkvl6ueCbyVSvl/ptfPkUJIiAm+GiN4esMlgIUHwOW+aBqcZof/RJxlUce /xMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714389343; x=1714994143; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BHjJbBAINE/uHYfzybf0SNljSNHWl/yKpH52w4l4aoE=; b=sQ8Q78WyTMJltFcKQnHoA2GhNYSScxlBEHxLNHF5g4JzR7UBA4kJfqfEzoERrLX0CV CVvuwxkBybOODvuJRkR6kL8EjyQVmW6NgUsTdTLa6hhC6kPitpn3WKf63TSJK9/MNwfd ItIh8GmGWl1Dg29bKgzhydkwb0neJhOGvYqlVs4KEkfP/7jnWP+WIsreMmyPQVSox1Q9 B7EPpIpsFEtrYcshCPJ2BfBHUm9pfQuINfgUhfqS8cDXRodYzk3D27KWfDCS2pZMyymt aPvjdntp9C3NPziFrJ8JyowAoDek/o1UNyt2BkMw7zGwq6gVjvecQDpaoqvULNXcIgBK 72Pw== X-Forwarded-Encrypted: i=1; AJvYcCXt/ukPkUP1kE2ZJEJ1AZLtVC0dyJRLo3JFE0Mg2Qi4k0VaXf1z17k6iHW7iIGHn7EFOpUAbhj+DmyVNRjyOYrDCNsUlH808hQEMJe24RZCTys= X-Gm-Message-State: AOJu0YxubDV/hyP/QUk4jsH3Ye6HdVmicCZD9xfqmayAiP9MoePeSHQn BIH4wxCo8548Z/2YSRSoFckCPVmeF3OOZfpv6jk6OyXJhNFl1m1XTkUcRm6DhX0= X-Google-Smtp-Source: AGHT+IFv7qguIVE7775W4L3dzsBVXBiC/Y3AMssuKVMJHdRZlaNoXrE4DcONgklKCs0h2HeB4A7w1g== X-Received: by 2002:a2e:a70e:0:b0:2e0:c689:f8cd with SMTP id s14-20020a2ea70e000000b002e0c689f8cdmr76395lje.29.1714389343208; Mon, 29 Apr 2024 04:15:43 -0700 (PDT) Received: from gpeter-l.lan ([2a0d:3344:2e8:8510:550a:b373:6b8:63ab]) by smtp.gmail.com with ESMTPSA id c7-20020a05600c0a4700b0041b434e5869sm16005337wmq.43.2024.04.29.04.15.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:15:42 -0700 (PDT) From: Peter Griffin To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, alim.akhtar@samsung.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, kernel-team@android.com, Peter Griffin Subject: [PATCH v4 2/4] arm64: dts: exynos: gs101: Add the hsi2 sysreg node Date: Mon, 29 Apr 2024 12:15:35 +0100 Message-ID: <20240429111537.2369227-3-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240429111537.2369227-1-peter.griffin@linaro.org> References: <20240429111537.2369227-1-peter.griffin@linaro.org> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This has some configuration bits such as sharability that are required by UFS. Signed-off-by: Peter Griffin Reviewed-by: André Draszik --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index 38ac4fb1397e..09044deede63 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -1265,6 +1265,12 @@ cmu_hsi2: clock-controller@14400000 { clock-names = "oscclk", "bus", "pcie", "ufs_embd", "mmc_card"; }; + sysreg_hsi2: syscon@14420000 { + compatible = "google,gs101-hsi2-sysreg", "syscon"; + reg = <0x14420000 0x10000>; + clocks = <&cmu_hsi2 CLK_GOUT_HSI2_SYSREG_HSI2_PCLK>; + }; + pinctrl_hsi2: pinctrl@14440000 { compatible = "google,gs101-pinctrl"; reg = <0x14440000 0x00001000>; From patchwork Mon Apr 29 11:15:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13646630 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 DD76544C6B for ; Mon, 29 Apr 2024 11:15:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714389347; cv=none; b=hRjKc069edmZhJwaQcJpRknqIlqiCA2YBZcL78bM1U80C6xcjEgr0gQJs+ozpcu64J0SYvWZRzmV+GonphH9eG1mjx93SE7QVswmRxSWgo9AFsMh1BbDxq2PuTJF1uyFf3ll7/sYBBVGNlcc4aoArd+ghreSC2XYfHalV6MnSHA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714389347; c=relaxed/simple; bh=R8u9gOpaZoz3b/0A4Dz6h+enHqnL9gWvIJpc2lmJbIk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=p2/rbfoFJmszwq1Gz0J+p5E2pSg9s0ngC65pPI0J/5RKXxOacDhxqdVFUL5sN9ufj3NhpssmrxEbEkgIhtIMP6PtZb7mE3+yvoSNi9L6Bnx3GXp9iF8CouG09b/se4b6JluJgpfdgQiH8OnCUbZs0Rp2n5ASExgaWlGABY9uNws= 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=AgKXX2Vl; arc=none smtp.client-ip=209.85.128.47 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="AgKXX2Vl" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-41b869326daso19489115e9.0 for ; Mon, 29 Apr 2024 04:15:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714389344; x=1714994144; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=N1WAKwxpulo/9a7288mxakZp0oX6XNI0y7Pv/KuppyE=; b=AgKXX2Vlwx/zAGCM/dt48ybHFHHEf0hNZBdpzDjGbL5N11DINeQL6LDBi/3fvuWkHd ARN62iP0ZPnzYoX6nRVnitImri3c6tSPoCfuUAt38U5QtiYOQEA1r6Fkshk2cQIhOYm1 mS1JszmB07+R9eimar25jDaX/AaZcQC5GGGo3WNINuFlWikZYzKbxwEK0XmUKbm0K2AK V0YmvNf2bSu5ZBqQy/BWPegdI4BgKbQEAgz8KbaLsUsO6sYPMhGxtXwPIu5mwFvA/xz+ duiWovSvv+1+HC+t9qQfZspeJQ/I+aJtbiMgcR5VeiVooQvybJpsSJu6IezidZq0HnjU 3iYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714389344; x=1714994144; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=N1WAKwxpulo/9a7288mxakZp0oX6XNI0y7Pv/KuppyE=; b=kSBBYjjoFHJahrBwcT7q4tPbSPmucRe8fXpAWjGBuMoZHf84V7ftXkTngZYEjPPkO1 7sdwscu/OabU/0ay/CAd0WkTlFx1CiFI+dATEwKsoRLrUIE1/AJ1XVvsdoEKnbI8swsL wfVBdfhlSVQB4+G4XB5lFPW+QHernYmp1FFnVEC+gfbObZAcAsSqyX8xPWjP/1KUoS2L Q6ZjObr9puKMUreoSIzAy6oA2xsrc2J+HVcofqTqq6i4Nwwfm7sQMUGDmO4U7jmviJJt uhJzIMuB2EdUd8H2EzyweYId9PN+bqoxmnprRTggOP3j9tGtLqQwyGdBtladtBYV7Exx 72iA== X-Forwarded-Encrypted: i=1; AJvYcCX9wRutV3uk5k5r20/BKsHmYW6ALPJoXUtMiqkRSwH/QgcFmyU7Dgd6+JOyNMTX5GR7yl3+66Z64tUhRRQA9VGlbUgevxcYexxKxHy00C6iJ2g= X-Gm-Message-State: AOJu0Yw6TlPJ7n+dDFTUrYAXxlTT33xs9RhQospXvOcZf/b8F59mRN5V xCygdzDWuZwJSStH63SzHduwHCNadKQl6ZPAWpWdPjFRyPaSQgmcMtxZ9gZ7EoA= X-Google-Smtp-Source: AGHT+IEvJzhyspUyvZgekf+7N7FA03+ayXrlvlx7rF9PZ8VspjfLv75wdp9S/1Wy5cZLFnU+IA0obQ== X-Received: by 2002:a05:600c:3acb:b0:41b:e55c:8ddd with SMTP id d11-20020a05600c3acb00b0041be55c8dddmr4741849wms.27.1714389344510; Mon, 29 Apr 2024 04:15:44 -0700 (PDT) Received: from gpeter-l.lan ([2a0d:3344:2e8:8510:550a:b373:6b8:63ab]) by smtp.gmail.com with ESMTPSA id c7-20020a05600c0a4700b0041b434e5869sm16005337wmq.43.2024.04.29.04.15.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:15:44 -0700 (PDT) From: Peter Griffin To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, alim.akhtar@samsung.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, kernel-team@android.com, Peter Griffin Subject: [PATCH v4 3/4] arm64: dts: exynos: gs101: Add ufs and ufs-phy dt nodes Date: Mon, 29 Apr 2024 12:15:36 +0100 Message-ID: <20240429111537.2369227-4-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240429111537.2369227-1-peter.griffin@linaro.org> References: <20240429111537.2369227-1-peter.griffin@linaro.org> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add the ufs controller node and phy node for gs101. Signed-off-by: Peter Griffin Acked-by: André Draszik --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 36 ++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index 09044deede63..9330d99e12df 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -1277,6 +1277,42 @@ pinctrl_hsi2: pinctrl@14440000 { interrupts = ; }; + ufs_0: ufs@14700000 { + compatible = "google,gs101-ufs"; + reg = <0x14700000 0x200>, + <0x14701100 0x200>, + <0x14780000 0xa000>, + <0x14600000 0x100>; + reg-names = "hci", "vs_hci", "unipro", "ufsp"; + interrupts = ; + clocks = <&cmu_hsi2 CLK_GOUT_HSI2_UFS_EMBD_I_ACLK>, + <&cmu_hsi2 CLK_GOUT_HSI2_UFS_EMBD_I_CLK_UNIPRO>, + <&cmu_hsi2 CLK_GOUT_HSI2_UFS_EMBD_I_FMP_CLK>, + <&cmu_hsi2 CLK_GOUT_HSI2_QE_UFS_EMBD_HSI2_ACLK>, + <&cmu_hsi2 CLK_GOUT_HSI2_QE_UFS_EMBD_HSI2_PCLK>, + <&cmu_hsi2 CLK_GOUT_HSI2_SYSREG_HSI2_PCLK>; + clock-names = "core_clk", "sclk_unipro_main", "fmp", + "aclk", "pclk", "sysreg"; + freq-table-hz = <0 0>, <0 0>, <0 0>, <0 0>, <0 0>, <0 0>; + pinctrl-0 = <&ufs_rst_n &ufs_refclk_out>; + pinctrl-names = "default"; + phys = <&ufs_0_phy>; + phy-names = "ufs-phy"; + samsung,sysreg = <&sysreg_hsi2 0x710>; + status = "disabled"; + }; + + ufs_0_phy: phy@0x14704000 { + compatible = "google,gs101-ufs-phy"; + reg = <0x14704000 0x3000>; + reg-names = "phy-pma"; + samsung,pmu-syscon = <&pmu_system_controller>; + #phy-cells = <0>; + clocks = <&ext_24_5m>; + clock-names = "ref_clk"; + status = "disabled"; + }; + cmu_apm: clock-controller@17400000 { compatible = "google,gs101-cmu-apm"; reg = <0x17400000 0x8000>; From patchwork Mon Apr 29 11:15:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13646631 Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (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 D1391481BE for ; Mon, 29 Apr 2024 11:15:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714389350; cv=none; b=VP+qBfG8xXC6j64Zi5nlooouQzuVsb/qWO7YOOyKEAH9QILZZMrSd3evwbjd/q5AW0dVWF3iSogY7DqM+WhjNhQkKqpL1DuY+TCKuvx/16sizblHsy1PCn8a/pL6PT9qz5UVH4DGrPFfZTHfyKclvB8LfyMwHjTSxqUTH0OHVgU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714389350; c=relaxed/simple; bh=ZmIYYUt0QcbC0Veeq4Fmo5dE3JV8iq7sEVsLahwG0es=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=II2jYT5zD6RrOmNQVZdc8Wq5xiYzqkW0KD07N6mZq5QxvTyEEFKLWqamjpL6JibAvwOOpk0jReEAMdXu8aI/dQwlwxLAeYMVog6IYoDyvC1mdycVk2XIAQkgOdATsdsxcrpYOl0ZfO7N7yeOtxCmwKPSLnbAj6FWxUn4hLisEnc= 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=jzhQRKr0; arc=none smtp.client-ip=209.85.208.179 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="jzhQRKr0" Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2d8b2389e73so51684581fa.3 for ; Mon, 29 Apr 2024 04:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714389346; x=1714994146; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AX1t+YE1cBl5MQLmH5bPrWGcz0Ebchp9QnAASzx5oG4=; b=jzhQRKr0W3vkcBEUXKhzxmksxq1ruYNJ4hMDbmhLyGm2ayYJg/Zrc63MTyi9KMfckz pHUAlOZpflsguaLZ+Zsjii8y7QMyTVv6NKToZ6y/xqb+ikf5eK47+i7vCjwN6y5/e7sc V80kQeKP5G0umKJciItEwishSNL+Q/KIdlVP7DdY4gHGvHMZUvjEonr9e2NF34bIvDlQ 97AnLqjMXQFdLz8nxcHMr4BQVXrxun13wyFASeoYVCuBG2yqNy/XOWH0c4R4Gt5sookK NKHHkd7rCKUP/EvD6iJlFopQCh3g4Q33t2PC879531DHRt7LoeyxVYjTmxAj+vL3kLSG cJ9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714389346; x=1714994146; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AX1t+YE1cBl5MQLmH5bPrWGcz0Ebchp9QnAASzx5oG4=; b=bBmT7H4KpbMv8N3CyjRCxTzW7R1ndQK4iNKdq4aHG8/AM07Vfwa/BJmIH4u/UL/4XV FnuKjxzgbeHD/NbclobpWiOou80GPli3cKorJvWwtuI4S0nFzr15EPAIQSuZs9lAOmom C6pUsAfLEWEq3PeJy3Nt+bcTEih9+XmK+yd53LfP/nd6lMbCMmX3rlQ4vkizU71iuPtq fJWCN0QS4lRbOXfJIB3O6nn8/5ApP1jmvd7t0Kxn17aI0k0XLtFMOsxPnatwNjiwbPpt OzxfgV6+Xaf92OrWBid+JfPtKHMy0h7e5vT2HL63G9111sDA7ep3ekFnJhKA4JvU9i4t iEkA== X-Forwarded-Encrypted: i=1; AJvYcCXZE0k1/NcpCbYga740sMGueIhlF6xQ6dur81CKQ63Q2qPbMygK+cMIXPcK0iJwTUR49D3E8mX0tsOCx77VkgAjJkKMHdSnNJjfJ3z+9d/UDAQ= X-Gm-Message-State: AOJu0YymzMM92P+yYiYXRklwa9yAlGor3qRREzOk41dsOBSD/WlcltiD YbCyfjUA0bQlJnaqwBJ2LlYVSQtgiI2PqGQFixFveIFIpyS1ImAQv043AIO6TR8= X-Google-Smtp-Source: AGHT+IESPtal/xgnWl8g9+lgMXOg/jVrb4GYZr0Fcd9/7y5Pf83tPpq4h5xqaYXN+/jqF10t6hdVbA== X-Received: by 2002:a2e:960f:0:b0:2df:a8e1:c24 with SMTP id v15-20020a2e960f000000b002dfa8e10c24mr3999779ljh.34.1714389346058; Mon, 29 Apr 2024 04:15:46 -0700 (PDT) Received: from gpeter-l.lan ([2a0d:3344:2e8:8510:550a:b373:6b8:63ab]) by smtp.gmail.com with ESMTPSA id c7-20020a05600c0a4700b0041b434e5869sm16005337wmq.43.2024.04.29.04.15.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:15:45 -0700 (PDT) From: Peter Griffin To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, alim.akhtar@samsung.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, kernel-team@android.com, Peter Griffin Subject: [PATCH v4 4/4] arm64: dts: exynos: gs101: enable ufs, phy on oriole & define ufs regulator Date: Mon, 29 Apr 2024 12:15:37 +0100 Message-ID: <20240429111537.2369227-5-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240429111537.2369227-1-peter.griffin@linaro.org> References: <20240429111537.2369227-1-peter.griffin@linaro.org> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Enable ufs & ufs phy nodes for Oriole. Also define the ufs regulator node. ufs regulator is a stub until full s2mpg11 slave pmic support is added. The gpio defined is for the BOOTLD0 (gs101) signal connected to UFS_EN(s2mpg11) gpio enabled voltage rail for UFS. Signed-off-by: Peter Griffin --- .../boot/dts/exynos/google/gs101-oriole.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts index 6be15e990b65..fb32f6ce2a4d 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts @@ -53,6 +53,15 @@ button-power { wakeup-source; }; }; + + /* TODO: Remove this once S2MPG11 slave PMIC is implemented */ + ufs_0_fixed_vcc_reg: regulator-0 { + compatible = "regulator-fixed"; + regulator-name = "ufs-vcc"; + gpio = <&gpp0 1 GPIO_ACTIVE_HIGH>; + regulator-boot-on; + enable-active-high; + }; }; &ext_24_5m { @@ -106,6 +115,15 @@ &serial_0 { status = "okay"; }; +&ufs_0 { + status = "okay"; + vcc-supply = <&ufs_0_fixed_vcc_reg>; +}; + +&ufs_0_phy { + status = "okay"; +}; + &usi_uart { samsung,clkreq-on; /* needed for UART mode */ status = "okay";