Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2103687imd; Fri, 2 Nov 2018 06:08:26 -0700 (PDT) X-Google-Smtp-Source: AJdET5dMIn1xwbr87TSoR1isMmj0iQM/vmFUrhtZzpkRWwqS6jjZI0PEWBB0etMKO9fC0qYL1zu6 X-Received: by 2002:a62:7701:: with SMTP id s1-v6mr11969696pfc.159.1541164106605; Fri, 02 Nov 2018 06:08:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541164106; cv=none; d=google.com; s=arc-20160816; b=LOWKjIkPnqDc95PFFIHBk65s+0Bv6NY28tTn707wEjBD3dFYpQEqofLyaOkYZQ/ppv YieLoOmoLQeGxyxf/UZSMncGfK6dkYyuzVEuEXsTkH/vmu8m52GOZaLjjqzbZ9to4bIZ ZXl408h2E/Uls3RSPXUSaUSWlaf2ct9OrqxzX3thvgoc3u8bjx5VL3rCCuBO7/OtR/0q aLnm/GLAEMUClvJ8yUluPueAIACCd2leqzRvVvHtaT2Qk+96GKyRaFstGduDgPsvxn/t heHfFNhqJMIDHuGOPBHD/CJPpVBI2D08xcZWDSumOSTrOLrRXiFebNo9Odj+eLMVGknX /2Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=cHE3B9mtOR8PbpfiQvYBO+fwkN4qt2SpdjzD+aBqjVk=; b=RpOgyLV5kB68dmuYlotXQ75ZIWwDRRQUy4zi+2UFMigNB3AhN9g/5sdxyUQ1QfjpWa xZDwp2wK/qrO0PpdWH/dpeoQ2Hcot4XCMCOej0mIVJC4HlsMzcmSnuBCN4TN7jnKv1hA Hwy8bIeEmBC23/srjgf43+pAHoJqw0IwJElKRpphARZlBo9OWQTiM4eMFK7/9sYh+8DQ pZiyHW0vWT5ucrvT4gVteMJPpAbL25VbXjkYmZUFEEYGexmJ0MZ7yTRBZooqaeFHEZl9 CmCtDzkhd4wPzybSHiJ8kmHHAPRQucnu0nYrmrMUCq500pM2aYqkhLlUUxI6MOtsp2BN 6TEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=seR4in71; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h184-v6si36875520pfb.146.2018.11.02.06.08.10; Fri, 02 Nov 2018 06:08:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=seR4in71; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727645AbeKBWMZ (ORCPT + 99 others); Fri, 2 Nov 2018 18:12:25 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51314 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbeKBWMY (ORCPT ); Fri, 2 Nov 2018 18:12:24 -0400 Received: by mail-wm1-f65.google.com with SMTP id w7-v6so1937203wmc.1 for ; Fri, 02 Nov 2018 06:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=cHE3B9mtOR8PbpfiQvYBO+fwkN4qt2SpdjzD+aBqjVk=; b=seR4in71bzLCJMlCTmLaD4vpb4UbZMO/JB2dUD3iuvMA2xdaxx7B2sYahHRA16r+Fr ZYgzaEJWlkYOvQknQ3Myftff4FA9i7gGG7J9J0OOAwTzFtQKU6p9bVNyQlF20CCdjI6z LA3I/qf5TCa/E1wnWjWkdZQTk1N4PD3LGyL4PymBgvBG1lhsCxIRXdsYZTfEgw1wd9U5 TvFOYC983J2OWvRG/Y17i/mE7YaUw+YFedT00KOZJHSjvZ03ZVVHoTnxdmGAeCX8KZYW mrDUzfbY6eTYcPSoSPFYJmUmHA24JYDZsG7DEHeo1951ErVKpr5E2c8wLUNGuaH4pJHg tBvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=cHE3B9mtOR8PbpfiQvYBO+fwkN4qt2SpdjzD+aBqjVk=; b=KxbwHDuEP3crMAW9G+n5WE0yZ9HYVlCmPi8LG8b5Wy/so1oQ+yMxXNf/bO0/kezlzb wiKlwmHvfDmsW19O013YjFlKN/4Nfhm0xzUylXK+FsJitRCCyJnvYmhxHWVvs+vLCnnr R7ljp+BmXe1ObeUiQjbMzvhqM3gauyexcmEoR7Sp/HLUjILKNSwYVlWj1ZUYSkGjWbfU 4NXccnOplD4wYnwq0plJnSTPBzzLVLibueF1BMh2E7hDN3DPurWmsYNakA7/CUbCDYk6 JvZCcex2MOeNK1E3Px1z3tjoUBuncB+z7g6oYfHGDW5cHPuPg/5hAiB1WMK9aEv7oM4n MIrw== X-Gm-Message-State: AGRZ1gL8RTUMu5CkWtoOgyppIrynMYkikLVGO8IotQVLmGEkX7Q4QxRG 08lDoUhjNdbBQQKkSq4y4N9EQA== X-Received: by 2002:a1c:c4f:: with SMTP id 76-v6mr733307wmm.6.1541163916868; Fri, 02 Nov 2018 06:05:16 -0700 (PDT) Received: from boomer.baylibre.com ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id b127-v6sm6306838wme.43.2018.11.02.06.05.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 Nov 2018 06:05:15 -0700 (PDT) Message-ID: Subject: Re: [PATCH v6 3/3] clk: meson: add sub MMC clock controller driver From: jbrunet@baylibre.com To: Jianxin Pan , Neil Armstrong Cc: Yixun Lan , Kevin Hilman , Carlo Caione , Michael Turquette , Stephen Boyd , Rob Herring , Miquel Raynal , Boris Brezillon , Martin Blumenstingl , Liang Yang , Jian Hu , Qiufang Dai , Hanjie Lin , Victor Wan , linux-clk@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Fri, 02 Nov 2018 14:05:14 +0100 In-Reply-To: <1541089855-19356-4-git-send-email-jianxin.pan@amlogic.com> References: <1541089855-19356-1-git-send-email-jianxin.pan@amlogic.com> <1541089855-19356-4-git-send-email-jianxin.pan@amlogic.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.1 (3.30.1-1.fc29) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-11-02 at 00:30 +0800, Jianxin Pan wrote: > +struct meson_sclk_div_data mmc_clkc_div_data = { > + .div = { > + .reg_off = SD_EMMC_CLOCK, > + .shift = (0), > + .width = (6), > + }, > + .hi = { > + .reg_off = 0, > + .shift = 0, > + .width = 0, > + }, > +}; Jianxin, When replying to v5: https://patchwork.kernel.org/patch/10646723/#22288117 I think I have clearly explained that: a. sclk needs some change you want to use it for the eMMC (not done ) b. you can't declare sclk statically like that since there is cached data in it and this would forbib multiple instance of the controller which is not acceptable for this pariticular controller This is just not adressed in your series. Also some comments from Martin about useless definition were already given on past version. Seeing this, I did not review the rest of series. Please make sure you have addressed all the comments of past reviews before reposting. It is OK to ask questions if things are unclear. Jerome