From patchwork Fri Mar 26 14:58:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Dudziak X-Patchwork-Id: 12166959 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64414C433E2 for ; Fri, 26 Mar 2021 14:59:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3D2D061A36 for ; Fri, 26 Mar 2021 14:59:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230227AbhCZO7F (ORCPT ); Fri, 26 Mar 2021 10:59:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230051AbhCZO6w (ORCPT ); Fri, 26 Mar 2021 10:58:52 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D5A3C0613B1 for ; Fri, 26 Mar 2021 07:58:51 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id z8so7664179ljm.12 for ; Fri, 26 Mar 2021 07:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snejp.pl; s=gmail; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ro62SIlTr46CZwtgL4vPrPHqs2jlXt7ltUw/pHWUPVg=; b=pwlyfkIfdIXjNs16JX17azCcI5JHCrbEJYegYaLU8/FjRmV+JtpW1B+wDBrYztItDx BsHPmXvhHMS+YUsGLvUOidjz7GopbH2Up9Me9eTFCwDzKsWnfIOZ3nKZ4zKwe7cg3mIO 1ksmwZ9NLXyiZYg+ZQvb9BBudODNP+WaBv7tDJZFHrBX5wF7cautqNz2GLoKicf75Xup N7xqBb79UYyOlYkagmSAglf1XZVbfgxYjPOxdERqtyyDZOIr1s35IjqbtL+XAzcSEke5 +UkPiTP1tk+KUDd+S3Ic3CKuEsbVM9sA/OzRc6xGVEQX4TpW0gn6ff8u6Z2ldjcjfwLK tjqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ro62SIlTr46CZwtgL4vPrPHqs2jlXt7ltUw/pHWUPVg=; b=X0nzIdh5CZC6oPhiksFl7eDsIXLJ3J8ijJQvqXLjTRYAUJS5Ebl+2cpFCo4X3CjC+V GutfhjSf7F4Ogjc/8JV8jeIBXyOhPLX9mL9Ug8xNp5xLFq6keeJhVnj1bnkuR+NAPW6s ZVDwVazovgDih0CsMd2INEHxxL+SBAIhxYYgStrr6W0klOHB/WPmQtzjamszeYBQMuwS kCb2X6bTESFHQ/9ykAWwMAmdYTTjkX/6wfXq2N01oVlJizyrJB10IZtYnvtMhuQzrXbC 27UmyaSnPviKvvyV4h970uNvf7ytRYpdC2DNg08ZkhDqOVIAXYgapDzdxoGmqMpHQUh2 2xow== X-Gm-Message-State: AOAM531bzPkO4VByo6hSc6XBEm9sXAwnM4Ev5xfP656W6PPWKNbt3QP5 1++FQO65SpuQIOpJS9lASvJbgg== X-Google-Smtp-Source: ABdhPJz18+GKnZeCIm3xWeh70XGDQm/Ehx3OsY6KvuOLEV9PeV9ApKF9yFytSFUdCcHXHvZataq2mg== X-Received: by 2002:a2e:a487:: with SMTP id h7mr9071922lji.447.1616770729903; Fri, 26 Mar 2021 07:58:49 -0700 (PDT) Received: from PackardBell ([82.160.139.10]) by smtp.googlemail.com with ESMTPSA id k2sm893382lfm.174.2021.03.26.07.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 07:58:49 -0700 (PDT) Received: from localhost (PackardBell [local]) by PackardBell (OpenSMTPD) with ESMTPA id ec223c69; Fri, 26 Mar 2021 14:58:48 +0000 (UTC) From: Bartosz Dudziak To: Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Bartosz Dudziak Subject: [PATCH 0/5] Samsung Galaxy S III Neo Initial DTS Date: Fri, 26 Mar 2021 15:58:11 +0100 Message-Id: <20210326145816.9758-1-bartosz.dudziak@snejp.pl> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series of patches enables to boot MSM8226 SoC in Samsung Galaxy S III Neo mobile phone. Implemented clocks are on top of MSM8974 GCC driver because there is really little difference between them. UART serial communication is working. I have working patches for the regulators, EMMC, multithreading and Wifi for this device but they are not clean and ready to submit. Bartosz Dudziak (5): dt-bindings: clock: qcom: Add MSM8226 GCC clock bindings clk: qcom: gcc: Add support for Global Clock controller found on MSM8226 arm: dts: qcom: Add support for MSM8226 SoC dt-bindings: arm: qcom: Document MSM8226 SoC binding arm: dts: qcom: Add initial DTS file for Samsung Galaxy S III Neo phone .../devicetree/bindings/arm/qcom.yaml | 6 + .../devicetree/bindings/clock/qcom,gcc.yaml | 13 +- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/qcom-msm8226-samsung-s3ve3g.dts | 25 +++ arch/arm/boot/dts/qcom-msm8226.dtsi | 152 ++++++++++++++ drivers/clk/qcom/gcc-msm8974.c | 185 ++++++++++++++++-- 6 files changed, 364 insertions(+), 18 deletions(-) create mode 100644 arch/arm/boot/dts/qcom-msm8226-samsung-s3ve3g.dts create mode 100644 arch/arm/boot/dts/qcom-msm8226.dtsi