Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5888003ioo; Wed, 1 Jun 2022 15:04:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvTwynEmySPzaS6PkcOgZk9P4aLQyHwjTN2/0lYic+r50c6tMKSkORr2Bpxxq7p2AsSrtL X-Received: by 2002:a65:63ce:0:b0:3c6:a186:7878 with SMTP id n14-20020a6563ce000000b003c6a1867878mr1297552pgv.374.1654121066525; Wed, 01 Jun 2022 15:04:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654121066; cv=none; d=google.com; s=arc-20160816; b=ygD98d3M9D/ulDSlY7cB4zNkjd7V4vOddhV/5h0dCMaTX4WgC6ka9IK8ITMm+ewO1q 9LqALKuU2E3dQKo/Nm61WP5TJZCOYnS5WnmJksKVHWKWiiOWiKO6vmwc4fs/G/RAM4Ht 0stqLb8XZIlOfTWK77GJe4c5aexNWbg6O5UZYusPmXKOo/niuEM1drzlRBkZfargTKTZ Qe6wJ02f9Qf/ySmzrrT3ANhtYlWAZMBp0X1VTvTfzhaaQ8eI98QwagCCGhRRRsuzaXyC MwaVI8ez5X3ZgRfOv+5ZwcuDwHqBbWYxOgWqPdKp+SIyYzkLA12HqqSdUpnBsZU5CQ1S JV+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=KdQRrKNDo19m2xpYGSP742X+VIY6LKYcB4+u45tKW1U=; b=BonTVIUjrUic9gfGlCvvEx9fG0eaQkOnMruXBj1Xd6HrRFyUCTdV2+p6lHDCIW/JmV jJ9OSEPWHTIIQP3rxcKoSDttATA5oyqlewaTXdkFgocS1ThY6PruNB+ao8gD4pusaWjz vHPd+SKVcrux9jTn+Cf0x/mzNZUqEmGLsNXm8IZ0hDG0YCkxf7aomnE3qec57RCMgcYF 85Fsn5pNgEPhTGpVCM2WCurWd54iM4kWJVClCw198iDINHU249H5gmKpTbIYUwfl5Cy0 nlDE6SVfQW6SUsw9E2NUA6c4PiDiOyByn/ll5jrNt866aTaiclK4Mu7M4HBe+ibamVzJ gvKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=AEnMo2An; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f14-20020a63de0e000000b003c6e6ccb295si3602166pgg.624.2022.06.01.15.04.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 15:04:26 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=AEnMo2An; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 358FF138909; Wed, 1 Jun 2022 14:39:36 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231699AbiFAVj3 (ORCPT + 99 others); Wed, 1 Jun 2022 17:39:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231625AbiFAVj0 (ORCPT ); Wed, 1 Jun 2022 17:39:26 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 037F9522D5; Wed, 1 Jun 2022 14:39:26 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id f9so6434529ejc.0; Wed, 01 Jun 2022 14:39:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KdQRrKNDo19m2xpYGSP742X+VIY6LKYcB4+u45tKW1U=; b=AEnMo2AndmNDxu10Z4tyH3GAQLF70+buQB/9jGPKB+m1UUvYQfR8zQJmFOCBATkSsw jfT9YtlkKaD13r+1Kr0WHR4rrEOSpfC15JVViccurKGaZGQ5E79p1FrSj5aZ8SIZzd/+ kC+wd1rDb0K0+ET34tIoH3+ca6tba9R5E+NZ62fSRs32R8LgDA7kDMcL+J7Q9bjpHw2b UTjNkZnhKqRvdgQ/ZF9u8Vn8m3MT9Q2vPZaTfqdp7rwNIn52kWN/5O/onkYOLpm1a8rk nYvsdYNB1F6nGV+J73SBnHhHigh+UEGjLHbBqWrQ/ZaQWW3RMfyg01by0P+J8L7lRbQF /Vug== 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=KdQRrKNDo19m2xpYGSP742X+VIY6LKYcB4+u45tKW1U=; b=oNuzDJCEkUFbyBJHM1fNRwCk/1J+BiEW95+rdDRfP5WZnJXA2NNDyUM/N75eu+c/cp hzP1Z7pCgZVpfoxpNZS0K0D20SJ1PBIfu+3/IXzpns++RJtRpxmJcA4qxfN1MIOh0JCn Yyydfi/IJdR7H00ElMLsRzjpqd/0HaWVEeVj9ndDLYgRXKGJKcb4GKOZIgur1yp9Gtom h5/Rb7J4CqI2SgxHRvKrtRQ03x3EJaCiXfNnKcpJ3msNF25S66EBwU0Uiu+ldFQ1HIAp SUPA83vw0l0rRwbrsI68nzowVahTkClDwZvYy1kIML2la2x6Q9dJHDJDaHn+s9I98N69 RjMg== X-Gm-Message-State: AOAM533j28BwgVml14XyiMEehiyCV3h3v47JPRndJ3VVG2lEZecJ9MQt Q/yz3XgaoD2FR0V5Q+sp1oqzfZtYGhztkjvq X-Received: by 2002:a17:907:6e29:b0:6ff:4f5d:8dc7 with SMTP id sd41-20020a1709076e2900b006ff4f5d8dc7mr1393952ejc.415.1654119564481; Wed, 01 Jun 2022 14:39:24 -0700 (PDT) Received: from localhost.localdomain ([2a02:ab88:368f:2080:5d6e:322:57b6:5f03]) by smtp.googlemail.com with ESMTPSA id a14-20020a170906368e00b006fec5cef701sm1099080ejc.197.2022.06.01.14.39.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 14:39:23 -0700 (PDT) From: David Virag Cc: phone-devel@vger.kernel.org, David Virag , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] Bring up internal eMMC on Samsung Galaxy A8 (2018) Date: Thu, 2 Jun 2022 01:37:38 +0200 Message-Id: <20220601233743.56317-1-virag.david003@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,SPOOFED_FREEMAIL_NO_RDNS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This set adds support to the internal eMMC storage found on the Samsung Galaxy A8 (2018) (jackpotlte). It seems to work reliably for reads and writes. postmarketOS is able to boot off of it. The original kernel from samsung sets pinctrl options at runtime changing pin-drv levels automatically. Without this code, mmc seems to work the best with the lv3 setting on jackpotlte. David Virag (5): dt-bindings: clock: Add bindings for Exynos7885 CMU_FSYS dt-bindings: clock: Add indices for Exynos7885 TREX clocks clk: samsung: exynos7885: Implement CMU_FSYS domain clk: samsung: exynos7885: Add TREX clocks arm64: dts: exynos: Add internal eMMC support to jackpotlte .../clock/samsung,exynos7885-clock.yaml | 27 +++ .../boot/dts/exynos/exynos7885-jackpotlte.dts | 20 ++ arch/arm64/boot/dts/exynos/exynos7885.dtsi | 32 +++ drivers/clk/samsung/clk-exynos7885.c | 207 +++++++++++++++++- include/dt-bindings/clock/exynos7885.h | 54 ++++- 5 files changed, 324 insertions(+), 16 deletions(-) -- 2.36.1