From patchwork Sun Jan 21 16:57:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 764827 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 8F7F837701; Sun, 21 Jan 2024 16:59:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856360; cv=none; b=ilmH7Ivpaa5VSLstJWxjC2nqMgHrkC37WsqTsU3ke1PwT3EXjnV9PSAC07Ki1jNzs+dGIoXZxaBRv/4WfL+d+/VqEddZB4PrNRrQUFQQ9vIf3QQGcS+MTUpQNK6a4+hUn+RQzFiWITOhjFV92yEnOXxG3qRxtlUkJwU1Pf5DgnQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856360; c=relaxed/simple; bh=qVaislNuQL0+E4M3fCbQWAEijGl2Fh676slFhuCB5ls=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=I+WnA5IQxNscZyceeJgL5wDLGMw2cEuKls/RnDnZwflZj+MHH8qZRJETUvppNWx7oP4FHKRoAQhYizszVu9rFyr4DsFfUZmljyFGHVxo1VNK1s2d4GP/V4yvvUwAI/GfI+qihrfw10DpTTHwSbIQZ30GzwxJPxSdMKnTXjVHyYk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KnzOcbFN; arc=none smtp.client-ip=209.85.221.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KnzOcbFN" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-337d05b8942so2739649f8f.3; Sun, 21 Jan 2024 08:59:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856357; x=1706461157; 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=xrP9wfCZ2jd6RtCktC65pL13ukk88B3IGZsPZAZd47s=; b=KnzOcbFNhV9kyzoFyn2/SXZf7fYmC8Mrdf9pCiyXrIuxXkE/T8ZEAQWQMkOsRt0PqE 4xOqpgcRkF1jRCF/8Hug5fMYfe0RC7K94hPqG505GapSBHSzyqCxV7mEZLzurjdwISs4 b5ApOydPm+AU9I40hP3jBDXL892I8LwtXrw4kqk77Ibx2YJbvGHSaWD9QBsyZWOAIrwj 1niKUsl3YhGtGLe62R7foo4hOforMU2gIydmhPzcDkYTTFPU4DTIIK7GMLmlZeo8EUc3 8Fx8z82vjBtLUcmovY88QReBx9Lpcwibzd1Gnl0ki/x7Ps3I84RyL3JNEKdb6KiRgfMl 2pqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856357; x=1706461157; 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=xrP9wfCZ2jd6RtCktC65pL13ukk88B3IGZsPZAZd47s=; b=tahspR8xb55GZC9cmoKELwjbXwRbQYcC+I6L0l7lEaE1Yid+fLlRy96KAIIxFgGZql 5/s0pwkU16rNPMptEA9SSDMyrASZSS0M/c4CMzZBcEdqyeYtDxDEW7zPkW6Y32QIsAth JebKJ6/aGYCmNgiLSKAVc9yKZb9pfq0oSymoqsqk8LfDfuYkZ7TPTJ7mJGPhvlU9wUqT SZ14Ky8l2lyCQeYE0AOEowRipcV/CI9wJCZ7cc2A2oizjrrxYHlpzUNLa9KyTF+U4btw 9NMjYMWwwFuWUj+3U4iNKfNDM5ofHzzcwYLRB2Hp9FFhvB/uwJPzBQDwIZZphr/uWZBM WtDw== X-Gm-Message-State: AOJu0YyYZ80v3kvJ8CFpANmT7Ak76IqoixycEKD6IzZSXq+n/mjiO6+I HZzLX5nqZ2Z3X0yMnjSpRlOy6fSiagYoHf2o47Hnwm5fJy9M2FWSvpdnaXR/ X-Google-Smtp-Source: AGHT+IHgwqwfnrwyYx4GELirb4O616sy167S9jUeoBLlOPt8dQcdntaeRd2H0ZUNOYNgKGDoH6RGhA== X-Received: by 2002:a5d:4909:0:b0:337:c409:7185 with SMTP id x9-20020a5d4909000000b00337c4097185mr1484584wrq.94.1705856356794; Sun, 21 Jan 2024 08:59:16 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:16 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:41 +0100 Subject: [PATCH v4 1/8] dt-bindings: crypto: ice: Document SC7180 inline crypto engine Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-1-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek , Rob Herring X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=963; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=qVaislNuQL0+E4M3fCbQWAEijGl2Fh676slFhuCB5ls=; b=9HTrsSpduIv2mwBjs1XJi1bw5o2OEcQY6lYj8iILvPj6Y+FxFPgzh2qDpXJ5dJGz4yaUFWh/D 9VxDlSzjpLQBGBZclcODRqlOx0Fse5/u9wppCugvvn63EQVSewF52Bv X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= Document the compatible used for the inline crypto engine found on SC7180. Acked-by: Rob Herring Signed-off-by: David Wronek --- Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml index 09e43157cc71..e91bc7dc6ad3 100644 --- a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml @@ -14,6 +14,7 @@ properties: items: - enum: - qcom,sa8775p-inline-crypto-engine + - qcom,sc7180-inline-crypto-engine - qcom,sm8450-inline-crypto-engine - qcom,sm8550-inline-crypto-engine - qcom,sm8650-inline-crypto-engine From patchwork Sun Jan 21 16:57:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 764523 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.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 E4ED6381B5; Sun, 21 Jan 2024 16:59:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856361; cv=none; b=rL5UiBkSbsKsqinVCE/1c6/m3awl7HCBhbJNX0lBAVcZmuYa0GUwAGVsMDBJn0RNGTe65HToATH1mL8F22M1xdvch7A3rCzBGo0QsCdSGzGx4nWJQqRkew3aaGtTGlGiItiu93Orful7JT76o+xcmX2wTTzdqORXRn9MYhcQphk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856361; c=relaxed/simple; bh=Jpa+UNNLs24Diq5dowo6GPIXCclVUvmY09+FVLxKwmg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EzcQ/Mk7QsHpwMfIqSR0C/VHWWe4cRcCLM/leOTUJ5ox4S9e+j1OeEWBPtxfdFp7rSG/itgRg3qDdh2zbgwZfw9E/1sArVJTKA5he/3ieRY7TB1lrwPCZnOYRBSmYHmzmcGyljjT7N9jGRh4YA94SkI/4YlgZfpcogqtjORBtp0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=T1xsTmvB; arc=none smtp.client-ip=209.85.221.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="T1xsTmvB" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-33929364bdaso895262f8f.2; Sun, 21 Jan 2024 08:59:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856358; x=1706461158; 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=lcyy3FdcumLf+0bJAa7WjbUfMZPoJdzKzctDCt5Y3/s=; b=T1xsTmvBOMLatqBC9Okjv/40EPajR6IpOxhDyFxJVPi3SmHnhR+ma71wxoQyNLvq9C YiH7gGC8Lwsys6613F0vc7TksAz486MWUwCuPRWEKUn71dHKJLU0bhIm05BoDlRVCbxk v78aidBEb/PECwqYYiDXvVVLVbiuFFLC+i5c2glISG+e5IvCpdXi+HP6KbfxpC9WQJCP GL4Xg8qzKpwL64KKhbvpDvdIGdYwoEqU9xEqJGMjmTs/pzGAvP6Hm3C+1bb6SOFTEZhz ZbvJ069xwRRSqCkA5AeM4hCPjrfpJSyln1xn5sD7oP661PDgetW24LMOqTPrMxlCAVfQ 4wRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856358; x=1706461158; 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=lcyy3FdcumLf+0bJAa7WjbUfMZPoJdzKzctDCt5Y3/s=; b=EoaQ3qOmifRyMgCIBCXoPBrc7EnaBJPnEnsxDWw4jOzqywA5TfJBIGewwGVyLZJKGe Tb6Ycq5VwWX/47BGQ5eyUajNH3/+S2SH4nnC3odgVKU2V2CEgbO8MLD8eWaClYTmm1cI oGd/PZLUfrWgw24Qn+Dy4bFpSpLRE4BJ8Kw2zkvHBvL5X05J/uea44xPCraxvEE749WS fiFDTtezWE5dMj0Vf7okXeVyqmE3SIsII7iHBqKP9XeOkGUDeeQHZyDiFBI5J8BUxUTm RMGx3ErQHxU6m8juyXeai3MV17yV0VvZtYY3wvssswimPdAylq3zMecGdHyGwIKCto3H S8NA== X-Gm-Message-State: AOJu0YyjYe4jq45Dsb3VMlxu2eTQCziHLQSnq0NqPkLdzGT3YejDGw89 ea3bDvCagTCqeIP84KoGE8GnzOg4l2XENcUkDWLmkyF5bbGybZTI X-Google-Smtp-Source: AGHT+IH7vJfDguI9aWHPkY/+pU5zA2sBfQpsz1pmrv8VHhWYH8BCZUCPAUAflbiXwqJ1Jgg+BxdAcA== X-Received: by 2002:a5d:54cf:0:b0:339:367c:d996 with SMTP id x15-20020a5d54cf000000b00339367cd996mr340629wrv.93.1705856357842; Sun, 21 Jan 2024 08:59:17 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:17 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:42 +0100 Subject: [PATCH v4 2/8] dt-bindings: ufs: qcom: Add SC7180 compatible string Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-2-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=1028; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=Jpa+UNNLs24Diq5dowo6GPIXCclVUvmY09+FVLxKwmg=; b=lNyeaYS6Qp1ZWD5Kvx5tHZczmo/Kws1qXyoqn1GfwLq811lXacb4y5BNYD9uczSgtcRTGGfwr 2YR6nTxDvstCETIcABLyxsxqgnh8crG5seFQjjlfTxn/34m273oKeTf X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= Document the compatible for the UFS found on SC7180. Reviewed-by: Krzysztof Kozlowski Signed-off-by: David Wronek --- Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index 10c146424baa..9a4f2b43e155 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -27,6 +27,7 @@ properties: - qcom,msm8996-ufshc - qcom,msm8998-ufshc - qcom,sa8775p-ufshc + - qcom,sc7180-ufshc - qcom,sc7280-ufshc - qcom,sc8280xp-ufshc - qcom,sdm845-ufshc @@ -214,6 +215,7 @@ allOf: compatible: contains: enum: + - qcom,sc7180-ufshc - qcom,sm6115-ufshc then: properties: From patchwork Sun Jan 21 16:57:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 764826 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 C4188381DC; Sun, 21 Jan 2024 16:59:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856362; cv=none; b=mG6gqUwX5YyZBtCTc4KNjqdieUMD/WjWdQvbFqYv/hFtycsZjhQgRfxmLNvXvVttg5z4NR82mdV4ch8mH/bMHrTJoBBjqMz9PjXVltJ9nw06XWQdlkohhYjAFYhsQlTjpIsY5duDaN3UEcrfDhjHu47GBgmnPJwyZoQ/gMGDFcA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856362; c=relaxed/simple; bh=7JQ6Zn2Q/95Qw3aNMQph8bonATbc18xDznjJ9sX4apo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nNuERrCgAYl4NQ3az6ht0T6Ko+jXhkZg8KF8PCm+hKsuvSO1QG/3/5qGGk/vgwjxGly29vonXjfGEXTBsXMwB8G1ftQ7Ru8viVbu6c7Csq3FuTLh7Yk+IR5oa1k9MYyqNa4aKMD5UMScVxOJORoWZam7nqsZmLMmW2+AguohXrA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=TpWR1Wcf; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TpWR1Wcf" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-339261a6ec2so1155142f8f.0; Sun, 21 Jan 2024 08:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856359; x=1706461159; 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=r7GFapMX83Ugwi2W5do1tXfyoLlSaiu9uYO/iyI3nsY=; b=TpWR1WcfMTWJmH0vxPz5aZDhxTXWhuYVanmeBia7RAxKl6IgVRdONMHKH1F0ppVcMc ruH2dWMbboPSQamF0KO6QY3Ls+EFabIQmqoxNQgBStmUn111bTbCw8r5PbVTJ6DzIIB/ JUu8IQNpmOJrbQMc8FwCL7BtlRfLTrLHELXMXWmpGgBaCuGG2j4f6hw7jmg7l3AKHMYp jcjWjSzDG0niBpkGslWrrFS93S12pRAAqm33lSmJs3WKcS5KSLh1x7V/krk8N02c8aa8 bi7hsMreRe5OvL+dBGlvK80jwDoZ+vIv8gzUmceLuOPNsWca294WyyAGAbIYRPNSoizf ZBiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856359; x=1706461159; 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=r7GFapMX83Ugwi2W5do1tXfyoLlSaiu9uYO/iyI3nsY=; b=MhZBT1BYvt77Bnlxs8xFVNacwZd7M8/X2FZWn2e8tv0OIeax/wCpts6F9BmAOQou05 73oJAE7gO6YtwFt35rlnzURMAQ27tgXjvm5XNJM6owlzzq/GUCw7Ul9I/PFWMlM6RCtB yJyKrKo/ZdQ2YJkplRiO220nP72D9imMWA/bu9/ITbTe0HdQ9sMO7hyhxTISRu/ohePN 18M/gJZ/ucNAPgMQ053DV0lC/2NlfyZNV9HHGuau9/Z1PQdSiNCf/KjKLGZhvk77u29L DZo7yTUlBENhIhRZp7aIqlE+CPcNw9t+v7Pfha0Gh+ejuVv7BJiuiLc4f4SExRK+/T1J 1dnA== X-Gm-Message-State: AOJu0YzpREV+/mvhKlvCfbwkqASvh6B3VNF6oZP1P2C1d+22lPtd0TCh JvtoKVj57gwsMcRuDgxTb9bHiFl69qCZEvcW6g12fAI/UJJveC5U X-Google-Smtp-Source: AGHT+IE8u/xPbve4SsuSe6cCHX0i1Rfu5/34go7AfvGZd3Wlg8LTxSONonioZF0LPss8c+LMH1Obbw== X-Received: by 2002:a5d:56c8:0:b0:337:bf42:b1f8 with SMTP id m8-20020a5d56c8000000b00337bf42b1f8mr1642775wrw.137.1705856358841; Sun, 21 Jan 2024 08:59:18 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:18 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:43 +0100 Subject: [PATCH v4 3/8] dt-bindings: phy: Add QMP UFS PHY compatible for SC7180 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-3-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek , Rob Herring X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=1184; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=7JQ6Zn2Q/95Qw3aNMQph8bonATbc18xDznjJ9sX4apo=; b=p7icsHatqXQbBNED8tZYwMAcrMaUB6qn7TQ0TYBDmoaZXtd6q3BrjIUNtLAwbqxge+mvUiXa/ w5MwFkUcizSCKuCRhI4qAwDpUiVlPCZDoWnWHfxUHK5Q/dNp1snfHsG X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= Document the QMP UFS PHY compatible for SC7180 Acked-by: Rob Herring Signed-off-by: David Wronek --- Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml index 8474eef8d0ff..5faa1cb3a12e 100644 --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml @@ -19,6 +19,7 @@ properties: - qcom,msm8996-qmp-ufs-phy - qcom,msm8998-qmp-ufs-phy - qcom,sa8775p-qmp-ufs-phy + - qcom,sc7180-qmp-ufs-phy - qcom,sc7280-qmp-ufs-phy - qcom,sc8180x-qmp-ufs-phy - qcom,sc8280xp-qmp-ufs-phy @@ -102,6 +103,7 @@ allOf: contains: enum: - qcom,msm8998-qmp-ufs-phy + - qcom,sc7180-qmp-ufs-phy - qcom,sc8180x-qmp-ufs-phy - qcom,sc8280xp-qmp-ufs-phy - qcom,sdm845-qmp-ufs-phy From patchwork Sun Jan 21 16:57:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 764522 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 00289383A4; Sun, 21 Jan 2024 16:59:21 +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=1705856363; cv=none; b=DlklOIOujt+gnK8gkGhWX8ixEJibXEByXMMpgAYSC5tijb3NAPyAENISf13hoXgYD6W1fwqa7YHw4XV2tJhba5SDBZGVjyApo7QxVqwjc9++eNU3IR5yW83pcACTHiqXNd7Cr5htwloVcIFqFIIhL5MLj5gYkYKElExmQ22DCRM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856363; c=relaxed/simple; bh=9P0k3L/QGLlCkBie4meFZUg9K/Pv6h/ZSaFYlC5vj8A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iC/qDwirFXeeMcbt1gP6iifG5Xrj92lo9jBnJ0WmpCohxYzvCjwFJaS6gvwfFqAqWV4U6xH+73xST/bt3CXKNQ6bhAyiMmR7Srugj9/edQWSgS8eIHSew8iu6NKpL+eIRS2lL21axnOkllqaT0XlDl1frPnWzffBTWF7tF/5K2w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MntYn5yD; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MntYn5yD" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-40e8801221cso24260505e9.1; Sun, 21 Jan 2024 08:59:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856360; x=1706461160; 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=tPmH+29RYhsMvZ/W94dqz0aawqDom5pf3+7eomrNrXY=; b=MntYn5yD/bORVPPQDrw5c251POtXgOM3uZXytFHQL8y0/nbHEP8Evfdeq+yWjAETZz Exq0GlezXy72w3mwj1UIFryVqTgw2po6uta2W3TkDvcUP4u6PHWUmlXQsssPveVFlPII yNb6CW2Vm9bYnIgOjz60LWPRR5klT+8ALlCkBjHOJULP9wTkbZblutcVNvNdmgM9suGd F0boFK12+L8RNSBBmZAlJuzeL6gUaiTwE1MkUbmN3jTHfDxPh3orBqpqE1lqnt09AfVS 0eEwXRxSi9O77ImbJF9sXRRT4dfhlzpQoWCdPplY/u1RLtlJiiHsl43QL/ZJR+dlWjSU am3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856360; x=1706461160; 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=tPmH+29RYhsMvZ/W94dqz0aawqDom5pf3+7eomrNrXY=; b=P9J2VbLBiPbr63fFGCvgS7AUL3PLVstoeQIuWbPTilP/VmtXx1uYy3St0/Ah2WNoRp s4wBg/7PrxxzeEBKwX89xgngyRCiLEzLvAhpOFMYDXt+geF0C1IXB3JgFdr5P4l2x24E OmjmEmcoU82TsG4cLeb/VvToxqJWwy+5/Zlcm3FTAIBn1b0xMN8rGEatgbDjRKHUvbSd l43cPyuMjTVmNjEBXA6hfz8X+/pQUxHGQpoQwEvnryAqcGZl3tI294JkUuL5LEb5j6p8 Q2RpSDchxOdTaCeD/d4WzBQS+p1R2q8/l4/D0ChUgjf64yLrTBl6bALS/uLpDJCOqL9S VOcg== X-Gm-Message-State: AOJu0YxGfXi0fzkKSAOG0JJvCufAfgNmOJFoergrXhamV6BUS2Jyt15v izAQlD72tp2+RbPPdn1DI6wSC+xWUwmCBMOPmgPNoEbPmET9xah8 X-Google-Smtp-Source: AGHT+IHd062lUefjKuYSDE1sm0d+aQdF5Lm9X7ZGzR/cGqkeMNk1bVa+M+tTf+NCko2ktDoO+NPlOw== X-Received: by 2002:a05:600c:3147:b0:40e:4833:8141 with SMTP id h7-20020a05600c314700b0040e48338141mr1949674wmo.4.1705856359854; Sun, 21 Jan 2024 08:59:19 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:19 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:44 +0100 Subject: [PATCH v4 4/8] dt-bindings: arm: qcom: Add Xiaomi Redmi Note 9S Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-4-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=772; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=9P0k3L/QGLlCkBie4meFZUg9K/Pv6h/ZSaFYlC5vj8A=; b=7dgjLWpE/KNwH5PdsDAbxrechK9n7aC3A6OOpy7q0P62gZKsZCc5Zuy5ZKyG8P1EnxxYMNGPI /A583JCdPVnC3yofzZfDQZVugh9sHjovG4WI20FDjk5v1zqg059dZHg X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= Document the Xiaomi Redmi Note 9S (curtana) smartphone, which is based on the Qualcomm SM7125 SoC. Reviewed-by: Krzysztof Kozlowski Signed-off-by: David Wronek --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 1a5fb889a444..59430524dac6 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -988,6 +988,7 @@ properties: - items: - enum: + - xiaomi,curtana - xiaomi,joyeuse - const: qcom,sm7125 From patchwork Sun Jan 21 16:57:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 764825 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.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 7301638DEF; Sun, 21 Jan 2024 16:59:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856365; cv=none; b=YGfxg54diaxu1ZAVuwtxAxNk3zFWbNi4Z9NxNkgpCa5xL0bQ9P4CTj3a4eMsTvpv2hCJZZGTHdeREVWQiRULgoOwzZ7tN932Eujs0SmgoReMQDNeSGpsl0ym3ibyEhacdpmjXD4ZXLfSoXJmht90hnV+1WR9qu9J4kQP8qEVLDE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856365; c=relaxed/simple; bh=8+nVfXj0pK+UjGyYY9L8MCyBz+TFFNaW6LNlpt4ylqk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eMIF6lRw26/DIiQnYvizgkmvaVmqD87H5X7unCuB+y3jAuuJoFvQkx9kjoVtjBSkDe1MdYs8rNBVqAhJtZyU2cvQpZop3N2VaoMgOKRUSNwODzx9Ar20SGTsVQbCyFgFE5RSGmncSzMcyDSayQljFflX9Qt1+egDf1pMEJjZ888= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aup/fFS3; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aup/fFS3" Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-337d32cd9c1so2182005f8f.2; Sun, 21 Jan 2024 08:59:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856361; x=1706461161; 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=T+6WENXvJzBB49YV3y2BUzN0W4hKGmw5Xn61RrMIgRs=; b=aup/fFS3Y4w8TthsRFKNqL27UHQ9/LgKbWpfMiKMvlLtrFad5NAkpn6tGVkQai7RBn w11sQ9CVhFc+QFTFL/VMHEA52D22OQXJ2Z6RjqkRK05NKbPZ30FDKAanWVFayFHcW4Jd UF/JUGgtXkJHPaQNYGLH0cuci2IahDAWS6Wt0+mMabAQHILP6Yux/hO68cKgwQXVgghp +hW2FbgCc6guHut2wp/sgi20yD/cKPBbAg9hQDxxaqpO75RM8T+dLcnaeEgesCPbO2e3 MSOOPCttD0eF0G0dUW8a+Cm6KqQ0EZ20WrM0+Kwur+K8M1L6vfWbKwKqRX7ULK/p9TCa zcSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856361; x=1706461161; 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=T+6WENXvJzBB49YV3y2BUzN0W4hKGmw5Xn61RrMIgRs=; b=HeT44XzeFYtk9BGN2slyFxNmj0ERMjJxfMwivVt3qt3ZvXEyz3stI/3o/d2rKjUR79 N9TaZPU92kG1lb2dzmzyco1OMZfdMv59+62JNRT5sAZkK0WIL1X8rEbiWcj+tAVu90xf jSqjDjQYdypq3niMQXQTJOupnSDeczhjJ8derOgLdikUePcDvGocRmw9/gZS6ewkVe14 uS92Q2WeBjFDi4G9mvVNtIPlLhd0f2BMAJccuKApuDIlPf8vA4Cl/cInvuG/vLSWeMbu XifXS5sd4Rq4xnH4r3Jjx2eHD+HeP32HrnB5yO6UChLB1XBKjWbF/BlH7LPkHD8wScBK ktvw== X-Gm-Message-State: AOJu0YwHCAytBxn1HACUPKhgf91JUSqN96VqlMWdkBhbIWw9moKY+uHG 5gOhXxHrQi/WFF135D41hTM+K3e7TDsTorea98IOqcwdd9qxSxwH X-Google-Smtp-Source: AGHT+IGKDLspvXbJOtsgxvDfAuNqgIbRDm7R7ElQMadvYLL94yJb/D6uXw5FOYyFeAiMNtop26bL1Q== X-Received: by 2002:adf:ea88:0:b0:337:d649:da82 with SMTP id s8-20020adfea88000000b00337d649da82mr1495551wrm.101.1705856360907; Sun, 21 Jan 2024 08:59:20 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:20 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:45 +0100 Subject: [PATCH v4 5/8] phy: qcom: qmp-ufs: Add SC7180 support Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-5-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek , Dmitry Baryshkov X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=882; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=8+nVfXj0pK+UjGyYY9L8MCyBz+TFFNaW6LNlpt4ylqk=; b=kfHyJ/tjpR2+eR1yN56hNm0nYVS3p8pzrA69vt9HClWzleBmTA8xfzM1UGjRKCjNUZ3gJoXeK xrtY34kSzyyAqbfw/wsmQQZWdSqyTCxxbx2lA4kyLhZ2PefdBtNDzaa X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= The SC7180 UFS PHY is identical to the one found on SM7150. Add a compatible for it. Reviewed-by: Dmitry Baryshkov Signed-off-by: David Wronek --- drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c index 3c2e6255e26f..0276de802d78 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c @@ -1880,6 +1880,9 @@ static const struct of_device_id qmp_ufs_of_match_table[] = { }, { .compatible = "qcom,sa8775p-qmp-ufs-phy", .data = &sa8775p_ufsphy_cfg, + }, { + .compatible = "qcom,sc7180-qmp-ufs-phy", + .data = &sm7150_ufsphy_cfg, }, { .compatible = "qcom,sc7280-qmp-ufs-phy", .data = &sc7280_ufsphy_cfg, From patchwork Sun Jan 21 16:57:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 764521 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.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 B3F2138DFC; Sun, 21 Jan 2024 16:59:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856365; cv=none; b=C3HxjPzTgLt1RkaZmGvj11iFodCPFTKAgceXxvKP51YK9q02wQ4/dcEXOCjENUCdppE/LfxM/WjV12i61iPzth1MYR1/xmr5NAF1bIuW6iK8rXDp5o+n2kvoiFp6oz2EqG+KFqizsQ0JkNWG37ddLeNXrmokmOe0KcrggR1LZZY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856365; c=relaxed/simple; bh=MtVhwuHNbEP/vSCa8fcY/sH7cIwR8Q8n7RkTyvahgCQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=b4aTSbdhXrusWSb8WTu2H4HjflQ+Z/LPj2yqM2jLd04jfBJMOdLs1xVQ69oKbff2xo2DxD475cDDmFHo3c4Cj3uuLaTFcx0tfxuZ4xaw99NS1WPzfnCO0kcJaJDspGG8BTMOAHk0vIxLagYD6oxAfLjV9/I0t4RZ4jXsW97Q61Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=FVGkoRP7; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FVGkoRP7" Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-33922d2cb92so2090909f8f.1; Sun, 21 Jan 2024 08:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856362; x=1706461162; 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=Qo0ib7C6TUtcBIejQoK+EtbiZe92K2BuKhrngunq1ko=; b=FVGkoRP7V6TdFiBdrX4TjLXDB/PWJy/8JjPMB08gu5rJyqp94KmmkFpANMFy8M2jYC L/2ZBg4mULdIpeIqZFMLaxfyCILRfxVRdf5tjZNgJ2pQZTFkwMlzeYFn+IeOdntXy7km TiqwKqMD48qbCcndRs40u0yBGiEyASeFx8957MNgYZ3QxHQzkMcTtMkNTP2MAPCigNir u6WaSXt7aBQCkdd/3A9hSkXNUvEZCSBY6H1J/WIbN4JoslOJ6Dy904Pj4lV8lvJUPO6R NpT5AEF+Cgv2vPaM7SZymhgCsEnHuBrefi7+D0JHnE90InxF24C8BFKns3dLDilM/6uH Jh1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856362; x=1706461162; 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=Qo0ib7C6TUtcBIejQoK+EtbiZe92K2BuKhrngunq1ko=; b=cmlN9Dx6/KgxkCwaltmxY9Vp4/5w9MYG6LPoPyHDKpHL+g9GH/N2QAY5k3r9ow3aWH YLzUkOoRd+thvvN1fK+N2SQHAOeCsKiE3oKSzpNbHj4TNHhgWm5dRIO+CQ8VMHSgwg+U Geq/6U+ymgI3VU7ImUmsb1PX9JSJAttBZCy1BDiOyHYciIsyF1UXqtxCuicQQ273TYn4 qigo11gJmorzlK5R9qAsxxfou3y+nA2PHXYOqyGz+dIclaHGVe+TwopeKo6WevRmVKkA MIKe8Pzc8X6JTDjXuPnyT8jmARBEDmYPmXdz055uAGbgurCqsHPr/EgQwxqVYEcrPnBA H6vw== X-Gm-Message-State: AOJu0Yyxhe3r6JbShEpr2TmdYlKiVwNluYIWzkhn2kgGYQVqmw6QU2MY hrMYi3YpGraxPPaHAj0BE8xXkXrDLpw/mjrC5PA1qOdGa//+QRpG X-Google-Smtp-Source: AGHT+IGJoG871Sz7xpwv8z4prtpFIJHsc9b6Nx7+yT0ZTicW9bxEvV+UUzC/VttqB5z+MEDlpF1xdQ== X-Received: by 2002:adf:f6cb:0:b0:337:bec0:f8e1 with SMTP id y11-20020adff6cb000000b00337bec0f8e1mr913546wrp.244.1705856361938; Sun, 21 Jan 2024 08:59:21 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:21 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:46 +0100 Subject: [PATCH v4 6/8] arm64: dts: qcom: sc7180: Add UFS nodes Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-6-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=2735; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=MtVhwuHNbEP/vSCa8fcY/sH7cIwR8Q8n7RkTyvahgCQ=; b=fhzJZVm/qMMTdyjWkpEBv/O2e/Jk+jSMKDBEkKvJz97udNDUzwL1pgPjfwmqDvHAiiTd0Uvv3 Ud6DPxOolvnAVVhusODuHwt/5z0l4blP7iTfBGXe7lXPCTZ8EoVqKpy X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= Add the UFS, QMP PHY and ICE nodes for the Qualcomm SC7180 SoC. Signed-off-by: David Wronek --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 70 ++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 4dcaa15caef2..93c867cac755 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -1532,6 +1532,76 @@ mmss_noc: interconnect@1740000 { qcom,bcm-voters = <&apps_bcm_voter>; }; + ufs_mem_hc: ufshc@1d84000 { + compatible = "qcom,sc7180-ufshc", "qcom,ufshc", + "jedec,ufs-2.0"; + reg = <0 0x01d84000 0 0x3000>; + interrupts = ; + phys = <&ufs_mem_phy>; + phy-names = "ufsphy"; + lanes-per-direction = <1>; + #reset-cells = <1>; + resets = <&gcc GCC_UFS_PHY_BCR>; + reset-names = "rst"; + + power-domains = <&gcc UFS_PHY_GDSC>; + + iommus = <&apps_smmu 0xa0 0x0>; + + clock-names = "core_clk", + "bus_aggr_clk", + "iface_clk", + "core_clk_unipro", + "ref_clk", + "tx_lane0_sync_clk", + "rx_lane0_sync_clk"; + clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, + <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, + <&gcc GCC_UFS_PHY_AHB_CLK>, + <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, + <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>; + freq-table-hz = <50000000 200000000>, + <0 0>, + <0 0>, + <37500000 150000000>, + <0 0>, + <0 0>, + <0 0>; + + interconnects = <&aggre1_noc MASTER_UFS_MEM QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_UFS_MEM_CFG QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "ufs-ddr", "cpu-ufs"; + + qcom,ice = <&ice>; + + status = "disabled"; + }; + + ufs_mem_phy: phy@1d87000 { + compatible = "qcom,sc7180-qmp-ufs-phy", + "qcom,sm7150-qmp-ufs-phy"; + reg = <0 0x01d87000 0 0x1000>; + clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + clock-names = "ref", "ref_aux"; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; + reset-names = "ufsphy"; + #phy-cells = <0>; + status = "disabled"; + }; + + ice: crypto@1d90000 { + compatible = "qcom,sc7180-inline-crypto-engine", + "qcom,inline-crypto-engine"; + reg = <0 0x01d90000 0 0x8000>; + clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; + }; + ipa: ipa@1e40000 { compatible = "qcom,sc7180-ipa"; From patchwork Sun Jan 21 16:57:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 764824 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.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 B597738FAD; Sun, 21 Jan 2024 16:59:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856366; cv=none; b=QXvtVmpLbb6uGfJyIodyXXHWx9iN6a+Ew+uWemGPpSxpHipz25kE29QSxpzh2cY+05w2TYkDXdFc+Pe5Xvviz/rT4sn5L1hTsmVQxgSaQleEO2V+5Ae4MNfyg7isiHOD5ZNfrNGubQ6oHwJWX5gZ5uNJA1IpG67GTJJEfuvUcHQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856366; c=relaxed/simple; bh=xv5DuB+dFYXgw1+FADV5/OpZCBDgeiH0Y6c1qxss8As=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=twMzgdTdbKvJXKfQQvSuSUR5xzrpgAiEkLY3WxESY81lLNnfiSIXJ1+XPTfLTlt3eYd41wZ1HrdEQuH6lwRmU3/jtlllvHlZc1ZIAXW2DBRZl3KtkJbI8cD9cbE3aYu3WU8yeUGP2rLFECw5c/+EV6iORWPy4vZCJC0zEQHXKlM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dEjBdGnW; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dEjBdGnW" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-40e913e3f03so31168145e9.3; Sun, 21 Jan 2024 08:59:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856363; x=1706461163; 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=FWXdYhdeM492EXe3mdG5BAPOk6bpMY/Q05UvJ8a8hgU=; b=dEjBdGnWlXt6CQ/1vGLCIg3zHkk4Zw0nmIut05DUSC7G0EQo5+GMPV4MgABpDO5VTM tj4tRfFVpYk1ewyvpsG+Ey/lWEEcpNZl0Y0+2xvypBZXkSfoVt2kLP9x5DeY2BjjU0TI h4JnYiCGn3xW7TNKTQ5IYLUf6EvBVkImqnmBMZSL9vk009wDkKe5p6+Lvvh3NXuzNiSQ 4j3HiMErxMePlF9nlp34xmCpJDjlr7datPzkDK51tZsa6WfxboaBadbInMRd4n9r30bZ PJnkMZQNite8Fhi7tAipAVgzVNUPESuTDgudUvFEIC4aTdnhDrFk7co1wCnW5TjD7imj N6Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856363; x=1706461163; 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=FWXdYhdeM492EXe3mdG5BAPOk6bpMY/Q05UvJ8a8hgU=; b=lZ2QwZlt91/Npy2KpN8a1KeTn2/Xyh+SJshIIdsMZwWYUvcsep3DSBNc5LJLpEKHsC eMaKFtjqP1RpkqMVhi7de10Vc95Ip/odyY2JtkP1dobFfqG8jA5XgULPl25/b0nwHOCh 361mwQSXQZjeV2yzFk21LMjW7VzE6ozluh3lT7HEx16Zx6+O+vlhseao6Gas+wUtdacy vNd6P7hHJQT1mDhqN3UKK1sgl3Sb2O3sYogFSpYOznPv+xWhcdEcldN24dNUVItmfmTp afBswgv5O6Q6d07MSWnStwbEoEB8ZiIvk3EG81izMqVmg/Bjn3x90pHN9WhJww9JBpGm qsRQ== X-Gm-Message-State: AOJu0Yyp7W0AvxoC3aiyuwCL8ANKRmZxHGeD2jJPcEvQ4i2SBzHmAT1O 7jaf8oM/4oHkLXs69Z8geXLKCvH0JUsNraIQChbsfoxDOsaQs/jb X-Google-Smtp-Source: AGHT+IHxblpBc5ydNxrV8gNG0jMJ56WKb64d6KgnFvJyMgC1NT1hN0GhKgpeiOtFdvC1wyC9HJqJBg== X-Received: by 2002:a1c:7502:0:b0:40e:640c:3b67 with SMTP id o2-20020a1c7502000000b0040e640c3b67mr1741516wmc.138.1705856362906; Sun, 21 Jan 2024 08:59:22 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:22 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:47 +0100 Subject: [PATCH v4 7/8] arm64: dts: qcom: sm7125-xiaomi-common: Add UFS nodes Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-7-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=2422; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=xv5DuB+dFYXgw1+FADV5/OpZCBDgeiH0Y6c1qxss8As=; b=8R85c/gQGHlKCMx88LuJo6ZhaKx+azi6UuwSBfVZlz1HDcR8Na+GCx16PdZigtCCgmXDrL7Bu b0COK7AHLphB+mtTm3TrrzJXUdEab6W/DbNmz3BO4KjsfPq4+YvyIpl X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= Enable the UFS found on the SM7125 Xiaomi smartphones. Reviewed-by: Konrad Dybcio Signed-off-by: David Wronek --- arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi index e55cd83c19b8..0dfd1e3730e9 100644 --- a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi @@ -152,6 +152,9 @@ vreg_l4a_0p88: ldo4 { regulator-min-microvolt = <824000>; regulator-max-microvolt = <928000>; regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; }; vreg_l5a_2p7: ldo5 { @@ -188,6 +191,9 @@ vreg_l12a_1p8: ldo12 { regulator-min-microvolt = <1696000>; regulator-max-microvolt = <1952000>; regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; }; vreg_l13a_1p8: ldo13 { @@ -230,6 +236,9 @@ vreg_l19a_3p0: ldo19 { regulator-min-microvolt = <2696000>; regulator-max-microvolt = <3304000>; regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; }; }; @@ -258,6 +267,9 @@ vreg_l3c_1p23: ldo3 { regulator-min-microvolt = <1144000>; regulator-max-microvolt = <1304000>; regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; }; vreg_l4c_1p8: ldo4 { @@ -398,6 +410,22 @@ sd-cd-pins { }; }; +&ufs_mem_hc { + vcc-supply = <&vreg_l19a_3p0>; + vcc-max-microamp = <600000>; + vccq2-supply = <&vreg_l12a_1p8>; + vccq2-max-microamp = <600000>; + status = "okay"; +}; + +&ufs_mem_phy { + vdda-phy-supply = <&vreg_l4a_0p88>; + vdda-pll-supply = <&vreg_l3c_1p23>; + vdda-phy-max-microamp = <62900>; + vdda-pll-max-microamp = <18300>; + status = "okay"; +}; + &usb_1 { qcom,select-utmi-as-pipe-clk; status = "okay"; From patchwork Sun Jan 21 16:57:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 764520 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.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 BD73C39879; Sun, 21 Jan 2024 16:59:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856367; cv=none; b=m6Mf3zJdZodOLCPPaQvHDXseNs1YA3mv/ioDWJbgKpZ+MPai+K8RNdwJE1AY7z5kvGQa1KX64pCl07gsnXNkrVo3hUBVJJpKWN81GDIzYQXpB4VOH+ErwVBCL6NykxQB18fHzfjZvp5hbqvvhhK2jXt9saxtuavZzlGED1ksO5A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856367; c=relaxed/simple; bh=qd6aa7QiaWspQR3ZEJA6WWRFbT5cIeORtS7lzfdU0Is=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RNP4oL3CPX3b17qlN/2jcOUcr1STd32XFpi5CO3bBuVwz6dBB5Et9r9PxKktrErz3seA/xLQkCR3hiADLB2J5A/tbh/YtbJAapn4GCPty27hTkE08x3AY90nQzeFLmjFZVl8f/Ggz3j+9iJyF0UPgpbqnW4U31kJPgzBdVtZg64= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kedyQlzD; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kedyQlzD" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-40e8801221cso24261045e9.1; Sun, 21 Jan 2024 08:59:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856364; x=1706461164; 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=gK5nK5PwrUn57SfZW8dbKzVdKzftzCnA6l6yN9PxC7A=; b=kedyQlzDRde5ZC9i3GxBdTnCx4tccoqBnBdcuk5iEjkrnoMCYRL2U+rWmhJpyNXM3h h96zsy4+rz1+SS30fXFBHTghBsz3ZR5PfnB9LXbeEkISiPKiBZFVJD3oqYpskhWgCTl0 1TCCOKl6OV69X7biy2QXO54k5u/etEXWlRYTm9yTZ2ll+rooloOwfY+mfLGzmyQy5MiO W/3pdryJZA6CNbeUzolrRXSkNyOmfT6x1HxdHXw9QCXILC+dlgz8vvCJxnCn91gDWp/r ySJpa01DDDbFG4IuS+I4mAvWlloHcwX9xZeReyJBjjvAqqVO92wrp2MlcoLPRZtFT8yL Prug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856364; x=1706461164; 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=gK5nK5PwrUn57SfZW8dbKzVdKzftzCnA6l6yN9PxC7A=; b=HAdNLtnoKHwD59fuq2pYlOMcMEh3Sq66Z0oFtw+nUw8zWWyP87zQo0wL+MIcwbnWtY VgASpNRQEnGklFDGQmCsffWwdUilGbzDR1elhfo6pA8j70IcN50vpMnztsfgYqS/nU9T Mp3r2FZE6KpKN6glvQHIGosE7QHJRfnCNNDJuN8AzvjRuG4YF/ElaqyW5LlwaxZiWYH3 oEdu6jwFDYe7FXg7R04rEuoe4baOSHy2pHaJck5RymKUddsPtcvsmxBWOUh1OArR3/2I 4/mmBANEy/jIZw+T10PLHC90loG3S0XyOo1SW4oX4nAW+D7D2dfdWQMWix1zncnWm7ZM Jf8g== X-Gm-Message-State: AOJu0Yx/kbt/nN+8mMR6yqHXtzxj6/tVipqveWCQR8x48ikjwEgGRVWU 9Rg0qksWnw1B9kbriKuJkRp9ddpER9/lbpqSahzk1WN4ul3StyE5Z7COsS6W X-Google-Smtp-Source: AGHT+IFsVH6k6ajfNQ3Ngf6ihWQLiw+5zO5HU7ToHaJReIYrKn3JxVQHaGOVUIXkWbhe2r1Bm4y/AA== X-Received: by 2002:adf:e58d:0:b0:337:c4d0:3ce9 with SMTP id l13-20020adfe58d000000b00337c4d03ce9mr1889216wrm.87.1705856363900; Sun, 21 Jan 2024 08:59:23 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:23 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:48 +0100 Subject: [PATCH v4 8/8] arm64: dts: qcom: Add support for Xiaomi Redmi Note 9S Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240121-sm7125-upstream-v4-8-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek , Joe Mason X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=1769; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=sSzRKjO93UpTlJ8GvJQsTstGtWQctFuueHqgHmEaLmI=; b=KrhjqRs6MaRVLwt8z7GQUu3O8KHdE2udwZmCwSHa9BL7BkdLOzrrS2oaMXY4HjKggisfo+hCq zVjPjqKqSTMCv+Zem4h0Jtp8mBbAA6H2PjTlO1wTwkBIfA2u1sKOQjF X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= From: Joe Mason Add a device tree for the Xiaomi Redmi Note 9S (curtana) phone, based on sm7125-xiaomi-common.dtsi. Reviewed-by: Konrad Dybcio Signed-off-by: Joe Mason Signed-off-by: David Wronek --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 39889d5f8e12..2e6984bbbb83 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -210,6 +210,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6125-xiaomi-laurel-sprout.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6350-sony-xperia-lena-pdx213.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6375-sony-xperia-murray-pdx225.dtb +dtb-$(CONFIG_ARCH_QCOM) += sm7125-xiaomi-curtana.dtb dtb-$(CONFIG_ARCH_QCOM) += sm7125-xiaomi-joyeuse.dtb dtb-$(CONFIG_ARCH_QCOM) += sm7225-fairphone-fp4.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8150-hdk.dtb diff --git a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts new file mode 100644 index 000000000000..12f517a8492c --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023, Joe Mason + */ + +/dts-v1/; + +#include "sm7125-xiaomi-common.dtsi" + +/ { + model = "Xiaomi Redmi Note 9S"; + compatible = "xiaomi,curtana", "qcom,sm7125"; + + /* required for bootloader to select correct board */ + qcom,board-id = <0x20022 1>; +};