Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp960550lqb; Wed, 29 May 2024 16:39:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWNvryOpAHFnThxujiDFaNqvP2zHiGNFYTd+PzSqOg8oblBRGaojWMHfNn0F1fLoT5q4111xzvUan/z+y/SQfRHwhB8BgjUDD4Yochbbg== X-Google-Smtp-Source: AGHT+IELS3Hq/yjMx7HI6I517ooPKJgKGQgN0ZoiOu7P2y8vjMj2vNheVa4MOtksTPUSKUlP/U2H X-Received: by 2002:a05:6a00:4c0e:b0:702:2d79:f4f2 with SMTP id d2e1a72fcca58-7023112c640mr533799b3a.14.1717025982190; Wed, 29 May 2024 16:39:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717025982; cv=pass; d=google.com; s=arc-20160816; b=VB05AOxwxHDIgeiLg5TM/HOPm5j5KrM883mLQcwEGozRqfSZd8ji2A39DcxVYyh07b b3dzBzKJYtuicNRDdXrlHmY5iJHJi9/Lq0iv6bQjohZUuHshmJd7z4VVIemBQhQYEyRT WimhRqD1wda1OSxaZU7V+aE5UjFRvgSwCGcoeGxKs6seO/lB3dLZSoUvf/35KxVGkgE8 sWuC7Yq18bYHpNyX3lq1yM6Aauz9wPz/mPuwSgjnsGM/CceYQq1oMNTMRN5qqgIjVr+k ldds+J9r1HgSBDwYxAG+kWJCUDgVXksFDsiYe20wNRzE964VG4sGthBxgVJG0el0LYTs jCIA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=5I0b3/ox7MmhZc36+ZmYiuYZWHtorfeiNRM4b5O0zwA=; fh=/bqYJiihqaW+AJkGTxaKuQd/HpeLumH3kwriXlNg6LY=; b=U7pl8qZkT+T/GSj3RfEbGcDWr0kIg8tIJcPvM//zXq1JhCxDI7XQSI/JLfeScWqZhd Qmchog5aVm7MgYIeOoZxeory1pFa7HotQe+D6crGoQJZYQTM2UcztvkJKfXmmK/rGU2R qReGZUku/x0LhJex2mx5HTZyJmKBaRKTx9/sYSzRk7Vfp4l5yZHqc/yfdZIiBvK7bABu RonW9ChTOIkFKAKXx6wXyXOxeRFrq1j6Ymvy9J9/zdi9hPlt16gL9D+zEDVclG8F4sqx UgdEljlqRpCidhtrEaJ6BIWH8rgvdcFOx4AiuMdysJ1Ktc8Iqw812vZpJvQz4mLLoiFC L8Bw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jblloJuA; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-194785-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194785-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822a98d92bsi10931892a12.745.2024.05.29.16.39.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 16:39:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194785-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jblloJuA; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-194785-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194785-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 988E5285E5D for ; Wed, 29 May 2024 23:39:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BDF1F1CB329; Wed, 29 May 2024 23:39:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jblloJuA" Received: from mail-ed1-f66.google.com (mail-ed1-f66.google.com [209.85.208.66]) (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 3DCB317F37A for ; Wed, 29 May 2024 23:39:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717025973; cv=none; b=FqQ+ItEFzSNxRh0/X3IVOOQr+EwsyovaW5GV1nRIgjnHguZ3cTdoaJYUMStTneWsFYKIKzrfylqnVTO3ahxe7V+2AQs8zE6Pqz2RxIM4Wtiz5+9Nh1V81YulMp9gLlE2dpaHvvkkbl+bqTn5k/WbaXXIFaBW1nqFXw7/hbZiMH0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717025973; c=relaxed/simple; bh=8awMhfh+EooDyyG77D0x2IEYHXjNwY2rq0QQPZ/UDew=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=hh/oPW+ARGMLxuGi2D6u8o30O4aYcyXsSqO0VVHJKIFVsXiRxbBWCP4nw/YQBv/G6MNIUY9ytHgX89+4gBj7Keb7lBirpzePNzjXp50muBCweKDM8mr0LHmINnaJ28eiFNvUE0vDj33b4iLBaiEYGfj1BD3YLgL9S7XFYznJ7bA= 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=jblloJuA; arc=none smtp.client-ip=209.85.208.66 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 Received: by mail-ed1-f66.google.com with SMTP id 4fb4d7f45d1cf-57a1fe639a5so2777a12.1 for ; Wed, 29 May 2024 16:39:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717025970; x=1717630770; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=5I0b3/ox7MmhZc36+ZmYiuYZWHtorfeiNRM4b5O0zwA=; b=jblloJuAxELM7MD1y/mXaQ8x5rnP+1HG35PqgIc+FIBF2OB00+HRDPgOTROBQPGGRa u8wtDgj7MV8pR74MAnE13w/HNdULXZkEv2DUmx3MSndJZHptHTs2o8oRFcHYNWk6LASy 1/No2CXN/D2d5VIp7jpYfw/eAsuVIrQmH1CiRRzjf6E/56oZAWXcK0KvymRsID2n3lpq JpHW2i7SkRi0Nf+HRI5gDcCs1LG8sWvtLQvkxi8aLD3gOWYT0F5KtZyinUEzl2UEPGoR KdfjW5XpH+QP1FZYzNWKG2wHH4m4ZIpbMdldvVZyIM3cZVs9NAksnENzlMLeLBoAYG2m nxLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717025970; x=1717630770; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5I0b3/ox7MmhZc36+ZmYiuYZWHtorfeiNRM4b5O0zwA=; b=UyrPR5m1Ju7vmYVFFTMJddwT8FppayVMtoLAVC6e5siBxtyyyH2YQEbHRI1gODLy6k yt3GLKzNM+kQPDw0TDMThd6l6XqKrCawV1GYy4Aqp5sJPp/puBQIanjMLrNL71ZHxRz9 Uk8+cvJS3uQVm9o+mcQUYQ+kNJZ2UgCOMVrYDQrnQeGFsOR0OIqhsYTdfcG7zPIsjXU9 dPXeYn8GPG32k1wp+QIz8Eu19lu3oC4YXai6VyMI+IBmW3MEsnySItAef0+hJulm1ZOs +sxyDQ9/GnlQR9ZSbUBWdMF7ugMkCxka7v8ox8vXJB7XbNUo+Mj/wj/u20x2yeDK2mu6 7ELQ== X-Forwarded-Encrypted: i=1; AJvYcCUxqH2Id1zG75gG08syrMxWQIextWXo8OuXInqhjsssC+D+Xv/1aZuIvXrihl1jP2BbGqfwbZJmNV6WeaoEJf1b8v5gG5y+t8a7mzVW X-Gm-Message-State: AOJu0YwvWYGuSYazZ+sp9sVD0O8+avh4EJivRPKfWvPJxjcAdUlNiPYC Px04WE+lClQHtXF1XVVJGgl1kfDP7HKnfc4kWSAVOBK/ujuy4/viDx/QVAf19Yc= X-Received: by 2002:a50:99d9:0:b0:56c:5990:813e with SMTP id 4fb4d7f45d1cf-57a17810a3fmr295520a12.13.1717025970576; Wed, 29 May 2024 16:39:30 -0700 (PDT) Received: from [192.168.0.113] ([2a02:8109:aa0d:be00::8bb3]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-579cec28c0dsm5129759a12.66.2024.05.29.16.39.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 16:39:30 -0700 (PDT) From: Caleb Connolly Subject: [PATCH v3 0/2] qcom: initial support for the SHIFTphone 8 Date: Thu, 30 May 2024 01:39:15 +0200 Message-Id: <20240530-otter-bringup-v3-0-79e7a28c1b08@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAKO8V2YC/13MSwrCMBSF4a2UjI3kYZvoyH2IgzRJ2wuSlJsal NK9mxYE7fAc+L+ZJI/gE7lUM0GfIUEMZchDRexgQu8puLKJYOLEaqZonCaPtEUI/XOkUmvbSWO UNTUpzYi+g9fm3e5lD5CmiO+Nz3x9v5LeSZlTRq1mykl3lrxrrg8IBuMxYk9WKoufXLB9LkruF FeOO9M2rf7Ll2X5AHOkgljqAAAA To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Alexander Martinz , Luca Weiss , ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Caleb Connolly , Krzysztof Kozlowski X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1621; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=8awMhfh+EooDyyG77D0x2IEYHXjNwY2rq0QQPZ/UDew=; b=owEBbQKS/ZANAwAIAQWDMSsZX2S2AcsmYgBmV7yxWiRQhSsrmJ0BAw0120AomnwdJOuQKxX/1 zxBIFpz2POJAjMEAAEIAB0WIQS2UaFGPGq+0GkMVc0FgzErGV9ktgUCZle8sQAKCRAFgzErGV9k tp87D/9VMtaFrW/ML/Yj0lsX+PpDo1F2FhW9EDV5+fQUbA5BXlPXFAi/xAaRdB9ZMucC9/iWdut TkRYMN3JjXq4qCG9xqPPDJya8DnMO0R+NLwhxPQz5MdEmJnbQgO3toqSiatjbKxum/Az/JD25dt johWicLWRlBnzja/B8oDrFrN2WflV/eSZbOpkiAWVLCELOZFNq2Lq4RBbg9a9aNjDwheaA9P5ZH u3JV++irmz+UvpXpKeTSNkqrzCeYd4lSn4v7DPbXMByb/ushbc+3M/CPcwwijYJgFwfWXu82zz6 5zG469CWq4sVlRtF4R9coOoSIY44bEDmqCtkKQTJrOMjB8nTRFATGVZoqtHFHwz4jxDzKbOPemw 22qz1bEcvz5EZ/Fb1pXRIPtvHV5+14wl8cfhFFBFniTeuDexFhfiBUA4pOcJgBJ+W2qhVTOyNLR lOSyKCRh6oVdWb2eJBwHg2FZDQOTSdvwiPIpc63L1DGXiXvlBhPAAxceUmdcum+J44GNyIz/pJT HKNUikUmtFe04uOcLb39zFS7dd2SEA8Vn0vyjeMXCwC5zQqQqWX3jwMgv613DIepBBb9hZRpBGY 2LiuRUoNGOVuGpokX76S4ngUW1lOB76eiWxmiFdb/DdffnJieECoKO4kbLWgd/5C6fZXpaj+IiV +LA5nBMR1K8qFZw== X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 The SHIFTphone 8 is an upcoming QCM6490 smartphone, it has the following features: * 12GB of RAM, 512GB UFS storage * 1080p display. * Hardware kill switches for cameras and microphones * UART access via type-c SBU pins (enabled by an internal switch) Initial support includes: * Framebuffer display * UFS and sdcard storage * Battery monitoring and USB role switching via pmic glink * Bluetooth * Thermals Wifi works but requires some commits to be reverted to prevent a firmware crash. The serial port on the device can be accessed via the usb-cereal adapter, it must first be enabled by flipping the switch under the display. Additional info can be found on the postmarketOS wiki page. https://wiki.postmarketos.org/wiki/SHIFT_SHIFTphone_8_(shift-otter) --- Changes in v3: - Enable wifi - Fix protected-clocks indentation in gcc - Link to v2: https://lore.kernel.org/r/20240520-otter-bringup-v2-0-d717d1dab6b8@linaro.org Changes in v2: - Fix authorship - Address Luca's feedback - Link to v1: https://lore.kernel.org/r/20240508-otter-bringup-v1-0-c807d3d931f6@linaro.org --- Caleb Connolly (2): dt-bindings: arm: qcom: Add QCM6490 SHIFTphone 8 arm64: dts: qcom: add QCM6490 SHIFTphone 8 Documentation/devicetree/bindings/arm/qcom.yaml | 1 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts | 926 +++++++++++++++++++++++ 3 files changed, 928 insertions(+) --- change-id: 20240507-otter-bringup-388cf3aa7ca5 base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 // Caleb (they/them)