From patchwork Thu Nov 11 03:16:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dang Huynh X-Patchwork-Id: 12613975 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3DADDC433EF for ; Thu, 11 Nov 2021 03:17:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2406A61168 for ; Thu, 11 Nov 2021 03:17:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230185AbhKKDUN (ORCPT ); Wed, 10 Nov 2021 22:20:13 -0500 Received: from mx1.riseup.net ([198.252.153.129]:46376 "EHLO mx1.riseup.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231250AbhKKDUN (ORCPT ); Wed, 10 Nov 2021 22:20:13 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4HqRjH2fknzDyKY; Wed, 10 Nov 2021 19:17:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1636600643; bh=q7weaRGSgthPztUPXnx9DM/5SIOKvoJNGjgC2P/f0Qw=; h=From:To:Cc:Subject:Date:From; b=aCAkObcNNKZ6WcjbJY6jTbjUkU6ELjP2eS9H6natp3EvBPvzxAidzRJPOUn5CLZw/ G8qNjn1PLju74mW61zM54trMgjnJPKb2segmWYZt31s3EGwJ/SJhY7Utu3mgb6d1DJ 8KceChklRgaWhYTRLlDgN0RNLShVBODxN6yaV/j0= X-Riseup-User-ID: B6E460B6A3D1B58C163B91FBFF2FA9607CF0E05558C8BE54E54B6A60BB219A1D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4HqRjC6jV7z5vVT; Wed, 10 Nov 2021 19:17:19 -0800 (PST) From: Dang Huynh To: Dang Huynh Cc: Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexey Min , Caleb Connolly , Martin Botka , Konrad Dybcio Subject: [PATCH v3 0/8] Improve support for Xiaomi Redmi Note 7 Date: Thu, 11 Nov 2021 10:16:27 +0700 Message-Id: <20211111031635.3839947-1-danct12@riseup.net> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series expand the Redmi Note 7 device port to support: + Regulators + Volume keys + eMMC and SD card slot + Framebuffer display + USB Changes in v2: - Dropped linux,input-type from volume up as 1 is set by default. - Dropped gpio-key,wakeup as it's a legacy property name and is not relevant for a volume button. - Rename label cont_splash_mem to framebuffer_mem and change node name to memory. Changes in v3: - Add voltage range for vph_pwr - Move RESIN to PM660 and make PON keys disabled by default - Addressed review comments from Konrad - Make Alexey Min the author of the USB patch as he came up with the patch first on downstream. Alexey Min (1): arm64: dts: qcom: sdm660-xiaomi-lavender: Add USB Dang Huynh (7): arm64: dts: qcom: sdm630: Assign numbers to eMMC and SD arm64: dts: qcom: sdm630-pm660: Move RESIN to pm660 dtsi arm64: dts: qcom: sdm660-xiaomi-lavender: Add RPM and fixed regulators arm64: dts: qcom: sdm660-xiaomi-lavender: Add PWRKEY and RESIN arm64: dts: qcom: sdm660-xiaomi-lavender: Add volume up button arm64: dts: qcom: sdm660-xiaomi-lavender: Add eMMC and SD arm64: dts: qcom: sdm660-xiaomi-lavender: Enable Simple Framebuffer arch/arm64/boot/dts/qcom/pm660.dtsi | 12 +- .../dts/qcom/sdm630-sony-xperia-nile.dtsi | 16 +- arch/arm64/boot/dts/qcom/sdm630.dtsi | 5 + .../boot/dts/qcom/sdm660-xiaomi-lavender.dts | 383 ++++++++++++++++++ 4 files changed, 407 insertions(+), 9 deletions(-) Reviewed-by: whenever a patch is changed in a followup patchset, leaving