From patchwork Thu May 23 07:59:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13671370 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 894D713D26C for ; Thu, 23 May 2024 07:59:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716451188; cv=none; b=AzEmnzsfOhzIEFLUxpgY/Zs4fm6UO0MBjPsxZ9lEGVsQWj/FGkC+mXMBWgNYTGEzC8WrvyyqmWxv7uwRi5PKCAn/c6QaW/kG/REAmgVua0xVZ0LTIrFp1DRawjFXxZqg82DWfFGLVrCW8K/NUCVH4kB30x+meKh82wi7FHL/0h0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716451188; c=relaxed/simple; bh=0ay0Yn47NrOqnN93lopZBRcCGvUD6z+nzkYwmnVRlwE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lTLinYSGojBEGQDLHD1iPzv5AqIMkQF6GihSrwipN09o/iR9W1sdJAEhL0zq+MdipwzmvK9GF4jt+3LD8GAAzEDgQkhUUnZIscJYIdIyK+XZeLeCIP4SMEcRNtruCSxp7F2PZ4qy2nCNJComP17oCLUv0TjCQ1uP/syrEjXMxl0= 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=xB28ZoJl; arc=none smtp.client-ip=209.85.218.45 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="xB28ZoJl" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a5a4bc9578cso1066958766b.2 for ; Thu, 23 May 2024 00:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716451185; x=1717055985; 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=4WPSSyFPYHDjDOFmkODAP7d7g3YRP2Tob53zlF+pvjA=; b=xB28ZoJl/mFfCYFWzHYuAWk/ACcDQs3R9x+QSfUTpuFnuuVsGaPUrjTHsreZOuXFKi LfIp4kwgTRlGopGT+d4VkQ9NjbGER3NQm6p8faSdVr9M5ynPei93fb97FPlFqOsypmrK Y8N8JAN1mBHj4S8sJ7/O+R9sAb32WRork9ex6Yla09tij9d17VTNLrY5in7ec+SOcfpg m/Ag9GOLLBYSwO7B/Z9j2I3mVCkYYy55C4bsz/4omy/CVIkDtF6+J53VPz0OIdRLGQR7 iF+qhuu2jRmfazh8VQsjfWUXaQ3hC9sg74KhS7lDCJTcW0uW8BLLmesc/fUSkk+lnhXP CeaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716451185; x=1717055985; 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=4WPSSyFPYHDjDOFmkODAP7d7g3YRP2Tob53zlF+pvjA=; b=UQJ3YE3V/gnAOtobn9ORJlv53ovz0hdMM3Gb6Ykj84Nl/mWFDJXgveAN3bbXvyryvu 80mW7duUzdzRLW9YYlnZa5PRidTWxa3zL8DnaE+q6NQTIYfrtlJbTC+9IDivRhV0F7nm ID5ugLKo9SbKzEXHhbuIOu2hazwTZrRlaT/B0/72eKeY3wODIGaHSNhrwaPUIt6jEYXK FoSOqyw393AW47Yns2FOf/Wrwodgn/7/1WA9wGiL4B89qW+5G3ej8cwFKnkjb9xYAi2S mcBmZj1fvp1FHNNNQQabYXSSAS6gP6bPwweeK63Vr7lboxEVQ+Diz4ewLRWCgPGACgow X4lA== X-Gm-Message-State: AOJu0YyZTvM0IEj4FHYIjQym4Zu6PYW/mX1QxqDHnPAxoArsAN1DX2vw HCAlgxWMGQKpsi6HP12vXbBQ3bMo5vfJ8DK19Iw6RMVgG5tWWtjrD/t4oylmu8c= X-Google-Smtp-Source: AGHT+IFAlFrk2oNOc7MN/MQJ+SjXkX8CWp6ni0YjiGVht6G3145RtkL4LpCLLXSsd4HPh19gL1fA9g== X-Received: by 2002:a17:906:138b:b0:a5a:8d0f:3ad1 with SMTP id a640c23a62f3a-a62280d4488mr412450266b.17.1716451182867; Thu, 23 May 2024 00:59:42 -0700 (PDT) Received: from [127.0.1.1] ([2a01:e0a:982:cbb0:825d:600a:c16:a973]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5ec2a8f320sm719100066b.170.2024.05.23.00.59.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 00:59:42 -0700 (PDT) From: Neil Armstrong Date: Thu, 23 May 2024 09:59:33 +0200 Subject: [PATCH 1/3] dt-bindings: arm: qcom: Add Lenovo Smart Tab M10 (WiFi) Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240523-topic-sdm450-upstream-tbx605f-v1-1-e52b89133226@linaro.org> References: <20240523-topic-sdm450-upstream-tbx605f-v1-0-e52b89133226@linaro.org> In-Reply-To: <20240523-topic-sdm450-upstream-tbx605f-v1-0-e52b89133226@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joerg Roedel , Will Deacon , Robin Murphy Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, Neil Armstrong X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=728; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=0ay0Yn47NrOqnN93lopZBRcCGvUD6z+nzkYwmnVRlwE=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBmTvdqm2pTjw114fbpM5QaceB+tI7QkOzi9/ZBN kUANhqyRaWJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZk73agAKCRB33NvayMhJ 0eT9D/9PPFb5qM86jjg/3zPFU64N2RPv5MFOypyQm3ILniA2eOUJrAnpDkRxhXgZxtwaWT5jw2n xucyodXuDRTRdZNmEc6bGXMxi0LjZO/abHDYSoi/VjUR/n8T2BI7g7SXqO/0ixrqVjINTJwgDDg 1vBkxGgsCp6hKVVca4SVEJaoD8kshuoWKYwHy189+UGpMxGQj1MTUSyIDayvmw0fVvljTd3MP4w Z1BNWyGJatS7fBx7ZNiPPbiaDfEyFdO86wO4uTzCItXkwZWADtdywRw8H6oKRqhvTOkAxxCUj6X wWbuQdwQHLVJjPxwpvHWbLKDGrY/gxOZ9waVKRWB/v/n5A+b8BLcxzwcvmRFs9fUP7bdPF9Ued/ krnFo3kqn2UgOLvrh/eIBQzcX3M/tPyIvC99ZNoZS8qV0Y1AT+5VWQ4KKesP5OeJ9BF8SbE+3Wd FyuDjdfHiqyGKX6ARYfh+qs29j+7RhDnLsUbNBLSD8UKIMNKxLgL4HoSP79uMkJuNb/vsDBzpb8 7e8o6R6iNb+MemNPt578ZhXxWJhdsUgnWrlPl3HyZuISq0KeQOqZejb5zkxzxrVQb0gIZOgs/bQ CuoFu+2zcSC6CGJQ2iqHJaDLDyU/3Q5aFG1lc9udq3tQHNZYO2i+jkxCF0RvtHEK70sYLlF4qR+ 2sxlQHrSUFrzxqg== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE This documents Lenovo Smart Tab M10 (WiFi) (model tbx605f) which is a 10.1" tablet by Lenovo based on the SDM450 SoC. Signed-off-by: Neil Armstrong Acked-by: Krzysztof Kozlowski --- 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 66beaac60e1d..ab72a6f855d7 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -801,6 +801,7 @@ properties: - items: - enum: + - lenovo,tbx605f - motorola,ali - const: qcom,sdm450 From patchwork Thu May 23 07:59:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13671371 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.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 EA9D313D27F for ; Thu, 23 May 2024 07:59:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716451189; cv=none; b=usYrISoI0Hwlw94Art1oUK5aE0Td/RFbGbTqBP4+jZnPT5RFtupSHgFXP/uHUQ3poq3WqSSNuYljYNl7r9Jlz0asgoUswgYGd7KQbLcPccZBqeJtcYW0CC8qiwfqi3JEyffqsSIYWdq44kLxQO9dnuNMnfU+7DiRtY0WGqZOnCI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716451189; c=relaxed/simple; bh=ilS9/urat3r7x1lnhAo5NEEctqUaqIeh25qT8NExnxU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SZkDQXFKQtzyLChO/39U6MWHvMbUfYIRumtCGLdj9gf0k9su3+xZTUYQcG41bNyYNidcT3sdX/wknU7OmE4JdqUU+XO4LngL9pHyh5JETT6pXKKyGtE9pEmcOjc0V7m1QWyS017zdBUKyMR2eIl64tN8qoZY9lt7tBuPgWYcjbE= 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=ea8UkXrI; arc=none smtp.client-ip=209.85.218.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="ea8UkXrI" Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a59a387fbc9so1113301866b.1 for ; Thu, 23 May 2024 00:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716451186; x=1717055986; 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=1l8AveQIqcO0cLiCCKIDbAyj5545roxssowTDaQ8/wY=; b=ea8UkXrIGDw+6Z4rBxiIh5p2p0gPSNkdGE1lY63KJhueR+5FmEnxViPozz+NNKwcjX X+ijDi9VSPdvBdbr8he6iKO35kE/Dk+8LNi+eZsaQEqDW57FFMjGXygjQJWvIr7WBMUG T7OmLUCs/ANmsje2vIWnjKv6Y3Em8EeR++I/KNgbbBSoZ3mKy88LUvLQSkvwiHu9Dsmq yCok/6mecfiMW4a2QgzB0nuAc97QFscWKKNmPogycx/R0+wkkeFqYoOouEv6p1Yme4bt 0N9WgfxMY4f1aVGqY+NFCLBDlOsi33sgE8uRuE0TL6995ZwKW7y1emrR9soyfFapNO/t wYEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716451186; x=1717055986; 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=1l8AveQIqcO0cLiCCKIDbAyj5545roxssowTDaQ8/wY=; b=hWwDQy8ln5+3jptgrvu2sdO/L68fi/ctxOJbIrkdzsZeMcUHnRS03WWMtH1JR4H4fI OzneJK+Xrqa8Y7y2ZPJ+p7eexxmLtsgzdQgws/09MOJesK9SXzXqI/hNdSTXrOsajKsm MNCs2D+jmQLEtVNvJm8lMZXwPGRGXoObjV80dFF50cnZi3EAFw4pMtm/usyiTAxOPW/Y j+akDKBUatS/b8OT1MPb7tYSonYRk9tsD0WM6g+vUlgvgIVMRpZeJx/L4ZdN6zYt2nkv ccO/04BmUXB7dDpEKRAo7IiLg8y+ZIqyuoyq3ohPXXtAkPo2DabXWFqBCeIROY/gRrsr hjpg== X-Gm-Message-State: AOJu0YzSxDzS37211Jp7YGgzK4OSyhIUOq7jStPL8KKm4V+Bxd1uq09s zJUTgkJxFUYGB1MH5ttWet0Twtk9VS1VbdB/fg8e9GdspP/j5fFogoQfPnGS/Rg= X-Google-Smtp-Source: AGHT+IHDUDGPoRmhzc1y+HdVOcNh03PVPRDhzhnYtKagrooXx9KHPlgrjlbWS9Y1S4MMVW4mAicMaw== X-Received: by 2002:a17:906:8d3:b0:a59:c9ce:338a with SMTP id a640c23a62f3a-a6228055763mr265081166b.2.1716451185963; Thu, 23 May 2024 00:59:45 -0700 (PDT) Received: from [127.0.1.1] ([2a01:e0a:982:cbb0:825d:600a:c16:a973]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5ec2a8f320sm719100066b.170.2024.05.23.00.59.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 00:59:45 -0700 (PDT) From: Neil Armstrong Date: Thu, 23 May 2024 09:59:34 +0200 Subject: [PATCH 2/3] dt-bindings: iommu: qcom,iommu: Add MSM8953 GPU IOMMU to SMMUv2 compatibles Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240523-topic-sdm450-upstream-tbx605f-v1-2-e52b89133226@linaro.org> References: <20240523-topic-sdm450-upstream-tbx605f-v1-0-e52b89133226@linaro.org> In-Reply-To: <20240523-topic-sdm450-upstream-tbx605f-v1-0-e52b89133226@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joerg Roedel , Will Deacon , Robin Murphy Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, Neil Armstrong X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=866; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=ilS9/urat3r7x1lnhAo5NEEctqUaqIeh25qT8NExnxU=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBmTvdrgwWMsuwD5nqBiyBc1hr/qz7nPDXlwLE6C b0zXVm0OcyJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZk73awAKCRB33NvayMhJ 0f8aD/9exaigPI5V82THskUmRLc8QOw3F+N765LIxtZ7qjjK4d1h4nmbmOpW+gmbJ62G2XJzr1L RAgHHF1HVrR9QdLJc0n11LCmxam08hb6ALcGrG/z9W75bemeVewyTDptxjFplQ00G9yPUbhOJBC ecDt5zHVp2J0gZQZHdrLpk94REOlgNKGAxmFye7MY89ZkE0rlQDByKpMM+8LhrOReyr8WzIxpWX 33LfDaQz0pUYAdJfcJ8B+A5M3jJbX+XMcS96GRdgNYVPbMZoRn6c7gycqdoFZmRp4NfuAcy8XL7 ImoZ9QIneF1QYkCrME2j+uSbPKFrcgzApXu1EqEnN7vA0C4frcowKJ8tS9vvzBTEZpUfm7S69xW Vxcyoyor9R1FAkx0Xm8pz6rUEx4nyqE7zVbAarrkJD6JrKFj0TeCAAN4t6kS9vAxuTKBenQFqot wIxFxfvfiOlBcFO7/+RdkadD7mn0wDm288zZbAMjmcVDDhTwM0kgiMmEexwtDwSERX/6Gcr9vWg D4M9j3yMTuDGHZrRko9C708x6e0OagpK96oNWtRvy4gC9p8OpNb6aZ6DOvHEGvBqLurCSJOVDyC LQgjS1awT5iC+fnt3N5kKv20bXnop0mDqz46fIrdrrd6sMBPZslKiXrG5olSpYeI9dzHj6V+SMv QBKSazFEPds+KLg== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE Add MSM8953 compatible string with "qcom,msm-iommu-v2" as fallback for the MSM8953 GPU IOMMU which is compatible with Qualcomm's secure fw "SMMU v2" implementation. Signed-off-by: Neil Armstrong Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/iommu/qcom,iommu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iommu/qcom,iommu.yaml b/Documentation/devicetree/bindings/iommu/qcom,iommu.yaml index a74eb899c381..571e5746d177 100644 --- a/Documentation/devicetree/bindings/iommu/qcom,iommu.yaml +++ b/Documentation/devicetree/bindings/iommu/qcom,iommu.yaml @@ -25,6 +25,7 @@ properties: - const: qcom,msm-iommu-v1 - items: - enum: + - qcom,msm8953-iommu - qcom,msm8976-iommu - const: qcom,msm-iommu-v2 From patchwork Thu May 23 07:59:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13671372 Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (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 2409013D29C for ; Thu, 23 May 2024 07:59:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716451191; cv=none; b=i9kDK6h8OT+dMftfUNPLWPKIKRIdzQ9LpZuVvi5F1ioEpGyjEHFnH2sVQx8jhKUnxKaQYxZiL1AFEXytcgipqwSmaiY/VFzBXRvnWXsvw7noxzLDJmhfdTKXqp/Mnw7EoxhZmtF0Zz/LcKrVTMbF50tMJT1JRnRkA5ziyvxrBoo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716451191; c=relaxed/simple; bh=EMPeNyzBpqMjF6F7TP+1J/G1NKheB8Yvdxf4QEA8UKg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qoPQ7hICY0AZSGJ1RLxLqZ3k+sr6pyxYvQJW5I5ybZdDnYKVPMHZ+CCAVcXyJ4l6SLYJe4QJ0ukrL+2Oue6Wr6JCEoIZKtCb/5DfxckvNwPWbNCuzT87Hki2LOIeKi4JAVDMake3W5JQLUOIR4a6Wfe3rRN5TnI5lQ3/22KJC0A= 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=vC3KHeFL; arc=none smtp.client-ip=209.85.218.41 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="vC3KHeFL" Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a5a5cce2ce6so979368966b.3 for ; Thu, 23 May 2024 00:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716451187; x=1717055987; 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=xAaEs9RkQ8GaTEt79EKKeWtnQKePqeTaokONVnHxvj4=; b=vC3KHeFLTX5ueqkOc4OpSasoRTULlb1xv6tKmlkOXRRH++IksyqD7ip5ecRBwfCvoa A2yk9ucmjh5ynRmC2aHvxXPqbABEw/iQBjCrzWpbD1tRfseLAfx9liNqd/cq0tT/Mod2 1SSeLEJKNIM2+Af80yKzWSQZo9aBjMUhHUHJKT+gKHBKseklAJOySVQ/QqoQdgpSMDgy MendY3s4II0x2i9lZOObmdsrTCsSjmpMO/F7RR4zt3/tQq6qsZBZM9+rbCrRR5NLIesG +PYaCdk8Cdkc/X+0dpyjR5nrNxTsNSZlwhotIXTCdVqo14eD1XUSSILnzuZ88phnMeJ5 sn5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716451187; x=1717055987; 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=xAaEs9RkQ8GaTEt79EKKeWtnQKePqeTaokONVnHxvj4=; b=biAlBbK0dde8wY2R7gT3nSFUqhvL2XVuOTJaLmUTw2hJP3UwG0gKhphptYOPhESCUW 2R1eThaj6H3ejbe3e+mFn15Wy4izIBbUlIVjYn14UtOwAJBKghfRFxBbLexRkD3+BDPL AF3n5mTFb3F73juKKQ/Tls5ZWrOjOUkd4mlc2yr4v7FNsd/Y1ByEjPUhtDTADZO81rCZ tSuF/Nqy023/sB1zFEKykCKMp11bZS2GO9E8/XwI9RqtDCBaPxEZEtmdvoqZV3SPvHSw Cue1UPPn8xsx/0ZgGq4wOBRTwdoWfeXIeYQWKJEpAC7jUyKlz2LJ8OV4DSifLg0n9vCu LH1A== X-Gm-Message-State: AOJu0YwKD0b+JXPIomfXXmD4ZL3aDAIwiiziODZlkAKnkzJ5LkoBPwsQ jdjPjIUN87ULWJCJMfuQY1il9gCptoUE++NBTBmIsb9b1S61uoR9c6DmwSTSl1Q= X-Google-Smtp-Source: AGHT+IFzIRW5KpKYhr1bcsYmnRmMVcvlJKlZWsXcd8k4uOMAlIusT89UAXldyn+Zj9Kv6XaA2ZHUlw== X-Received: by 2002:a17:906:1b1a:b0:a59:9eab:1630 with SMTP id a640c23a62f3a-a6228170ac8mr251396266b.69.1716451187124; Thu, 23 May 2024 00:59:47 -0700 (PDT) Received: from [127.0.1.1] ([2a01:e0a:982:cbb0:825d:600a:c16:a973]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5ec2a8f320sm719100066b.170.2024.05.23.00.59.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 00:59:46 -0700 (PDT) From: Neil Armstrong Date: Thu, 23 May 2024 09:59:35 +0200 Subject: [PATCH 3/3] arm64: dts: qcom: sdm450: add Lenovo Smart Tab M10 DTS Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240523-topic-sdm450-upstream-tbx605f-v1-3-e52b89133226@linaro.org> References: <20240523-topic-sdm450-upstream-tbx605f-v1-0-e52b89133226@linaro.org> In-Reply-To: <20240523-topic-sdm450-upstream-tbx605f-v1-0-e52b89133226@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joerg Roedel , Will Deacon , Robin Murphy Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, Neil Armstrong X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=7632; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=EMPeNyzBpqMjF6F7TP+1J/G1NKheB8Yvdxf4QEA8UKg=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBmTvdssFfIE2msY0iYo5LB2llo4qkeVujTPB5kY 2zhBBjDUCiJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZk73bAAKCRB33NvayMhJ 0Qe5D/9TDRmZl5J334RwgT+Dvm0oC8psBIp6gnDjAWUxn8nSItA9dXih21QkImb2UaA1EtIML+B PaKqAZq8Rx+1YAxdz7btW7F0/cjCD9m/tUUQKkwghsveCZ9sRlIhYP2ObqCVzx7Lhxy1bIoZAw2 JfCcOnO9w3Bl7qO2mUqGHzrlhYVnTDs/y2xYI2Uvisz+DnYXD5V2Lv7gaFkFsPFyVjQ6eNBBxhC RFnHXrls+4fB7oQtT0lARnnJrGYzUKAorolOI94klTkb2n8qFRZI6iSS7YZZ0JuQ2FW7c193HfR fZC3W8TYdxVRFVyncYR+h5EvFlXcultJGw1tI80TbIblke2GesbDBH4um4Z7x40BvLfYzjOQndv 3UDwxYYiYBTulPVNnDMMb1R5SRiDdv5pBS96Rsd7qKIYMy9Bzml+0Pc8J07bYmmqrlIvZTbGEe1 8Q9EchtSz7QALsj/egSdEiwA5icrn3lDPW3HrSR4oUfuQ7Ocf9mrznCu00y/zaoV/gPULqP1Z8F qxZr1KLbX5mTQsH68qE0ZoJmbiZbf+uM17Fwr7fXU2RnKfIhrIFJJI5uoPiPkBJr+eA4IcTK+Sf l0UqcCG10jlJOf3sL0yM6KZ2P5omf1jlkvFpP51lUAZicrmlB2QLVUJde6Gjn9TWjd1l+lOtX93 psiDbMhkRmxUjrg== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE This add initial support for the Lenovo Smart Tab M10 (WiFi) (model tbx605f) which is a 10.1" tablet by Lenovo based on the SDM450 SoC. It has a 10.1" LCP touch panel, SDCard slot, Volume+Power buttons, USB-C port amd front-facing camera (not supported). The proper LCP Panel support will be added later, for now using the simeple-framebuffer with the bootloader-initialized video memory. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/sdm450-lenovo-tbx605f.dts | 276 +++++++++++++++++++++ 2 files changed, 277 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 7d40ec5e7d21..f163eedd2af2 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -175,6 +175,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sc8180x-primus.dtb dtb-$(CONFIG_ARCH_QCOM) += sc8280xp-crd.dtb dtb-$(CONFIG_ARCH_QCOM) += sc8280xp-lenovo-thinkpad-x13s.dtb dtb-$(CONFIG_ARCH_QCOM) += sda660-inforce-ifc6560.dtb +dtb-$(CONFIG_ARCH_QCOM) += sdm450-lenovo-tbx605f.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm450-motorola-ali.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-ganges-kirin.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-discovery.dtb diff --git a/arch/arm64/boot/dts/qcom/sdm450-lenovo-tbx605f.dts b/arch/arm64/boot/dts/qcom/sdm450-lenovo-tbx605f.dts new file mode 100644 index 000000000000..175befc02b22 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sdm450-lenovo-tbx605f.dts @@ -0,0 +1,276 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024, Neil Armstrong + */ +/dts-v1/; + +#include "sdm450.dtsi" +#include "pm8953.dtsi" +#include "pmi8950.dtsi" + +/ { + model = "Lenovo Smart Tab M10"; + compatible = "lenovo,tbx605f", "qcom,sdm450"; + chassis-type = "tablet"; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + framebuffer@90001000 { + compatible = "simple-framebuffer"; + reg = <0 0x90001000 0 (1200 * 1920 * 3)>; + + width = <1200>; + height = <1920>; + stride = <(1200 * 3)>; + format = "r8g8b8"; + + power-domains = <&gcc MDSS_GDSC>; + + clocks = <&gcc GCC_MDSS_AHB_CLK>, + <&gcc GCC_MDSS_AXI_CLK>, + <&gcc GCC_MDSS_VSYNC_CLK>, + <&gcc GCC_MDSS_MDP_CLK>, + <&gcc GCC_MDSS_BYTE0_CLK>, + <&gcc GCC_MDSS_PCLK0_CLK>, + <&gcc GCC_MDSS_ESC0_CLK>; + }; + }; + + reserved-memory { + other_ext_region@0 { + no-map; + reg = <0x00 0x84500000 0x00 0x2300000>; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + key-volume-up { + label = "volume_up"; + gpios = <&tlmm 85 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-always-on; + regulator-boot-on; + }; +}; + +&hsusb_phy { + vdd-supply = <&pm8953_l3>; + vdda-pll-supply = <&pm8953_l7>; + vdda-phy-dpdm-supply = <&pm8953_l13>; + + status = "okay"; +}; + +&i2c_3 { + status = "okay"; + + touchscreen@38 { + compatible = "edt,edt-ft5506"; + reg = <0x38>; + interrupt-parent = <&tlmm>; + interrupts = <65 IRQ_TYPE_EDGE_FALLING>; + vcc-supply = <&pm8953_l10>; + + pinctrl-names = "default"; + pinctrl-0 = <&ts_int_active &ts_reset_active>; + + reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>; + touchscreen-size-x = <1200>; + touchscreen-size-y = <1920>; + }; +}; + +&pm8953_resin { + linux,code = ; + status = "okay"; +}; + +&rpm_requests { + regulators { + compatible = "qcom,rpm-pm8953-regulators"; + + vdd_s1-supply = <&vph_pwr>; + vdd_s2-supply = <&vph_pwr>; + vdd_s3-supply = <&vph_pwr>; + vdd_s4-supply = <&vph_pwr>; + vdd_s5-supply = <&vph_pwr>; + vdd_s6-supply = <&vph_pwr>; + vdd_s7-supply = <&vph_pwr>; + vdd_l1-supply = <&pm8953_s3>; + vdd_l2_l3-supply = <&pm8953_s3>; + vdd_l4_l5_l6_l7_l16_l19-supply = <&pm8953_s4>; + vdd_l8_l11_l12_l13_l14_l15-supply = <&vph_pwr>; + vdd_l9_l10_l17_l18_l22-supply = <&vph_pwr>; + + pm8953_s1: s1 { + regulator-min-microvolt = <870000>; + regulator-max-microvolt = <1156000>; + }; + + pm8953_s3: s3 { + regulator-min-microvolt = <1224000>; + regulator-max-microvolt = <1224000>; + }; + + pm8953_s4: s4 { + regulator-min-microvolt = <1900000>; + regulator-max-microvolt = <2050000>; + }; + + pm8953_l1: l1 { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1100000>; + }; + + pm8953_l2: l2 { + regulator-min-microvolt = <975000>; + regulator-max-microvolt = <1225000>; + }; + + pm8953_l3: l3 { + regulator-min-microvolt = <925000>; + regulator-max-microvolt = <925000>; + }; + + pm8953_l5: l5 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + pm8953_l6: l6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + pm8953_l7: l7 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1900000>; + }; + + pm8953_l8: l8 { + regulator-min-microvolt = <2900000>; + regulator-max-microvolt = <2900000>; + }; + + pm8953_l9: l9 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3300000>; + }; + + pm8953_l10: l10 { + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <2850000>; + }; + + pm8953_l11: l11 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + pm8953_l12: l12 { + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <2950000>; + }; + + pm8953_l13: l13 { + regulator-min-microvolt = <3125000>; + regulator-max-microvolt = <3125000>; + }; + + pm8953_l16: l16 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + pm8953_l17: l17 { + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <2850000>; + }; + + pm8953_l19: l19 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1350000>; + }; + + pm8953_l22: l22 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2850000>; + }; + + pm8953_l23: l23 { + regulator-min-microvolt = <975000>; + regulator-max-microvolt = <1225000>; + }; + }; +}; + +&sdhc_1 { + vmmc-supply = <&pm8953_l8>; + vqmmc-supply = <&pm8953_l5>; + + status = "okay"; +}; + +&sdhc_2 { + vmmc-supply = <&pm8953_l11>; + vqmmc-supply = <&pm8953_l12>; + + cd-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>; + + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_off>; + pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; + + status = "okay"; +}; + +&tlmm { + gpio-reserved-ranges = <0 4>, <135 4>; + + ts_int_active: ts-int-active-state { + pins = "gpio65"; + function = "gpio"; + drive-strength = <8>; + bias-pull-up; + }; + + ts_reset_active: ts-reset-active-state { + pins = "gpio64"; + function = "gpio"; + drive-strength = <0x08>; + bias-pull-up; + }; +}; + +&usb3 { + status = "okay"; +}; + +&usb3_dwc3 { + dr_mode = "peripheral"; +}; + +&wcnss { + vddpx-supply = <&pm8953_l5>; + + status = "okay"; +}; + +&wcnss_iris { + compatible = "qcom,wcn3660b"; + + vddxo-supply = <&pm8953_l7>; + vddrfa-supply = <&pm8953_l19>; + vddpa-supply = <&pm8953_l9>; + vdddig-supply = <&pm8953_l5>; +};