From patchwork Mon Jul 4 12:58:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 587129 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:1ec:0:0:0:0 with SMTP id 12csp803250map; Mon, 4 Jul 2022 05:59:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tAJ7RSY8ABVyjgCVoI2jC5pXNloen8X1PJ3Pcvy5Ci3CgcTIQeeYAWAkBFMyZpjsspDVl+ X-Received: by 2002:a2e:b891:0:b0:25a:9175:3282 with SMTP id r17-20020a2eb891000000b0025a91753282mr16905136ljp.78.1656939550835; Mon, 04 Jul 2022 05:59:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656939550; cv=none; d=google.com; s=arc-20160816; b=C1ylpBNBKR1Glr0A4gA2nhr5YW2fr8oHAY2NQyFX+uxDdfyuNxFT4riTY1+9mXpLd4 GGKsncKQQgb9dflJZfi5OKA1tS7jTOtoANEk4opZANC63g86aCvC8sKTK8V2fOJ1G7C3 RVyseXHFfz7CDkWaGyR4aPyt3l/49TMzsXzXXXKYztRqW5zoh1i4NYzygbazXQfKqRWF J716eNaQJx2dVFhMeGQwnwXpfere1joCiC0+JpIwVFWhzw73R6gRIKJ/kQUYQ7BaHsxh n59UHzevxX2Fwlo3HiWD9x8Ezl+HNKbKkKvCVGoxkCad+te3Nb1pNahl/J+7K4RzCiA3 T5xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=88cnn/BNcjo7moow6BNU15MuGIlZq0C1+YlDg2M29zA=; b=fv23IxpkpTjFYgthJH13OSCUiuaA2CdguyUR7EbFyg+4P5TbDfckmDC2eQ0rUH551x 4hHTCgEhYQWyzKlHpDoxrWqaJpwIWFUsm2pnTSvfei38Jx2OwBkUqPgmkWSm/AqJlHVb 7vSIzuNGysJGViFRJmrz/sarI6uMz41D7h7NtgQ3hriQHFjT3ZKilYSI3dSomlsXYO78 syAESEJ4UWNi1a6ritbPZG/5iqF1mi1Z9TY/606OXo4F8j0XbooCHfP1ronkhxQeGbzF 3yzB0JYPKsEpezEGDpEMLBsPBnZCeLYqAlZYl3BP8BGVzdJS+wbyw9KWqekdk2l0b7iO 0Vig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QeAXrFkt; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id r16-20020a2eb890000000b0025bcf92b67bsi21764811ljp.256.2022.07.04.05.59.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 05:59:10 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QeAXrFkt; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 617DB843C1; Mon, 4 Jul 2022 14:59:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="QeAXrFkt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3E0A383F2F; Mon, 4 Jul 2022 14:59:07 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D828C843C1 for ; Mon, 4 Jul 2022 14:59:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sumit.garg@linaro.org Received: by mail-pj1-x1034.google.com with SMTP id o5-20020a17090a3d4500b001ef76490983so5014200pjf.2 for ; Mon, 04 Jul 2022 05:59:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=88cnn/BNcjo7moow6BNU15MuGIlZq0C1+YlDg2M29zA=; b=QeAXrFkt8IWDmvSgBALVrbrpww4utiP2Y6VZlc/1zMvCMZNRShlU9gHzOOdyxhqMuV L3VrJTkE+hz+/N1ZepgoMZ3sXkg7FQIMLlNd++b3X8ONKAsgmqFyE48A8/peNCjosaZg HASvbGH9EixOZ7mchTLkEiW1/URNBrh9IaB5NYFlD1xxAg9Hd7xhw1HArCkc+ra4CYKC mHqTGCjdvZBHd9EhgTxKw1CTJF1w8kcII1+FMJeVOwCv5TLMJ9+azxpGmB/wxXNkmQj1 TwDt2kYwheo2D0D8QNK78VGcTf1XuwPAp0m4XLd65JG9r8Y5+wqcmh9uwLjftDs7xvyc 7nPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=88cnn/BNcjo7moow6BNU15MuGIlZq0C1+YlDg2M29zA=; b=I7ycwjQSTsIkTh4kQIuPTrllkuKW1rsfhM50+dZd2I56UFK+bLti+DDT5RDPKJ2ame yaA7jzf5DXRTacKyP4YUjPzNyDvfWWgWgPjqIIdo2bi+XkqK8fHI4k54eT7fPLJn5yty d9CbnVvCYPrPJVICO8yCVjU5iyKCVJjd1eO1PYEPxUZWmu3LTRa4E8PTjsxI35kCOnJr 5DXmxKxDIsU0BzyVyLMcqLt+0qGzFSehU6HGTKuAnZvZ337MkH55BR+MTowrm5+agwgx 5L4i9OMaYkj8HgbiMHShbAGZ2FOcFjq1tkPe+ttiaGH0RPpXTSjDDScCGOJ72eoNi4BR KKcg== X-Gm-Message-State: AJIora+slgqXU8Wlft9W5Zsgw838npInuPnLGvrzqRBkeJGw7Y9QiprO ScTiFjFbIg/XY7aC1CKp+adbvzawRdCx4A== X-Received: by 2002:a17:90b:3b81:b0:1ed:3655:d0c8 with SMTP id pc1-20020a17090b3b8100b001ed3655d0c8mr37430628pjb.56.1656939541871; Mon, 04 Jul 2022 05:59:01 -0700 (PDT) Received: from localhost.localdomain ([182.77.21.191]) by smtp.gmail.com with ESMTPSA id x20-20020a170902b41400b001676dac529asm21047544plr.146.2022.07.04.05.58.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 05:59:01 -0700 (PDT) From: Sumit Garg To: u-boot@lists.denx.de Cc: rfried.dev@gmail.com, peng.fan@nxp.com, jh80.chung@samsung.com, sjg@chromium.org, trini@konsulko.com, dsankouski@gmail.com, stephan@gerhold.net, vinod.koul@linaro.org, nicolas.dechesne@linaro.org, mworsfold@impinj.com, daniel.thompson@linaro.org, Sumit Garg Subject: [PATCH 0/8] New boards support: db845c and qcs404-evb Date: Mon, 4 Jul 2022 18:28:37 +0530 Message-Id: <20220704125845.1077037-1-sumit.garg@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Add support for two new boards db845c and qcs404-evb: - db845c is a 96boards compliant platform aka RB3 based on Qualcomm SDM845 SoC. - qcs404-evb is an evaluation board from Qualcomm based on QCS404 SoC. Both these platforms have one thing in common that u-boot is chain-loaded in 64-bit mode via Android Boot Loader (ABL) which is an EFI application. Sumit Garg (8): arm64: dts: sdm845: Remove redundant u-boot DT properties clocks: sdm845: Import qcom,gcc-sdm845.h uart: sdm845: Fix debug UART pinmux board: qualcomm: Add support for dragonboard845c mmc: msm_sdhci: Add SDCC version 5.0.0 support pinctrl: qcom: Add pinctrl driver for QCS404 SoC clocks: qcom: Add clock driver for QCS404 SoC board: qualcomm: Add support for QCS404 EVB arch/arm/dts/Makefile | 1 + arch/arm/dts/dragonboard845c-uboot.dtsi | 37 +++ arch/arm/dts/dragonboard845c.dts | 44 ++++ arch/arm/dts/qcs404-evb-uboot.dtsi | 24 ++ arch/arm/dts/qcs404-evb.dts | 81 ++++++ arch/arm/dts/sdm845.dtsi | 8 +- arch/arm/mach-snapdragon/Kconfig | 25 ++ arch/arm/mach-snapdragon/Makefile | 3 + arch/arm/mach-snapdragon/clock-qcs404.c | 30 +++ arch/arm/mach-snapdragon/clock-sdm845.c | 3 +- arch/arm/mach-snapdragon/clock-snapdragon.c | 1 + .../include/mach/sysmap-qcs404.h | 13 + arch/arm/mach-snapdragon/pinctrl-qcs404.c | 55 ++++ arch/arm/mach-snapdragon/pinctrl-snapdragon.c | 1 + arch/arm/mach-snapdragon/pinctrl-snapdragon.h | 1 + arch/arm/mach-snapdragon/sysmap-qcs404.c | 31 +++ board/qualcomm/dragonboard845c/Kconfig | 12 + board/qualcomm/dragonboard845c/MAINTAINERS | 6 + board/qualcomm/dragonboard845c/Makefile | 9 + board/qualcomm/dragonboard845c/db845c.its | 63 +++++ .../dragonboard845c/dragonboard845c.c | 9 + board/qualcomm/qcs404-evb/Kconfig | 15 ++ board/qualcomm/qcs404-evb/MAINTAINERS | 6 + board/qualcomm/qcs404-evb/Makefile | 6 + board/qualcomm/qcs404-evb/qcs404-evb.c | 33 +++ board/qualcomm/qcs404-evb/qcs404-evb.its | 64 +++++ configs/dragonboard845c_defconfig | 28 ++ configs/qcs404evb_defconfig | 39 +++ doc/board/qualcomm/index.rst | 1 + doc/board/qualcomm/qcs404.rst | 79 ++++++ doc/board/qualcomm/sdm845.rst | 100 ++++++- drivers/mmc/msm_sdhci.c | 96 ++++--- include/configs/dragonboard845c.h | 28 ++ include/configs/qcs404-evb.h | 27 ++ include/dt-bindings/clock/qcom,gcc-qcs404.h | 180 +++++++++++++ include/dt-bindings/clock/qcom,gcc-sdm845.h | 246 ++++++++++++++++++ 36 files changed, 1354 insertions(+), 51 deletions(-) create mode 100644 arch/arm/dts/dragonboard845c-uboot.dtsi create mode 100644 arch/arm/dts/dragonboard845c.dts create mode 100644 arch/arm/dts/qcs404-evb-uboot.dtsi create mode 100644 arch/arm/dts/qcs404-evb.dts create mode 100644 arch/arm/mach-snapdragon/clock-qcs404.c create mode 100644 arch/arm/mach-snapdragon/include/mach/sysmap-qcs404.h create mode 100644 arch/arm/mach-snapdragon/pinctrl-qcs404.c create mode 100644 arch/arm/mach-snapdragon/sysmap-qcs404.c create mode 100644 board/qualcomm/dragonboard845c/Kconfig create mode 100644 board/qualcomm/dragonboard845c/MAINTAINERS create mode 100644 board/qualcomm/dragonboard845c/Makefile create mode 100644 board/qualcomm/dragonboard845c/db845c.its create mode 100644 board/qualcomm/dragonboard845c/dragonboard845c.c create mode 100644 board/qualcomm/qcs404-evb/Kconfig create mode 100644 board/qualcomm/qcs404-evb/MAINTAINERS create mode 100644 board/qualcomm/qcs404-evb/Makefile create mode 100644 board/qualcomm/qcs404-evb/qcs404-evb.c create mode 100644 board/qualcomm/qcs404-evb/qcs404-evb.its create mode 100644 configs/dragonboard845c_defconfig create mode 100644 configs/qcs404evb_defconfig create mode 100644 doc/board/qualcomm/qcs404.rst create mode 100644 include/configs/dragonboard845c.h create mode 100644 include/configs/qcs404-evb.h create mode 100644 include/dt-bindings/clock/qcom,gcc-qcs404.h create mode 100644 include/dt-bindings/clock/qcom,gcc-sdm845.h